2 Replies Latest reply on Jan 27, 2010 4:09 AM by spinkowalski

    Disable animation

    spinkowalski Level 1

      Hello,

       

      I need to disable the following animation:-

       

      // animate

      target.onRollOver = function()

      {

      // animate image

      if (!this.release)

      {

      this.onEnterFrame = function():Void

      {

      this._x2 += this.xk;

      this._y2 += this.yk;

      if (this._x2 >= this.xmax || this._x2 <= this.xmin) this.xk =- this.xk;

      if (this._y2 >= this.ymax || this._y2 <= this.ymin) this.yk =- this.yk;

      }

       

      Any pointers/suggestions would be much appreciated.

       

      Kind regards,

       

      Damien