[SWFObject] SWFObject Digest, Vol 2, Issue 10

Steve Norris snorris at norrisoft.com
Tue May 2 20:23:58 PDT 2006


The 2880 x 2880 size is the maximum size for a .swf and is 
intentional.

I scrolled down and to the right and found the Macromedia 
Flash Player Update dialog, but I couldn't click on the 
Yes, or No button and the Enter Key didn't work either.

On a hunch, I commented out 
//EnhanceLoaderObject.addParam("wmode", "transparent"); 
and refreshed the page.  The button worked and I was able 
to install Flash 8.

So, If ExpressInstall.needsUpdate, I will need to either:
a) Set the _x and _y coordinates of the Macromedia Flash 
Player Update dialog or
b) Scroll the user's window so they can see the Macromedia 
Flash Player Update dialog if

If NOT ExpressInstall.needsUpdate, I will dynamically add 
the statement:
EnhanceLoaderObject.addParam("wmode", "transparent");

If it is your code that sets the position of the 
Macromedia Flash Player Update dialog to the center of the 
.swf, I suggest setting the position to the center of the 
user's window, instead.  If it is not your code, I will 
contact Macromedia and make the suggestion.  I will also 
inform them about the Macromedia Flash Player Update 
dialog not working if the target .swf wmode is set to 
transparent.
Thank You VERY MUCH for your assistance.  Your swfObject 
is outstanding!

Steve Norris

