4 Replies Latest reply on Jul 1, 2010 10:20 AM by The Artworker

    Control one SWF from another on the same web page

    The Artworker Level 1

      I've done a search and found out about LocalConnections but I don't seem to be able to apply them to my issue.


      I have two separate SWF files that appear on the same web page. Both are simple animations and all I want is when the first has finished playing for the second to start, and them when that has completed restart the first one again (and so on...).


      I'm also guessing that in order for this to work I'll need some code in the first SWF to detect that the second has finished loading otherwise nothing will happen when the first SWF reaches the end.


      If anyone can point me in the right direction with some example code (ActionScript 2) that would be great!