[SWFObject] express install not working

Geoff Stearns geoff at deconcept.com
Tue May 2 12:23:25 PDT 2006


can you be more specific when you say 'it doesn't work'?

which part doesn't work, and how are you testing it?


On May 2, 2006, at 3:15 PM, Steve Norris wrote:

> Hi Geoff,
>
> I combined your FlashObject code with an existing .js file
> of mine as follows and it works beautifully:
>
> HTML code:
>
> <div id="NorrisoftEnhanceLoader"
> name="NorrisoftEnhanceLoader" style="position:absolute;
> width:2880px;height:2880px; z-index:99; left: 0px; top:
> 0px; visibility: visible;">
> <script type="text/javascript"
> src="EnhanceFolder/enhanceJS.js"></script>
> <script
> type="text/javascript">if(document.browserOK){try 
> {EnhanceLoaderObject.addVariable("projectXMLFile",
> "EnhanceFolder/i7_Applying_ForEnhanceInventory/inventory.xml")}catch
> (e) {};
> try{EnhanceLoaderObject.write("NorrisoftEnhanceLoader")}catch
> (e)
> {}}else{NorrisoftEnhanceLoader.style.visibility="hidden"};</ 
> script></body>
>
> JS file:
>
> var EnhanceLoaderObject = new
> FlashObject("EnhanceFolder/EnhanceLoader.swf",
> "EnhanceLoader", "2880", "2880", "7", "#FFFFFF");
> EnhanceLoaderObject.addParam("wmode", "transparent");
>
> Like I said, everything works beautifully - my .swf
> displays nicely. However, when I try to use autoinstall by
> inserting a blank keyframe before my first frame of my
> .swf and adding the following:
>
> #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) {
> 	ExpressInstall.init();
> 	stop();
> }
>
> and changing the Flash Object instantiation to:
>
> ("EnhanceFolder/EnhanceLoader.swf", "EnhanceLoader",
> "2880", "2880", "7", "#FFFFFF", true);
>
> Auto install doesn't work.
>
> TIA,
>
> Steve
>
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list