"Click to activate" with embedded Flash content

Associate
Joined
29 Dec 2004
Posts
2,252
So, can anyone tell me why when visiting websites with embedded Flash content i have to "Click to activate" and i get a slightly annoying white box around the content which means i have to click it before i can use it?

This gets pretty lame with some sites, for example ones that use many bits of flash for its logo, footer, sidebars, etc - and i was wondering if there was any reason why? It cant be Flash as i have some of these sites on different versions of it (6/7/8) and have the same problem - could it be a Windows Hotfix?

I am in the process of building a site that uses a couple of bits of Flash...so also does anyone know if there is a bit of code i can stick in with the embedded content that disables this "Click to activate" feature?!

Heres a screenshot of what i mean:

flashgripe6yu.jpg


Thanks.
 
I just installed swfobject and am receiving a “Out of memory At line 114″ error in IE every time i refresh the page or go to any page that is using swfobject. This only seems to happen if i have more than one flash objects on the one page, as with one object it is fine. I have ensured the div=id’s and so.write’s are unique but am stuck now…anyone got any ideas? :confused:
 
Heres the code i am trying to use, any idea whats up with it? Can i actually split it into several javascript snippets or do i have to put all the movies i want in one bit of JS?

Code:
<td rowspan="3">
<script type="text/javascript" src="swfobject.js"></script><div id="321hr"><img src="themes/WD-Core/images/core-head-right.gif" alt="" width="274" height="209"></div>
<script type="text/javascript"> var so = new SWFObject("themes/WD-Core/images/headright.swf", "headnav", "274", "209", "7", "#171717"); so.write("321hr"); </script></td>
	</tr>
	<tr>
		<td>
			<img src="themes/WD-Core/images/core-head-logo.gif" alt="" width="467" height="98"></td>
	</tr>
	<tr>
		<td><script type="text/javascript" src="swfobject.js"></script><div id="123nav"><img src="themes/WD-Core/images/core-head-nav.gif" alt="" width="467" height="57"></div>
<script type="text/javascript"> var so = new SWFObject("themes/WD-Core/images/headnav.swf", "headnav", "467", "57", "7", "#272727"); so.write("123nav"); </script></td>

Thanks for that by the way BaJ, but i also would like to be able to have the ability to display an image if flash is not available, can what you have be modified to allow this?
 
Back
Top Bottom