Firefox 4 isn't turning the cursor to pointer mode when it goes over an object in a flash movie that has the 'buttonMode' property set to 'true'. Can this be fixed?
I make flash games for a living, and normally when I set something to 'buttonMode' inside Flash, the cursor turns into the pointer when it rolls over the object. This is how it was in the previous version of FF and how it is in Safari and IE.
But this isn't happening in FF4. The cursor is not turning into the pointer. Kind of a bummer. This is a tool so that the kids who play the games I make know when something is clickable.
由tugboat于
所有回复 (8)
I experience this issue also. Interestingly button mode works if the application is running in full screen mode.
It seems to be an issue, I just posted the same question. I hope they fix it, its a bit annoying. I wonder if they had ex-Microsoft employees working on the updates for 4.0?
Chrome had this issue when it first came out. It took about 4 months to fix.
same issue here. no Mouse.hide() too.
Quite annoying, it actually makes you overlook clickable areas and stuff. Very inconvenient while debugging as well.
Now it works with the last Aurora version (but there is always a dotted line around some flash contents !)
I have this issue as well. And for me it goes deeper than just the cursor appearance. It also affects click events.
In FF4 on Mac OSX 10.6.7 when a SWF first loads in the browser buttons inside the SWF are responding to mouse click events, and any custom mouse over events inside Flash but the cursor does not change from the pointer to indicate you are over a button.
As far as I can tell this specific issue has been corrected since the nightly build does not exhibit this condition.
However, even in the nightly build, if you click on a button contained in an embedded SWF that goes to another web page, and then click the browser back button to return to the page with the SWF embedded, that's where the real problems begin.
Now as soon as you click anywhere inside the Flash stage it breaks expected mouse behavior. If the area that you first click is a button it will cause the mouse pointer to permanently change to the hand cursor. If the area you first click is not a button it causes the mouse issue to return (no hand cursor). And in both cases it completely disables click events on all of the buttons.
So not only does if affect the cursor appearance but you can't click on any of the buttons in the SWF anymore either!
I can reproduce this behavior in both FF4 on Mac OSX 10.6.7 as well as the Nightly Aurora build. It does not happen on any other browser that I can test (FF3.6, IE8/9, Opera11, Chrome11).
I also experience the dotted line condition mentioned above which reminds me of the old IE 'Click to Activate' only it appears after the Flash content has been clicked.
Can anyone else reproduce the condition I'm describing?
You can add this to your CSS to get rid of the dotted line around the Flash in FF4.
object { outline:none}
Anyone been able to figure out anything about the hand cursor issue?