Take a look at Adobe's player detection: http://www.adobe.com/products/flashplayer/download/detection_kit/
Have you looked at using the Express Install option, seperately from swfobject?: SRC: http://www.adobe.com/devnet/flash/articles/swfobject_print.html #include "expressinstall.as" // initialize the ExpressInstall object var ExpressInstall = new ExpressInstall(); // if the user needs to upgrade, show the 'start upgrade' button if (ExpressInstall.needsUpdate) { // this is optional, you could also automatically start the // upgrade by calling ExpressInstall.init() here instead of the following lines // attach the custom upgrade message and center it var upgradeMsg = attachMovie("upgradeMsg_src", "upgradeMsg", 1); upgradeMsg._x = Stage.width / 2; upgradeMsg._y = Stage.height / 2; // attach the button actions that will start the ExpresInstall updater upgradeMsg.upgradeBtn.onRelease = function() { // the ExpressInstall.init() method is what kicks off the actual update ExpressInstall.init(); } // if expressinstall is invoked, stop the timeline. stop(); -Scott } On 1/21/07, {reduxdj} <[EMAIL PROTECTED]> wrote:
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
-- : : ) Scott _______________________________________________ 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