RE: [flexcoders] Catching effect end on composite effect.

2005-08-09 Thread Mercer, Dustin










Clint, from my experience with effects and
effectEnd this is what is supposed to happen.  The effectEnd fires
evertime an effect is done playing, whether it a standalone effect, a part parallel
effect, or part of a sequence effect.  I haven’t yet found a good
way to handle the effectEnd events.  I have inspected the event object in
the effectEnd and it has a reference to the effect that just ended, but I was
unable to get the effect’s name… go figure.  I could get tons
of other properties of the effect, just not the name.  You can only find
out which event is which if they are completely unique.  Hope this helps.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clint Modien
Sent: Tuesday, August 09, 2005
5:46 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Catching
effect end on composite effect.



 



I have a move and a size effect playing in a parallel effect. My
problem is trying to do something when the effect is done playing.  I have
some strange behavior going on.  The effect end event on my object is
firing 4 times. 





 





Is it supposed to do this?











--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Catching effect end on composite effect.

2005-08-09 Thread Kelly R


Create a variable:Boolean outside of your event handler and set it to true the first time it runs then check for that:
var HasFired:Boolean;
function MyEventHandler() {
if(HasFired != true) {
Do the function
}
HasFired = true;
}

>From: Clint Modien <[EMAIL PROTECTED]>>Reply-To: flexcoders@yahoogroups.com>To: flexcoders@yahoogroups.com>Subject: [flexcoders] Catching effect end on composite effect.>Date: Tue, 9 Aug 2005 08:45:57 -0400>>I have a move and a size effect playing in a parallel effect. My problem is>trying to do something when the effect is done playing. I have some strange>behavior going on. The effect end event on my object is firing 4 times.> Is it supposed to do this?





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












[flexcoders] Catching effect end on composite effect.

2005-08-09 Thread Clint Modien



I have a move and a size effect playing in a parallel effect. My problem is trying to do something when the effect is done playing.  I have some strange behavior going on.  The effect end event on my object is firing 4 times.

 
Is it supposed to do this?






--
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.