PDA

View Full Version : Disable the double click to start flash and Enable Flash to be seen behind firewalls


Texasdream
10-27-2006, 11:26 AM
Here is some code that will disable the annoying double click feature for flash when using XP. This code also enables all viewers to see your flash. For example some firewalls block flash (SO STUPID:mad: ) but with this code instead of using the embed tags and object tags allows those users behind firewall environments to see your hard worked flash masterpieces.

Okay here is how you do it.
Inside your main file that is calling the flash .swf.
Remove the code that you currently have there and replace it with the code that is inside the putInsideIndex.html (see attachment)
Make sure that you change the name of the movie in that code so that it opens your swf. You might need to change the width and the height too so that you don't have your flash looking like a monster.

Alright then you need to take the other file called RemoveDoubleClick.js
Open it in your editor and change the name to the name of your choosing on line 12. Then post that file (DO NOT RENAME IT) into the same directory as the main file that you edited above. Most cases that would be the index.html or whatever.

So enjoy and start letting EVERYONE see your sites & be more user friendly!
GOOD LUCK!:D