flash video dynamic width and height change in Action Script 3.0
- by coderex
hi
I have a video player and the video file came from one xml file,
The videos are in different dimension so how can i set the video dimension dynamically?
_vid = new Video();
_vid.attachNetStream(_vidStream);
How can i give the new dimension of the video, the default i get is
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/media/Video.html
Video(width:int = 320, height:int = 240)
Creates a new Video instance.
I need the height and width of the video,
How