flash video dynamic width and height change in Action Script 3.0
Posted
by coderex
on Stack Overflow
See other posts from Stack Overflow
or by coderex
Published on 2010-04-16T10:46:30Z
Indexed on
2010/04/16
10:53 UTC
Read the original article
Hit count: 175
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>
© Stack Overflow or respective owner