play video
i want create swf file embed on webpage. want swf play video @ runtime (passed parameter). can done ?
i tried without success in flv object
var vid:netconnection = new netconnection();
vid.connect(null);
var vidstr:netstream= netstream(vid);
vidstr.play("fire.flv");
vflv.attachvideo(vidstr);
var dur:number =0;
vidstr.onmetadata = function(omdata:object ):void {
dur=omdata.duration;
};
i tried without success in flv object
var vid:netconnection = new netconnection();
vid.connect(null);
var vidstr:netstream= netstream(vid);
vidstr.play("fire.flv");
vflv.attachvideo(vidstr);
var dur:number =0;
vidstr.onmetadata = function(omdata:object ):void {
dur=omdata.duration;
};
i can play video loaded component instead of new vid library.
how set controls/size of video/pass video name parameter?
i looking if knows of tutorial .
how set controls/size of video/pass video name parameter?
i looking if knows of tutorial .
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment