16 Replies Latest reply on Jul 12, 2007 1:26 PM by kglad

    Parent child relationship

    adamon Level 1
      I am at the end (almost) of developing this site and need help.

      From my main movie (main.swf) I call in a movie to my URLLoader called workCnt.swf. In this movie I have a button which I want only to load a swf file into the URLLoader called workLdr found on my main movie timeline. I have searched all over but cannot get it to work. Here is the code, please help:

      this.samp_btn.addEventListener(MouseEvent.MOUSE_DOWN, samp2Click);

      function samp2Click(evt:MouseEvent):void
      {
      _level0.workLdr.source="visionBck.swf";
      }

      Thanks for any help with this.

      Rob