Where is the move effect defined? Any effect dispatches events when it starts and stops (effectStart, effectEnd)
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of dorkie dork from dorktown Sent: Tuesday, December 26, 2006 4:49 PM To: [email protected] Subject: [flexcomponents]How do I check if an effect is in effect? How do I check if an effect is in effect? My component is listening to the move event and runs some code when the component is moved. But if there is a move effect then I need to handle things differently. addEventListener( MoveEvent.MOVE,moveHandler); public function moveHandler(event:MoveEvent):void { if (effectIsRunning) { // do something } else { // do something else } } dorkie in full effect dork from dorktown
