thanks for your support carl.
hmmm, i tried this also, but it won't execute the function also:
function zoomOut (full_mc):void {
var sw = stage.stageWidth;
var sh = stage.stageHeight;
full_mc.buttonMode = false;
full_mc.removeEventListener(MouseEvent.MOUSE_MOVE, panning);
TweenMax.to(full_mc, 1.5, {transformAroundCenter:{x:sw/2, y:sh/2, ease:Expo.easeOut, scale:zoomFactor-=0.25, onComplete:onFinishTween}});
trace(zoomFactor);
}
function onFinishTween():void {
full_mc.addEventListener(MouseEvent.MOUSE_MOVE, panning);
trace(isPanning);
}
i don't know what's wrong with this...
what i wanno do is disable the panning while zooming is on.
thanks anyway !