Hello
I am trying to scale down an swf file without destroying the pixels or reshaping it greatly.
One way to do this is using the scaleX and scaleY property. So if you want to scale down an swf file by half you can do this
[COLOR=#ff0000]swf[/COLOR].scaleX = 0.5;
[COLOR=#ff0000]swf[/COLOR].scaleY = 0.5;
Now my problem has come down to mathematics which to be very honest I am really crap at.
I have a container sprite whose dimension are 425 * 300. So if my swf movie is 550 * 400 I can simply subtract these like 550-425 for width and similarl for height, but the problem is I dont know how to represent that value bw 0 and 1 as scaleX and scaleY only takes values bw 0 and 1.
I hope I am making sense here
Thanks in advance.