Hi
In IE when I view my flash It gives the message 'click to activate and use this control' with a grey box around.
I have followed all the online workarounds http://tinyurl.com/22lxzr but still no luck.
Anyone know how these workarounds can be applied to CMS made simple?
Thanks
'click to activate and use this control' (SOLVED)
'click to activate and use this control' (SOLVED)
Last edited by johnl on Tue Aug 07, 2007 3:42 pm, edited 1 time in total.
-
ironblaze94
Re: 'click to activate and use this control'
ok this is what i used and it works
you have to use the tag around your flash for it to work, for instance i used this to add it into the template
change the Where It Is On Your Server to say http://www.yoursite.com/uploads then add the location the flash file is in e.g. http://www.yousite.com/uploads/flash/flash-file.swf
next create a new file in notepad (not ms word, notepad) and include this coe
save it as ieupdate.js and remember to change the "Save As Type" at the bottom of the save box to All Types or it wont work
then upload the javascript file to cms and add this code DIRECTLY after the code in the template
obviously changing the location to suit your site
and save the template and reload the page and everything should work !

you have to use the tag around your flash for it to work, for instance i used this to add it into the template
Code: Select all
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" >
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Where It Is On Your Server" />
<embed src="Where It Is On Your Server" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>next create a new file in notepad (not ms word, notepad) and include this coe
Code: Select all
objects = document.getElementsByTagName("object");
for (var i = 0; i < objects.length; i++)
{
objects[i].outerHTML = objects[i].outerHTML;
}then upload the javascript file to cms and add this code DIRECTLY after the code in the template
Code: Select all
<__script__ type="text/javascript" src="http://www.yoursite.com/uploads/ieupdate.js"></__script>and save the template and reload the page and everything should work !
Re: 'click to activate and use this control'
ironblaze94 wrote: ok this is what i used and it works
you have to use the tag around your flash for it to work, for instance i used this to add it into the template
change the Where It Is On Your Server to say http://www.yoursite.com/uploads then add the location the flash file is in e.g. http://www.yousite.com/uploads/flash/flash-file.swfCode: Select all
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" > <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="Where It Is On Your Server" /> <embed src="Where It Is On Your Server" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object>
next create a new file in notepad (not ms word, notepad) and include this coesave it as ieupdate.js and remember to change the "Save As Type" at the bottom of the save box to All Types or it wont workCode: Select all
objects = document.getElementsByTagName("object"); for (var i = 0; i < objects.length; i++) { objects[i].outerHTML = objects[i].outerHTML; }
then upload the javascript file to cms and add this code DIRECTLY after the code in the template
obviously changing the location to suit your siteCode: Select all
<__script__ type="text/javascript" src="http://www.yoursite.com/uploads/ieupdate.js"></__script>
and save the template and reload the page and everything should work !
![]()
Thanks for your help,got it working by following tutorial at http://activecontent.blogspot.com/ in the end.
I will try your solution later as it looks good.
Thanks for the help
-
ironblaze94
Re: 'click to activate and use this control' (SOLVED)
that site uses alot more javascript, i wonder why mine uses so little and gets the same results 
anyway as long you get it working, it took me a while to get there but its now its ok
anyway as long you get it working, it took me a while to get there but its now its ok

