Skip navigation
Currently Being Moderated

RemoveChild at a specific frame or frame label?

Jul 9, 2012 4:55 PM

How can I remove a child when it reaches a certain frame or frame label?

 
Replies
  • Currently Being Moderated
    Jul 9, 2012 5:00 PM   in reply to witherton

    You need some way of detecting which frame the child is on. 

     

    There are probably a few ways of determining that a child is on a certain frame.  One would be to have the child dispatch an event when it reaches that certain frame and have a listener assigned for that in the parent timeline. 

     

    Another way would be to constantly monitor the child to see what its currentFrame or currentLabel property is, although a currentLabel does not necessarily equate to a certain frame.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 9, 2012 6:02 PM   in reply to witherton

    You're welcome

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points