开发者

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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