A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: play video

  1. #1
    Senior Member
    Join Date
    Aug 2006

    play video

    I want to create a swf file to embed on a webpage. I want the swf to play a video at runtime (passed as a parameter). Can this be done ?

    I tried this without success in a FLV object

    var vid:NetConnection = new NetConnection();
    var vidstr:NetStream= NetStream(vid);

    var dur:Number =0;

    vidstr.onMetaData = function(oMData:Object ):Void {

  2. #2
    Senior Member
    Join Date
    Aug 2006
    I can play a video as I loaded a component instead of new vid from library.

    How do you set controls/size of video/pass the video name as a parameter?
    I am looking but if anyone knows of good tutorial .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.