//Zoom MovieClip using Tween in AS 3.0
import fl.transitions.Tween;
import fl.transitions.easing.*;
var _time_duration:Number=2;
var _startX:Number=mc.scaleX;
var _startY:Number=mc.scaleY;
var _zoomX:Number=_startX+3;
var _zoomY:Number=_startY+3;
var __zoomX = new Tween(mc,"scaleX",Regular.easeOut,_startX,_zoomX,_time_duration,true);
var __zoomY = new Tween(mc,"scaleY",Regular.easeOut,_startX,_zoomY,_time_duration,true);
Thursday, December 17, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment