1 Reply Latest reply on Mar 29, 2007 8:04 AM by kglad

    external swf and the tween class

    tsmorrow
      i have an external swf which i import into my main swf using the loadMovie command. my external swf has some tween class animations in it. if i run the main movie, the external swf movie runs fine of course...but the tween classes are not loaded. am i missing somthing?

      here is the code from the external swf file which is applied to a clickable movie clip of course.

      this.onRollOver = function() {
      rewind = false;
      play();
      var squaretween = new mx.transitions.Tween(previewthumb, "_xscale", mx.transitions.easing.Elastic.easeOut, 0, 1200, .5, true);
      var squaretween = new mx.transitions.Tween(previewthumb, "_yscale", mx.transitions.easing.Elastic.easeOut, 0, 1200, .5, true);
      squaretween.onMotionFinished = function() {
      loadMovie("hotairlarge.swf", "_root.homecontainer.printworkcontainer");
      }
      };

      any help would be great!