Can you try putting an effectEnd handler on the Sequence and calling your method from there?
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of shuell2000 Sent: Tuesday, February 21, 2006 10:10 AM To: [email protected] Subject: [flexcoders] Function call AFTER a transition Can anyone help me with this issue. I have a transition from one state to another to move and resize a form in a sequence with a slight duration set. After that transition is done, and only after, I need to reposition dynamic objects on the canvas that was just resized. I have a function that does this moving around of the objects on the canvas, but how do I call it based on the transition ending? <mx:transitions> <mx:Transition id="toDetail" fromState="*" toState="details"> <mx:Sequence target="{details}"> <mx:Move duration="1400"/> <mx:Resize duration="1400"/> </mx:Sequence> </mx:Transition> <mx:Transition id="toBrowse" fromState="details" toState="browse"> <mx:Sequence target="{details}"> <mx:Move duration="1400"/> <mx:Resize duration="1400"/> </mx:Sequence> </mx:Transition> </mx:transitions> <mx:states> <mx:State name="browse"> <mx:SetProperty target="{details}" property="width" value="431"/> <mx:SetProperty target="{details}" property="x" value="150"/> </mx:State> <mx:State name="details"> <mx:SetProperty target="{details}" property="width" value="565"/> <mx:SetProperty target="{details}" property="x" value="0"/> </mx:State> </mx:states> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

