<div>HI, </div>
<div> </div>
<div>I'm having a problem getting the expressinstall feature working correctly.  When the page is loaded with the embedded flash file, I want the actionscript to automatically upgrade/install flash 9 without any interaction required on the users behalf.
</div>
<div> </div>
<div>I followed the instructions according to the following link: </div>
<div> </div>
<div>and entered the code in the first keyframe </div>
<div> </div>
<div>---------------------BEGIN actionscript code---------------------------------------------</div>
<div>#include "<a href="http://expressinstall.as">expressinstall.as</a>"<br><br>// initialize the ExpressInstall object<br>var ExpressInstall = new ExpressInstall();<br><br>// if the user needs to upgrade, show the 'start upgrade' button
<br>if (ExpressInstall.needsUpdate) {<br><br>// this is optional, you could also automatically start the <br>// upgrade by calling ExpressInstall.init() here instead of the following lines<br><br>// attach the custom upgrade message and center it
<br>var upgradeMsg = attachMovie("upgradeMsg_src", "upgradeMsg", 1);<br>upgradeMsg._x = Stage.width / 2;<br>upgradeMsg._y = Stage.height / 2;<br><br>// attach the button actions that will start the ExpresInstall updater
<br>upgradeMsg.upgradeBtn.onRelease = function() {<br>// the ExpressInstall.init() method is what kicks off the actual update<br>ExpressInstall.init();<br>}<br>// if expressinstall is invoked, stop the timeline.<br>stop();
<br>}</div>
<div>---------------------end actionscript code---------------------------------------------</div>
<div> </div>
<div>In the second keyframe of the example source/so_tester.fla file,  I noticed there was also the stop action</div>
<div> </div>
<div> </div>
<div>I have the following working on an html page with a small swf file embedded in it.  </div>
<div>---------------------BEGIN html code --------------------</div>
<div><div id="flashcontent"><br>  <a href="<a href="http://www.macromedia.com/go/getflashplayer"><img">http://www.macromedia.com/go/getflashplayer"><img</a> src="images/flash_install.gif" alt="Get macromedia Flash Player" style="border: none;" /></a>
<br> </div></div>
<div> <script type="text/javascript"><br>  // <![CDATA[<br>  var so = new SWFObject("images/teaser.swf", "teaser", "220", "60", "8.0.22", "#ffffff",true);
<br>  so.addParam("menu", "false"); <br>  so.write("flashcontent");<br>  // ]]></div>
<div>---------------------END html code --------------------</div>
<div> </div>
<div> </div>
<div>The above works fine with the subsitution of the flash file with the get flash link but thats not what i'm aiming for.  I want the script to autoamatically install the latest and greatest version of flash if its not flash 9.  
</div>
<div> </div>
<div>thanks in advance, </div>
<div> </div>
<div>Phill </div>