English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Can anyone tell me how can I get rid of the "Click her to activate this control" message from appearing over my Flash movie in a web browser.

2007-02-17 09:49:41 · 2 answers · asked by m1998cm 2 in Computers & Internet Programming & Design

I am aware that I can download a patch for IE, but I want the Javascript so that it will be the same for anyone viewing my page, even those without the IE patch.

2007-02-18 05:21:13 · update #1

2 answers

Fret ye not. I've had the same problem and I know how annoying it is. Let me try to explain this the best I can...

You need to embed the flash into your webpage using javascript. Now don't worry if you've never used javascript before (neither had I until recently), there is a "copy and paste" solution. Firstly you need to download a bit of fancy code that someone has prewritten, called swfobject1.4. You can do that here:

http://blog.deconcept.com/swfobject/swfobject1-4.zip

when the zip file has downloaded, go into the swfobject folder and pull out the file called "swfobject.js" - this is the funky javascript file that will do most of the work for you. Stick that in the root of your webserver...or wherever your flash file page is.

Now, go into your html file and add the following code INSTEAD OF your current flash embed code...




This text is replaced by the Flash movie.




Basically what its doing is, first off its pointing to that .js file you've just pulled out of the zip file. Then its creating a div which should contain "alternative content" (if the person doesn't have the flash player installed)...and then the final line does all of the work....simply replace:

mymovie.swf - with the name of your swf file
200 - with the width of the swf file
100 - with the height of the swf file
7 - with the flash player version you are using
#336699 - with the flash movie background colour

AND THATS IT! woohoo!

Don't forget to upload the js file with your html file or it won't work. If you want to do more complicated things (passing variables etc), read the easy-to-use instructions for the swfobject at:

http://blog.deconcept.com/swfobject/

...and finally, pass this on to as many people as you know who designs with Flash! We have to stop Microsoft from ruining all of our hard work!

Best of luck.

2007-02-18 06:55:11 · answer #1 · answered by gromitski 5 · 0 0

go to http://support.microsoft.com/kb/912945 and read the KB article about how to update IE to get rid of this annoyance.

2007-02-17 10:38:03 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers