2 Replies Latest reply on Mar 1, 2007 8:01 AM by terjemi

    Update variables in Movie Clip

    terjemi Level 1
      Hi!

      Is there anybody who can help me with a simple (?) problem:

      I have loded a movieclip into a movie:

      var mcl:MovieClipLoader = new MovieClipLoader();
      mcl.loadClip("Legend_movie.swf",legend_mc);

      In the main movie a variable is changed by on EnterFrame:

      figure_mc.onEnterFrame = function() {
      size = circle_map_mc._width;
      }

      The variable "size" is also used by the movie clip.

      Can anybody tell me how the movie clip can be updated for each "onEnterFrame"?

      At the moment the movie Clip only reads the variable "size" at the first frame...

      tm