[SWFObject] Mozilla Firefox Express Install Bug

Steve Norris snorris at norrisoft.com
Wed May 17 21:32:17 PDT 2006


Hi All,

I got Express Install working nicely in Win XP SP2/IE but 
when I run my site in Mozilla Firefox (Mozilla/5.0 
(Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) 
Gecko/20060426 Firefox/1.5.0.3), with Flash 7 player 
installed and with the EI requirement for Flash 8, I get a 
dialog that says,

Installing Macromedia Flash Player

Files in Use

Some Files that need to be updated are currently in use.

The following applications are using files that need to be 
updated by this setup. Close these applications and click 
retry to continue.

Firefox(all versions).

A Catch 22 if ever I saw one. LOL!

Anyone got a solution?

BTW, I noticed that the EI doesn't work if you have the 
wmode of your movie set to transparent.  You can't click 
on the update dialog.  So, I wait until after install to 
set my movie to transparent.

Also, my movie is huge dimension-wise and I have to use 
javascript to scroll over to the right and down so that my 
users can see the Express Install update dialog.  I then 
scroll back to 0, 0 when the install is done. This works, 
but anyone got a simpler solution?  I tried setting the _x 
and _y of this.hold in the expressinstall.as to no avail.

Thanks!

Steve



On Wed, 17 May 2006 18:47:02 -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: Issue with SWF Object! (Susan Karasic)
>   2. Re: SWFObject - FSCommand problem (Geoff Stearns)
>   3. Re: Issue with SWF Object! (Geoff Stearns)
>   4. Re: flashvars somtimes fail to be passed in the 
>first time	a
>      page loads (Mike Palmer)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 17 May 2006 15:38:14 -0700
>From: Susan Karasic <karasicpark at pacbell.net>
> Subject: Re: [SWFObject] Issue with SWF Object!
> To: swfobject at lists.deconcept.com
> Message-ID: 
><e7bfb99b0fca0aa5b025cf382a2e30ac at pacbell.net>
> Content-Type: text/plain; charset="windows-1252"
> 
> It's may be the Flash player and not the Express install 
>that is not 
> working with Intel based Macs.
> 
> I believe current version of flash player 8 is not yet 
>compatible with 
> Intel based macs, but Adobe has  a preview version 
> here:
> 
> http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=2dda3d81
> 
> and Flash player 8.5 will be Intel Mac compatible.
> 
> Susie
> 
> here is a link on a
> On May 17, 2006, at 3:30 PM, Hayk Bezirganyan wrote:
> 
>> Hello Everybody!
>> ?
>> I tested the SWFobject and looks like it works. but i 
>>have some issues.
>> First is that i tried to add
>> ?
>> fo.addParam("scale", "noscale");
>> ?
>> it ads to the flash object but it doesn't work??
>> Can anybody explain me why is that?
>> ?
>> + Express Install doesn't work with IntelBased Macs?
>> ?
>> THANKS IN ADVANCED!
>> HAYK
>>
>> How low will we go? Check out Yahoo! Messenger?s low 
>> PC-to-Phone call 
>> rates._______________________________________________
>> SWFObject mailing list
>> SWFObject at lists.deconcept.com
>> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: text/enriched
> Size: 1881 bytes
> Desc: not available
> Url : 
>/pipermail/swfobject-deconcept.com/attachments/20060517/d8d66247/attachment-0001.bin
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 17 May 2006 19:28:16 -0400
>From: Geoff Stearns <geoff at deconcept.com>
> Subject: Re: [SWFObject] SWFObject - FSCommand problem
> To: swfobject at lists.deconcept.com
> Message-ID: 
><D800A0D6-0D9E-4263-9FCB-1C1F3B03C392 at deconcept.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> it should be ok... i've used fscommand with swfobject 
>before, most  
> notably in the js integration kit port i did.
> 
> if you want to download the source to that and see how 
>the fscommand  
> works there, you can get it here:
> http://blog.deconcept.com/code/intkit/
> 
> i use a different method of inserting the vbscript into 
>the page, but  
> that shouldn't really matter too much.
> 
> i looked at your code, and i don't see anything wrong at 
>first  
> glance... as long as the id of the object tag matches 
>the id in the  
> fscommand you should be fine.
> 
> 
> 
> 
> On May 17, 2006, at 5:05 PM, Charles wrote:
> 
>> I have a problem: Flash FSCommand() does not work when I 
>>use  
>> SWFObject to load my Flash movie.
>>
>> I have included my code in two(2) parts:  First is the 
>>JavaScript I  
>> use to load my movie; second, is JavaScript is use for 
>>the  
>> FSCommand - this is the standard script generated by my 
>>Flash editor.
>>
>> When I run using the <object> . . . </object> my 
>>FSCommand() work  
>> with the html just fine.
>> However; when I mark the <object>. . .</object> as a 
>>comment and  
>> use SWFObject, FSCommand() does not work.
>>
>> Do I need any special parameters with SWFObject to make 
>>the  
>> FSCommand() work?
>> What do I need to do to use both SWFObject and 
>>FSCommand()?
>>
>> Be of good cheer,
>> Charles
>>
>> This script is in the <head>.
>> <script language="JavaScript">
>> <!-- /* flash object/embed workaround */
>>
>>  function setFlashMovie(movieSrc, movieID, movieWidth, 
>>movieHeight,  
>> flashVersion, movieBgColor, flashContent){
>>   this.movieSrc     = movieSrc;
>>   this.movieName    = movieID;
>>   this.movieWidth   = movieWidth;
>>   this.movieHeight  = movieHeight;
>>   this.flashVersion = flashVersion;
>>   this.movieBgColor = movieBgColor;
>>   this.flashContent = flashContent;
>>  }
>>
>>  var flashMovie = new Array();
>>
>>   flashMovie["mastHead"] = new 
>>setFlashMovie("mastheadWelcome.swf",  
>> "myMovie", "770", "100", "5", "#F1F1E3", "masthead");
>> // . . .
>>  function setFlashObject(n){
>>
>>   var fo = new SWFObject(flashMovie[n].movieSrc, 
>>flashMovie 
>> [n].movieID, flashMovie[n].movieWidth, 
>>flashMovie[n].movieHeight,  
>> flashMovie[n].flashVersion, flashMovie[n].movieBgColor);
>>   fo.addParam("quality", "best");
>>   fo.addParam("wmode", "transparent");
>>   fo.write(flashMovie[n].flashContent);
>>  }
>>
>> -->
>> </script>
>> This script and html are in the <body>.
>> <script language=JavaScript>
>> <!--
>> var InternetExplorer = 
>>navigator.appName.indexOf("Microsoft") != -1;
>>
>> function myMovie_DoFSCommand(command, args) {
>>   var myMovieObj = InternetExplorer ? myMovie : 
>>document.myMovie;
>>  if(command == "TopMenuButton")TopMenuButton(args);
>> }
>>
>> if (navigator.appName && 
>>navigator.appName.indexOf("Microsoft") !=  
>> -1 &&
>>    navigator.userAgent.indexOf("Windows") != -1 &&  
>> navigator.userAgent.indexOf("Windows 3.1") == -1) {
>>  document.write('<script language=VBScript\> \n');
>>  document.write('on error resume next \n');
>>  document.write('Sub myMovie_FSCommand(ByVal command, 
>>ByVal args)\n');
>>  document.write('  call myMovie_DoFSCommand(command, 
>>args)\n');
>>  document.write('end sub\n');
>>  document.write('</script\> \n');
>> }
>> //-->
>> </script>
>>
>> <div id="masthead" name="masthead" 
>>style="position:absolute; width: 
>> 770px; height: 100px; z-index:100; left: 0px; top: 0px; 
>>visibility:  
>> visible">
>>  
>> <!--
>> <object 
>>classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"   
>> codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/ 
>> swflash.cab#version=5,0,0,0"  id=myMovie width=770 
>>height=100>
>>  <param name=movie value="../Flash/mastheadWelcome.swf">
>>  <param name=quality value=high>
>>  <param name=wmode value=transparent>
>>  <param name=bgcolor value=#E9E9DB>
>>  <embed src="../Flash/mastheadWelcome.swf" quality=high 
>> 
>> wmode=transparent bgcolor=#F1F1E3  width=770 height=100 
>> 
>> swliveconnect=true name=myMovie 
>>type="application/x-shockwave- 
>> flash" 
>>pluginspage="http://www.macromedia.com/shockwave/download/ 
>> index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object>
>> -->
>> </div>
>> _______________________________________________
>> SWFObject mailing list
>> SWFObject at lists.deconcept.com
>> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
>/pipermail/swfobject-deconcept.com/attachments/20060517/61bae469/attachment-0001.html
> 
> ------------------------------
> 
> Message: 3
> Date: Wed, 17 May 2006 19:30:12 -0400
>From: Geoff Stearns <geoff at deconcept.com>
> Subject: Re: [SWFObject] Issue with SWF Object!
> To: swfobject at lists.deconcept.com
> Message-ID: 
><DF3F4A2D-25DE-4A05-8252-87878BED5306 at deconcept.com>
> Content-Type: text/plain; charset="windows-1252"
> 
> the noscale param does work fine, i use it in my 
>fullpage.html  
> example. maybe compare your code with that page?
> 
> as for the intel based macs - i haven't heard any 
>reports of this,  
> but when i get home tonight i can test it on my intel 
>mac mini.
> 
> can you share any more information on this? which part 
>doesn't work?  
> do you get any error messages?
> 
> 
> On May 17, 2006, at 6:30 PM, Hayk Bezirganyan wrote:
> 
>> Hello Everybody!
>>
>> I tested the SWFobject and looks like it works. but i 
>>have some  
>> issues.
>> First is that i tried to add
>>
>> fo.addParam("scale", "noscale");
>>
>> it ads to the flash object but it doesn't work??
>> Can anybody explain me why is that?
>>
>> + Express Install doesn't work with IntelBased Macs?
>>
>> THANKS IN ADVANCED!
>> HAYK
>>
>> How low will we go? Check out Yahoo! Messenger?s low 
>>PC-to-Phone  
>> call rates.
>> _______________________________________________
>> SWFObject mailing list
>> SWFObject at lists.deconcept.com
>> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
>/pipermail/swfobject-deconcept.com/attachments/20060517/fef30a3b/attachment.htm
> 
> ------------------------------
> 
> Message: 4
> Date: Thu, 18 May 2006 09:46:40 +0800
>From: Mike Palmer <lists at stroke7.com>
> Subject: Re: [SWFObject] flashvars somtimes fail to be 
>passed in the
> 	first time	a page loads
> To: swfobject at lists.deconcept.com
> Message-ID: <446BD200.9070302 at stroke7.com>
> Content-Type: text/plain; charset=windows-1252; 
>format=flowed
> 
> Brooks,
> 
> Try doing a test on the first frame to make sure that 
>variable's value 
> is not empty and then make the second frame gotoAndPlay 
>back to the 
> first frame. If the variable holds some value jump to 
>the rest of the 
> movie. Another way would be to use a setInterval, or to 
>put a 
> onEnterFrame event handler on a movie clip.
> 
> The fact that it works on reload is a tell-tale sign 
>that you're 
> starting the movie before the variable has been loaded. 
>Make sure it's 
> there before the movie runs.
> 
> Good luck,
> 
> Mike
> 
> Brooks Andrus wrote:
> 
>> Has anyone had an issue where the flashvars sometimes 
>>are not being 
>> passed in the first time a page loads (using swfobject 
>>of course). I?m 
>> getting intermittent reports from users who have to 
>>refresh their 
>> browsers one time before the swf content will play back. 
>>This problem 
>> is not consistent and appears to vary from machine to 
>>machine and 
>> webserver to webserver. Here?s an example:
>>
>> 1) a users creates some content that uses swfobject and 
>>uploads to 
>> their webserver. My laptop consistently will load the 
>>page on the 
>> first request, but the content hangs until I refresh the 
>>browser. All 
>> subsequent loads work fine, until the cache is cleared 
>>and a new 
>> request is submitted. However, my desktop pc does not 
>>have this same 
>> issue with the file served from the same webserver.
>>
>> 2) After fishing the files in question out of my browser 
>>cache and 
>> uploading them to my own webserver, neither my laptop 
>>nor desktop have 
>> difficulties playing back the files when they are first 
>>requested.
>>
>> In trying to debug this problem, I?ve noticed that when 
>>files fail to 
>> load for the first time, a preloader swf file and an xml 
>>file are 
>> always missing from the browser cache. The names of 
>>these files are 
>> passed into the swf file embedded with swfobject via 
>>flashvars. 
>> Without either of these files nothing displays (as is 
>>too be 
>> expected). This appears to be a timing issue, but I?m so 
>>far unable to 
>> replicate the issue on any of the webservers I have 
>>access to, so its 
>> tough to trace the values of the flashvars that are 
>>supposed to be set 
>> with swfobject.
>>
>> Here?s the link to a file that seems to consistently 
>>give users 
>> difficulty:
>>
>> http://www.newviewnetworks.com/nvnhome/blog/client/demos/red5_0.4.1_NewApp/red5_0.4.1_NewApp.html
>>
>> You most likely will be facing a blank white screen 
>>until you launch 
>> the sucker for a second time. However subsequent 
>>attempts will work 
>> perfectly until you decide to clear your cache.
>>
>> Any thoughts or advice on this would be greatly 
>>appreciated (I?m not 
>> ruling out a bug in my code, but the inconsistent 
>>behavior in 
>> conjunction with my inability to find where my script 
>>might be going 
>> off into the weeds, leads me to this forum).
>>
>> Regards,
>>
>> Brooks
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>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 57
> ****************************************




More information about the Swfobject mailing list