frosty383
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by frosty383
-
-
Hey!
I have something like this:
var thisMc = this as MovieClip;
var thisAnim = TweenLite.to(thisMc, T, {alpha:0, rotation:360, onComplete:function(){thisAnim.reverse();}, onReverseComplete:function(){thisAnim.restart();}});And the movieclip doesn't exist in the next frame.How can I remove the tween automatically when my SWF goes to the next frame?Thank you!
remove tween automatically
in GSAP (Flash)
Posted
solved!
I added this into the root:
var btnClicked:Boolean = false;
function clickHandler(e:MouseEvent){
btnClicked = true;
}
and now my tween looks like this