1 Reply Latest reply on May 2, 2006 4:37 AM by amilton22

    Set xscale target

    amilton22
      Just woundering how I set the target area of the xscale and yscale actions? In the help it says that it starts on x=0,y=0. So how do I for example change it to x=300, y=100 or even bettre, current postion?

      Using it in a interval, and heres the function:
      function zOOm():Void {
      mSocker._xscale += 5;
      mSocker._yscale += 5;
      if (mSocker._yscale>=200) {
      clearInterval(nIntervalZOOM);
      }
      updateAfterEvent();
      }

      Thanks!