I would like to know how to make the stuff being "resized" elastic while being "resized".
This is the code.
Now how do I make the mc's being resized have an elastic tween while being "resized"?Code:import fl.transitions.Tween; //this is for the tweens in resizer import fl.transitions.TweenEvent; //this is for the tweens in resizer import fl.transitions.easing.*; //this is for the tweens in resizer import flash.display.StageAlign; import flash.display.StageScaleMode; import flash.events.Event; function resizeHandler(e:Event):void { fermez.x = fermez.stage.stageWidth - fermez.width - 30; fermez.y = fermez.stage.stageHeight - fermez.stage.stageHeight + 30; MP3_Player_BG.x = stage.stageWidth - stage.stageWidth + 30; MP3_Player_BG.y = MP3_Player_BG.stage.stageHeight - MP3_Player_BG.height; MP3_Player.x = stage.stageWidth - stage.stageWidth + 30; MP3_Player.y = MP3_Player.stage.stageHeight - 20; } stage.align = StageAlign.TOP_LEFT; stage.scaleMode = StageScaleMode.NO_SCALE; stage.addEventListener(Event.RESIZE, resizeHandler); stage.dispatchEvent(new Event(Event.RESIZE));




Reply With Quote
