If you’re finding that MOUSE_OVER or ROLL_OVER MouseEvents are being fired on animated movieclips at a rate of knots (for example a button or movie element that animates on rollover), and have ensured that mouseChildren is off for the clip – take a look to see if you turned on cacheAsBitmap for the element and try setting it to false…

I can only assume that the internally cached bitmap is interrupting the mouse events when it’s being redrawn, but why exactly is beyond me. This first example will exhibit the weirdness – mouse over the edges of the squares to see.

So there you are.

3 Responses to “AS3 cacheAsBitmap weirdness with a MouseEvent.MOUSE_OVER”

  1. Colin Says:

    Eh? what a dumb post. I didn’t understand one word of that. 0/10

  2. jof Says:

    they both look the same to me

    can i have a biscuit? my head hurts

  3. Ian Says:

    Yes, I see the problem. Thing is, I have no idea why it happens

Leave a Reply