Hi There,

I'm using a document write tag in js to avoid the click to activate crap. I'm developing for flash 9 content. Do you know if there's a way to detect and redirect if flash 9 is not being used? I tried using swfobject, which worked, however it would invalidate our php session in IE. I can't use the build in flex/flash 9 detection because these are single widgets within an html page, not full browser swf's are something. Here is what my code looks like. I appreciate the help as javascript is not my strong suit.

Here's what I am working with:

function homepageload2()
{

document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"; width="800" height="250" id="landing" align="middle">\n'); document.write('<param name="allowScriptAccess" value="sameDomain" />\n'); document.write('<param name="movie" value="/_p/viewer/some.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />\n'); document.write('<embed src="/_p/viewer/some.swf" quality="high" bgcolor="#ffffff" width="800" height="250" name="homepage" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"; />\n');
     document.write('</object>\n');
}

Thanks,
Patrick

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to