AS3 cacheAsBitmap weirdness with a MouseEvent.MOUSE_OVER
September 25th, 2008
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.
September 25th, 2008 at 12:16 pm
Eh? what a dumb post. I didn’t understand one word of that. 0/10
September 29th, 2008 at 6:06 am
they both look the same to me
can i have a biscuit? my head hurts
June 21st, 2009 at 9:26 pm
Yes, I see the problem. Thing is, I have no idea why it happens