2 Replies Latest reply on May 5, 2006 10:30 PM by Marghoob Suleman

    LocalConnection window control?

    jeffpelletier
      I'm trying to use a local connection to play swf#2 when swf#1 finishes. Both swf's are on the same HTML page, swf#1 being the main movie, and swf#2 is a supporting movie that should start when swf#1 ends. Right now swf#1 ends but swf#2 is not starting

      end of swf#1:

      sendingLC = new LocalConnection();
      sendingLC.send("lc_smb", "gotoAndPlay")
      stop();

      start of swf#2:

      stop();
      var receiving_lc:LocalConnection = new LocalConnection();
      receiving_lc.methodToExecute = function() {
      gotoAndPlay(3)
      };
      receiving_lc.connect("lc_smb");