2 Replies Latest reply on Jun 8, 2006 10:39 AM by wabash81

    triggering .swf

    wabash81
      If have I have an .html doc with two flash movies imbedded. What is the actionscript that allows a button from one swf to control the other.
      For example:

      a button on myflash.swf wants to tell thisflash.swf to go to and play frame 2.

      How would I do this?
        • 1. Re: triggering .swf
          blemmo Level 1
          It's possible with the LocalConnection class. See this tutorial to see how it's working.

          cheers,
          blemmo
          • 2. Re: triggering .swf
            wabash81 Level 1
            blemmo
            thanks for you response! This tutorial makes sense to me.
            I'm using html frame sets so the flash doc's exist on seperate .html docs but show up on the same page. Will this technique still work if the two .swf's aren't on the same .html page? If so, is there some kind of reference example of how to link to a url and then trigger a .swf to, for example, goto and play frame 2.

            Thanks so much for your help, this info is very valuable to me.