On Tue, 02 May 2006 19:52:30 -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. Re: SWFObject Digest, Vol 2, Issue 10 (Steve 
>Norris)
>   2. Re: SWFObject Digest, Vol 2, Issue 10 (Geoff 
>Stearns)
>   3. Re: SWFObject Digest, Vol 2, Issue 10 (Steve 
>Norris)
>   4. Newbie Question (Don McAllister)
>   5. Re: Newbie Question (swfobject at blazingimages.com)
>   6. Initializing variable (Javier de Alfonso)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 02 May 2006 16:36:03 -0400
>From: "Steve Norris" <snorris at norrisoft.com>
> Subject: Re: [SWFObject] SWFObject Digest, Vol 2, Issue 
>10
> To: swfobject at lists.deconcept.com
> Message-ID: <web-84286009 at easycgi.com>
> Content-Type: text/plain; charset="ISO-8859-1"; 
>format="flowed"
> 
> Actually, I have the autoinstall set to install Flash 
> Player 8 as follows:
> 
> var EnhanceLoaderObject = new 
>FlashObject("EnhanceFolder/EnhanceLoader.swf", 
> "EnhanceLoader", "2880", "2880", "8", "#FFFFFF", true);
> EnhanceLoaderObject.addParam("wmode", "transparent");
> 
> I have Flash player 7 installed on my machine.
> 
> When I view my HTML in IE 6, my div or transparent .swf 
> turns a translucent dark gray and Flash Player 8 does 
>not 
> install, nor do I get any prompts to install it.
> 
> If I remove the true parameter above and remove the 
>first 
> frame of my .swf which contains the expressinstall.as 
>and 
> code, your embed works flawlessly.
> 
> I'm hoping this is just a path issue but I have not been 
> able to find that problem with the code.
> 
> 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
>> ****************************************
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Tue, 2 May 2006 16:44:46 -0400
>From: Geoff Stearns <geoff at deconcept.com>
> Subject: Re: [SWFObject] SWFObject Digest, Vol 2, Issue 
>10
> To: swfobject at lists.deconcept.com
> Message-ID: 
><6CF938ED-9CFA-4CF1-9DF5-CCB2D6C0A68D at deconcept.com>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; 
>format=flowed
> 
> i just noticed that your movie is 2880px by 2800px  - is 
>this  
> intentional?
> 
> this would create a massive flash movie that goes off 
>the screen, so  
> when you see that gray thing, that means that it's 
>working - the  
> expressinstaller centers the dialog in the middle of the 
>flash  
> screen, so if you make your browser window *really* big, 
>you might be  
> able to see the bottom corner of it.
> 
> try making your flash movie a little smaller and see if 
>you can see it.
> 
> 
> On May 2, 2006, at 4:36 PM, Steve Norris wrote:
> 
>> Actually, I have the autoinstall set to install Flash
>> Player 8 as follows:
>>
>> var EnhanceLoaderObject = new
>> FlashObject("EnhanceFolder/EnhanceLoader.swf",
>> "EnhanceLoader", "2880", "2880", "8", "#FFFFFF", true);
>> EnhanceLoaderObject.addParam("wmode", "transparent");
>>
>> I have Flash player 7 installed on my machine.
>>
>> When I view my HTML in IE 6, my div or transparent .swf
>> turns a translucent dark gray and Flash Player 8 does 
>>not
>> install, nor do I get any prompts to install it.
>>
>> If I remove the true parameter above and remove the 
>>first
>> frame of my .swf which contains the expressinstall.as 
>>and
>> code, your embed works flawlessly.
>>
>> I'm hoping this is just a path issue but I have not been
>> able to find that problem with the code.
>>
>> 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
>>> ****************************************
>>
>> _______________________________________________
>> SWFObject mailing list
>> SWFObject at lists.deconcept.com
>> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Tue, 02 May 2006 16:47:23 -0400
>From: "Steve Norris" <snorris at norrisoft.com>
> Subject: Re: [SWFObject] SWFObject Digest, Vol 2, Issue 
>10
> To: swfobject at lists.deconcept.com
> Message-ID: <web-84294561 at easycgi.com>
> Content-Type: text/plain; charset="ISO-8859-1"; 
>format="flowed"
> 
> 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
>> ****************************************
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Wed, 3 May 2006 00:22:35 +0100
>From: Don McAllister <donmc at blueyonder.co.uk>
> Subject: [SWFObject] Newbie Question
> To: swfobject at lists.deconcept.com
> Message-ID: 
><8C04C6AC-A969-479D-9732-998AC289A486 at blueyonder.co.uk>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; 
>format=flowed
> 
> I'm very much not a web programmer but I've got 
>SWFObject working on  
> a web page successfully.
> 
> What I want to do is to pass the name of the swf file to 
>the
> 
>  var so = new SWFObject("movie_name.swf", "movie", 
>"660", "430",  
> "7", "#336699");
> 
> I've got some PHP code that allows me to pass the movie 
>name to a PHP  
> page with a HTML section in, but I want to use the same 
>PHP page for  
> different movies based on the movie name?
> 
> I hope I'm explaining this OK!
> 
> As it stands, it looks like the .swf and other 
>parameters are  
> hardcoded into the var so line?
> 
> Any clues?
> 
> TIA
> 
> Don
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Tue, 02 May 2006 17:04:04 -0700
>From: swfobject at blazingimages.com
> Subject: Re: [SWFObject] Newbie Question
> To: swfobject at lists.deconcept.com
> Message-ID: 
><7.0.1.0.2.20060502170221.033b83d8 at blazingimages.com>
> Content-Type: text/plain; charset="us-ascii"; 
>format=flowed
> 
> var so = new SWFObject("<?php echo $movie_name; ?>", 
>"movie", "660", "430",...
> 
> be sure to use similar variable values for any other 
>parameters that 
> may change.
> 
> At 04:22 PM 5/2/2006, you wrote:
>>I'm very much not a web programmer but I've got SWFObject 
>>working on
>>a web page successfully.
>>
>>What I want to do is to pass the name of the swf file to 
>>the
>>
>>   var so = new SWFObject("movie_name.swf", "movie", 
>>"660", "430",
>>"7", "#336699");
>>
>>I've got some PHP code that allows me to pass the movie 
>>name to a PHP
>>page with a HTML section in, but I want to use the same 
>>PHP page for
>>different movies based on the movie name?
>>
>>I hope I'm explaining this OK!
>>
>>As it stands, it looks like the .swf and other parameters 
>>are
>>hardcoded into the var so line?
>>
>>Any clues?
>>
>>TIA
>>
>>Don
>>
>>_______________________________________________
>>SWFObject mailing list
>>SWFObject at lists.deconcept.com
>>http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> 
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Wed, 3 May 2006 03:46:26 +0200
>From: "Javier de Alfonso" 
><javierdealfonso at vocesenlared.com>
> Subject: [SWFObject] Initializing variable
> To: <swfobject at lists.deconcept.com>
> Message-ID: <000301c66e53$649a1bc0$0200000a at SOBREMESA>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hello, I need to set a variable called "vol" (volume) to 
>100 when first
> entering our homepage, and then allowing the visitor to 
>change it with a
> slider, so I need to pass its value from page to page. 
>(The web is made from
> several html pages with one flash in each).
> 
> Before the EOLAS issue I used the following html code in 
>every page to get
> variables from the url:
> 
> <SCRIPT LANGUAGE="JavaScript">
> <!--
> document.write(
>  '<OBJECT 
>classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"\n'+
>  ' codebase="
> <http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version
> =6,0,29,0>
> http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=
> 6,0,29,0" width="975" height="580" ID="inquiero">\n'+
>  ' <param name=movie 
>VALUE="index.swf'+document.location.search+'">\n'+
>  ' <param name=quality VALUE=best>\n'+
>  ' <param name=wmode VALUE=transparent>\n'+
>  ' <embed 
>src="index.swf'+document.location.search+'"\n'+
>  '   quality=best wmode=transparent width="975" 
>height="580"
> align="absmiddle"\n'+
>  '   type="application/x-shockwave-flash"\n'+
>  '   pluginspage="
> <http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shoc
> kwaveFlash>
> http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shock
> waveFlash"></embed>\n'+  
>  '</OBJECT>');
> //-->
> </SCRIPT>
> 
> and the following AS inside the flash:
> 
>   if (vol==null) {vol=100};
> 
> So when first entering any page the value of "vol" was 
>set to 100 if it
> wasn't passed from the url.
> 
> How should I use Geoff's SWFObject to achieve the same?
> 
> I tried on every html:
>   so.addVariable("vol", getQueryParamValue ("vol"));
> and inside every flash:
>   if (vol==null) {vol=100};
> 
> But "vol" always sets to 0.
> 
> Could you give a hand here? Thank you in advance.
> 
> Javier.
> Madrid. Spain.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
>/pipermail/swfobject-deconcept.com/attachments/20060503/a97b7dce/attachment.htm
> 
> ------------------------------
> 
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> 
> 
> End of SWFObject Digest, Vol 2, Issue 11
> ****************************************




More information about the Swfobject mailing list