-
Noob Question
I used this code on the main stage and it works, yet I get some redundent tween error:
import fl.transitions.Tween;
import fl.transitions.easing.*;
redboxWhole_mc.addEventListener(MouseEvent.CLICK, redboxZoom);
redboxWhole_mc.buttonMode = true;
function redboxZoom(event:MouseEvent):void{
var jinsTween:Tween = new Tween(redboxWhole_mc, 'scaleX', Strong.easeOut, 1, 5.6, .5, true);
var jinsTween:Tween = new Tween(redboxWhole_mc, 'scaleY', Strong.easeOut, 1, 5.4, .5, true);
var jinsTween:Tween = new Tween(redboxWhole_mc, 'x', Strong.easeOut, 95, 25, 1, true);
var jinsTween:Tween = new Tween(redboxWhole_mc, 'y', Strong.easeOut, 83, 25, 1, true);
}
My main question is when I place the code inside a movie clip rather than in the main timeline, the code doesn't work. Any ideas? thanks
-
AKA [ Paul Bainbridge]
Checkout greensock tween class. It's far better than the classes that come with flash.
hope it helps
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|