3 Replies Latest reply on Apr 24, 2006 4:23 AM by Peter Lorent

    attach movie (not using a button)

    hsheffer
      I'm trying to attach movie on frame 1 on timeline. I'm using the following script and nothing happens:

      myMovieClip.attachMovie("graphic", "g", 1);
      g._x = 260;
      g._y = 250;

      When I use this script attached to a button it's working:

      on (press) {
      attachMovie("graphic", "g", 1);
      g._x = 260;
      g._y = 250;
      }

      any idea what can be wrong?