the same ratio width/height of application
How can I make an application with the same ratio width/height? I have an application with width = 80开发者_如何学编程0 height = 600. Its width = 1.33*height and when I change the width to 1024 I want the height to change to 768 automatically.
Do you mean your swf change it´s size? you would need swffit to do it.
if you want to change your content on your movie, you have to calculate the ratio, more or less like this:
ratio = width/height; newHeight = newWidth/ratio; and vice-versa for the width…
精彩评论