how to maintain aspect ratio in flash as3 video
I have created a flash video player using as3 (videoObject) but when I play the video the video is streched how to开发者_开发百科 tell flash using as3 to maintain aspect ratio.
Can you use:
myVideo.scaleMode = "maintainAspectRatio";
Well, if you're putting it up online, you could always use HTML to do so:
Flash will do this for you, automatically, if you publish your file (File -> publish
).
精彩评论