FLASH - fill stage
FLASH - fill stage
Out of context: Reply #1
- Started
- Last post
- 10 Responses
- ********0
Try getting your scaling value into variables first before resizing anything.
movieXScale = Stage.width / mc_x._width;
movieYScale = Stage.height / mc_x._height;
if (movieXScale >= movieYScale){
mc_x.width = mc_x.width * movieXScale
mc_x.height = mc_x.height * movieXScale
else{
mc_x.width = mc_x.width * movieYScale
mc_x.height = mc_x.height * movieYScale
}