3 Replies Latest reply on Aug 30, 2007 4:31 PM by kglad

    accessing functions in dynamically loaded SWF

    Eatstatic
      I have a main fla. that is called "Stage1.fla"

      I then use this code to load in aother swf called "Print.swf"

      var myRequest:URLRequest = new URLRequest("Print.swf")
      var myLoader:Loader = new Loader();
      myLoader.load(myRequest);
      stage.addChild(myLoader);
      myLoader.y = 132;

      I then have a button in Stage1.fla
      When i press this button i want to reach a function inside of "print.swf" called forward

      I tried this code, but it didnt work, can someone explain how to write it.

      Stage.myLoader.forward;
      or
      myLoader.forward;