Flash Code/Mouse Movement

Out of context: Reply #2

  • Started
  • Last post
  • 17 Responses
  • fate0

    Here's a secret to good rollovers. Have your rollver onimation, in and out, contained in a regular MC. Then apply the following actions to the MC

    this.onEnterFrame=function()[
    this.onRollover {
    gotoAndPlay("over")
    }
    this.onRollout {
    gotloAndPlay("out"
    }
    this.onPress {do whatever
    }
    }

    That method works so much better because the MC can accurately tell when the mouse is not in the OVER region. work with that, you can add things like onPress {this.disable} and such

View thread