2 Replies Latest reply on Dec 9, 2006 8:30 AM by geilezeit

    Actionscript - MC Scaling question

    geilezeit
      Hi. I've just started to learn actionscript and would like some advice.
      This is a movie clip in the form of an aeroplane but it could be a rectangle or anything. The script to make it scale larger is OK.
      I want it to increase in size and then make it STOP after a few seconds. Say for example when A becomes 150, or when the plane gets quite big.
      Thanks for any tips.

      onClipEvent(load) {
      scaleA = 10;
      x = 525;
      y = 25;
      }
      onClipEvent(enterFrame) {
      scaleA++;
      x -= 5;
      y += 5;

      this._xscale = scaleA;
      this._yscale = scaleA;
      trace(scaleA);
      }