My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 110: Strange border on FFox 3.
2 people starred this issue and may be notified of changes. Back to list
Status:  Verified
Owner:  bobbyvandersluis
Closed:  Jun 2008
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by sunnystr...@o2.pl, Jun 19, 2008
1. Check the website I'm redesigning - http://www.visualmediagroup.pl/vmg_beta/
2. Click on the left side of the flash menu (not necessary the button) in
the top of the page - a black border appears on Firefox 3 (and 3 only -
Opera 9.50, IE 7 and earlier FFox seem to display it ok).

Code is ok, I have no idea what else could be a problem.

 
Comment 1 by bobbyvandersluis, Jun 19, 2008
Can't reproduce the issue in Firefox 3.

Also I don't think that this is a SWFObject related issue, so for moree help, please
repost it in the SWFObject discussion group: http://groups.google.com/group/swfobject
Comment 2 by bobbyvandersluis, Jun 19, 2008
(No comment was entered for this change.)
Status: Invalid
Comment 3 by mi...@pilotinteractive.co.uk, Jun 20, 2008
Hi, we are also having this problem using the latest release of swfobject 2 on firefox 3.
I can see this problem on the site linked above (very faint border around the
navigation at the top when you click to focus the flash).

A couple of sites that we're having trouble with are http://www.foreverfriends.co.uk
and http://www.asda-thebinks.co.uk/. As you can see, when you click on the flash to
focus it there is a visible border around the movie.

We not had this problem with the ufo javascript, and looking into that it seems as
though ufo is using an embed tag in firefox 3 instead of the object tag like
swfobject does.

thanks,
Mike Franklin

Comment 4 by bobbyvandersluis, Jun 21, 2008
http://www.foreverfriends.co.uk; i can't reproduce it with FF3/MacOSX
http://www.asda-thebinks.co.uk/ uses UFO

Regarding using wmode transparent and opaque there is a general Flash bug when
focusing or scrolling a page in FF2+/Opera 9.5, which is not SWFObject related. So if
you don't need this wmode explicitly, please omit it in your code.

Comment 5 by mi...@pilotinteractive.co.uk, Jun 23, 2008
Hi,

Very sorry about that! I thought asda used swfobject. I've attached screen grabs of 
the bug. Possibly this is a bug/feature with the browser or flash. Although, I have 
noticed that it stops happening when using embed instead of object.

This only happens on Firefox3/PC.

Mike
firefox3_flash.jpg
223 KB Download
Comment 6 by sunnystr...@o2.pl, Jun 23, 2008
I can reproduce both errors. Everything is fine in FFox 2 and Opera 9.5, only FFox 3 
displays that dotted black border on focus - the only way to get rid of it is to set 
wmode to "window".
Comment 7 by bobbyvandersluis, Jun 23, 2008
From the screen grab it looks like that Firefox 3 on Windows has a different default
style for the object element than in Firefox 2 or for the equivalent embed element,
so it treats it like an active link.

In this case the following style rule in the head of your web page should solve this
issue:
<style type="text/css" media="screen">
object { outline:none; }
</style>

Could you please let me know if this is the cure?

Also could you confirm the following test circumstances:
- only for Firefox 3 on Windows
- only when using the object element (like SWFObject does)
- only when using wmode = transparent/opaque 
- only when including clickable elements inside Flash


Status: Started
Owner: bobbyvandersluis
Comment 8 by sunnystr...@o2.pl, Jun 23, 2008
Yes, it worked on my FFox3/Windows. The object is a flash menu (clickable of course) 
with wmode: "transparent".

- for Firefox 3 on Windows - WORKED (didn't have this problem on Opera 9.5 or IE 7 
neither)
- when using the object element (like SWFObject does) - YES
- when using wmode = transparent/opaque - YES
- only when including clickable elements inside Flash - WORKED with clickable/
nonclickable flash movie.

Glad this is solved, I feel a bit silly that I didn't figure it out myself (that 
style thing...) :) And I'm very happy I could help a tiny bit :)
Comment 9 by bobbyvandersluis, Jun 23, 2008
Great, will add this to the FAQ :-)
Status: Verified
Comment 10 by mi...@pilotinteractive.co.uk, Jun 23, 2008
Hi,

Yes, that fix has worked. Thanks!

- only for Firefox 3 on Windows
I've tested this on Firefox 3 on both Windows and Mac. It only happens on Windows. 
I'm currently unable to test it on linux.

- only when using the object element (like SWFObject does)
Using the embed element does not cause the outline - it only happens with object.

- only when using wmode = transparent/opaque 
wmode transparent and opaque both cause the outline, wmode window does not.

- only when including clickable elements inside Flash
Any click inside a blank movie will also cause the outline to appear. It makes no 
difference if there's a clickable element inside or not.



Comment 11 by commarts, Nov 13, 2008
I have been searching for a fix for this for the past hour. Apparently there was a
similar "grey box" error with IE6 a few years ago which took up the majority of the
search results for this problem. Finally after searching I found this solution! 

Thank you!
Comment 13 by andygoestohollywood, Jun 12, 2009
good job bobbyvandersluis, this style solved the issue for me aswell :)


Sign in to add a comment

Hosted by Google Code