[SWFObject] SWFObject Digest, Vol 2, Issue 10

Steve Norris snorris at norrisoft.com
Tue May 2 13:47:23 PDT 2006


I aplogize for the title "..doesn't work"  I meant that I 
can't  get autoinstall to work after tweaking your code. 
 Any help you can provide is much appreciated.

Steve

On Tue, 02 May 2006 13:16:39 -0700 
swfobject-request at lists.deconcept.com wrote:

> Send SWFObject mailing list submissions to
> 	swfobject at lists.deconcept.com
> 
> To subscribe or unsubscribe via the World Wide Web, 
>visit
> 	http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> or, via email, send a message with subject or body 
>'help' to
> 	swfobject-request at lists.deconcept.com
> 
> You can reach the person managing the list at
> 	swfobject-owner at lists.deconcept.com
> 
> When replying, please edit your Subject line so it is 
>more specific
> than "Re: Contents of SWFObject digest..."
> 
> 
> Today's Topics:
> 
>   1. express install not working (Steve Norris)
>   2. Re: express install not working (Geoff Stearns)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 02 May 2006 15:15:47 -0400
>From: "Steve Norris" <snorris at norrisoft.com>
> Subject: [SWFObject] express install not working
> To: swfobject at lists.deconcept.com
> Message-ID: <web-84245648 at easycgi.com>
> Content-Type: text/plain; charset="ISO-8859-1"; 
>format="flowed"
> 
> 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
> 
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Tue, 2 May 2006 15:23:25 -0400
>From: Geoff Stearns <geoff at deconcept.com>
> Subject: Re: [SWFObject] express install not working
> To: swfobject at lists.deconcept.com
> Message-ID: 
><62882433-3F38-4377-AFD0-B09F79B4AFD6 at deconcept.com>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; 
>format=flowed
> 
> 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
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> 
> 
> End of SWFObject Digest, Vol 2, Issue 10
> ****************************************




More information about the Swfobject mailing list