use the removedfromstage event:
Hey I am loving that! Cheers
Hey just to check my understanding,
This code goes in the keyframe where the objects exist yes? It cant go on the main timeline because then there would be null object errors yes?
yes, it goes in the keyframe where those movieclips exist. if the movieclips exist on a main timeline frame, that's where that code should be placed.
that code should execute when the movieclip exists. the listeners wait for the movieclips to be removed from the display list. that happens when you navigate away from the frame that contains those movieclips.
use the trace() function to find why it is not working. start by making sure your movieclip is being removed from the stage.