> On 5/3/10 7:32 PM, "dorkiedorkfromdorkt...@gmail.com" > <dorkiedorkfromdorkt...@gmail.com> wrote: > i remember reading about a style or property that will prevent > > animations / transitions from taking place. but i can't find it. > > On 04/05/2010, Alex Harui <aha...@adobe.com> wrote: > > Some can be stopped by setting XXXduration=0
You might also want to try: UIComponent#setCurrentState(stateName:String, playTransition:Boolean = true):void That is, instead of doing: component.currentState = "newState"; ... do component.setCurrentState("newState", false); Also, for non-state related effects, I've had to do: // button has a hideEffect, and moveEffect for instance, import mx.effects.EffectManager; EffectManager.suspendEventHandling(); button.visible = false; button.move(200, 300); EffectManager.resumeEventHandling(); hth, gabriel -- gabriel montagné láscaris comneno http://rojored.com +44 (0) 7500 709 209