2 Replies Latest reply on Sep 4, 2007 6:44 AM by kglad

    I need some help with...

    Eatstatic
      Ok... I have a flash file, "Stage1.swf" When this movie starts it dynamically loads another swf into place and put it on the stage with this code:

      - - - - - -

      var urlString:URLRequest = new URLRequest("about.swf");
      var myLoader:Loader = new Loader();
      myLoader.load(urlString);

      function swfStart(myEvent:Event):void {
      this.addChildAt(myLoader, 1);
      var myContent:MovieClip = myEvent.target.content;
      myContent.y = 132;
      myLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE, swfStart);
      }
      myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, swfStart);

      - - - - - -

      I then have four buttons on the stage, (in the "stage1.swf") i want these four buttons to load in another SWF and put it in the "myContent" movieclip above... how do I code this... ? =P