1 Reply Latest reply on Nov 7, 2010 8:02 AM by Ned Murphy

    Change the size of a movieclip in AS2

    angryannoyance

      Okay so I want to add:

       

      if (_root.Gir_mc._x<=595) {

      _root.Gir_mc._xscale=80;

      _root.Gir_mc._yscale=80;

      }

       

      if (_root.Gir_mc._x>=595) {

      _root.Gir_mc._xscale=100;

      _root.Gir_mc._yscale=100;

      }

       

      Onto the following code which is inside Gir_mc

       

      on (press) {

      startDrag("")

      dragging = true

      }

      on (release, releaseOutside) {

      stopDrag()

      dragging = false

      if(this._x > 610 && this._x < 850 && this._y > -30 && this._y < 380)

      {

      this._x = 634.1

      this._y = -20.0

      }

       

      dragging = false}

       

      on(Rollover) {

      _root.Girinfo_mc._alpha = 100;

      }

       

      on(Rollout) {

      _root.Girinfo_mc._alpha = 0;

       

      }

       

      So how would I go about doing this please be specific, thanks.