Box around my Flash in IE
When I hover the mouse button over my flash objects in IE there is a grey rectangle around the object.
If I click on the object it goes away.
Is there anyway of getting rid of this?
Tks,
ps: my flash objects are, a slideshow and a text animation.
LenBradshaw posted this at 18:35 — 30th November 2006.
He has: 36 posts
Joined: Nov 2006
Yes there is. The change is due to some sort of lawsuit that was settled between Microsoft Internet Explorer (I think) (and whoever else) in the way flash files can be displayed and retrieved. You'll also notice that it now takes two clicks to activate the flash. Here's the workaround:
Instead of inserting your flash file directly into the web page where you want the flash file placed, insert a javascript file insertion that says something like this:
<script src="main.js"></script>
Your "main.js" file will look like this:
document.write('')
Be sure you insert the correct width and height of your flash file.
Let me know if that helps. I do lots of pages with flash inserts and it seems to work beaurifully for me.
Bansaw posted this at 10:55 — 1st December 2006.
They have: 21 posts
Joined: Sep 2006
Thanks!
However, I tried it and it didn't work.
I have lots of tags above it... wold that influence it?
Here's my code :
LenBradshaw posted this at 15:56 — 1st December 2006.
He has: 36 posts
Joined: Nov 2006
I'm sure it will work if you set up the code exactly as I showed it. You need to set up a separate javascript file as I described in my "main.js" file and it should reside in the same directory as the page that is calling the script portion in.
Neutron2k posted this at 09:48 — 7th December 2006.
He has: 113 posts
Joined: Jul 2005
as far as i'm aware you cannot over-ride the focus rectangle in IE 6/7 for flash and other activex controls. its a legal requirement as microsoft was in breech of copyright somewhere along the lines. I dont know all the details.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.