3 Replies Latest reply on May 28, 2009 5:15 PM by kglad

    How do you set the size of a FLV playback component?

    nny462

      Here is my code that plays the video:

       

      import fl.video.*;

      var myVideo:FLVPlayback = new FLVPlayback();
      myVideo.source = "video.flv";
      }

      addChild(myVideo);

       

       

      How to I set the size of the video? I have tried "myVideo.videoWidth = 400;" but that gives me an error.

       

      Thanks!