4 Replies Latest reply on May 28, 2006 6:57 PM by erokCom

    Function or scope issue?

      Hello friends,

      Ok, so I have a moiveClip on the stage. When I rollOver it, I want it to fade up and also size. That's working no problem. (I am using MC tween)

      The problem is that the event happens and it also is effecting everything on the stage.

      Is this a scope issue? I am still learning about writing functions to best suite my needs. The code is below:

      #include "mc_tween2.as"

      //Function to handle the nav rollOvers
      function OnNavRollOver() {
      this.colorTo("0xF7931D", 1, "linear");
      this.scaleTo(120, 1, "easeoutelastic");

      characters_btn.onRollOver = function():Void{