1 Reply Latest reply on Mar 9, 2009 9:12 AM by BobFromTheYear5K

    Communicating between loaded SWF and parent

    Rens_-
      Hi guys,

      I've a Flex application which shows multiple SWF animations. Those movies have to be in a loop, so when movie 1 finishes, movie 2 is loaded and played. After movie 2 comes movie 3, and so on.
      At first I've searched for an event listener which was able to listen to 'end of movie', or something like that. But this isn't available. It seems there are 2 ways to accomplish this:

      1) Call a method of the flex application on the last frame
      2) Raise an event on the last frame, and capture it from the flex application

      But I can't get it to work. I've tried to call the parent with code like this:
      MovieClip(parent.parent).ParentFunction();

      But nothing happens. Also raising an event, and capture it from the Flex application doesn't work. Who has done this, and could post a snippet to see how this should be done?