PDA

View Full Version : Firefox: Embedded Flash has an "onfocus line" when clicked


creatorbri
08-19-2009, 11:50 PM
I've built a Flash movie which is displayed embedded on a normal HTML page. There is heavy interaction between the embedded SWF (embedded with swfobject) and the HTML page using ExternalInterface, but I'm not sure that's relevant.

For some reason, whenever the user clicks to interact with the Flash movie (in Firefox ONLY), the Flash object gains "focus" and the browser displays a dotted line around the SWF. Its the same type of line you get in Firefox whenever you click any kind of link, whether text or image. Of course other Flash movies do not behave this way; it seems only to be happening with my SWF.

I know this is probably a fairly obscure issue, but if someone could help I'd be most grateful; my boss isn't a fan of the dotted lines and, yes, he prefers Firefox. :)

creatorbri
08-21-2009, 05:53 PM
Update: The issue apparently does occur in IE as well. I'm not sure why it wasn't before. Still looks OK in Safari.