I agree with you Kyle, although I preferred my Nintendo cartridge example to illustrate the point. :) I'm not sure if the PrimeMarketing redid the code on that page or not. But yes, it works fine for me as well, so if you are seeing problems there, then something is odd about your setup, PrimeMarketing, which could be anything from local Flash install being wonky to having a lesser version of Flash installed.
Conclusion: Embed ALL SWFObject code in <HEAD> of HTML page. This has the double benefit of separating your presentation from your scripting, and it JUST WORKS. Common Question over the past week: Some web authors do not have access to the <head></head> portion of their web documents. Yet they still would like to use SWFObject to embed their Flash. Up until FF3.5, an inline technique has seemed to work just fine, although it might be more luck than reproducible behavior. However, FF3.5 consistently fails to show an embedded SWF file when trying to define SWFObject inline in the <BODY> portion of the HTML. Question to developers: Should we or should we not provide/solve for a way where they can continue to use SWFObject to embed content? Currently, observation has shown either wrapping code in a DOMready event or disabling the default show/hide behavior of SWFObject allows FF3.5 to show the expected Flash movie or alt content. However, these techniques also lead to annoying flashes and other UX foibles that are extremely annoying if not showstoppers for most people. In order to reliably reproduce this effect, simply take one of the many variations of Flash embed code out there, and move the script elements in line with the Div being affected. (Not within the div, as that would be terribad). Attempt to view the file using Firefox 3.5.1 either on a Macintosh or a PC. At least on my Mac and VirtualBox driven Windows XP PC, everytime I try it, the .swf file fails to load. Whether I'm running into a latency or race condition based on the specific .swfs I am using as my test case is unknown. But I can reliably reproduce this condition on my laptop. I'll get back to you to see if I can do the same on another friends computer to corroborate, though. Vincent On Fri, Jul 24, 2009 at 4:12 PM, Getify Solutions, Inc. <[email protected]>wrote: > > On the contrary, that SWF shows fine for me at the link you provided: > http://fischerwirt.primemarketing.at/swfobject/noShow.html > > I have FF3.5 on windows XP SP3. > > --Kyle > > > > > -------------------------------------------------- > From: "PrimeMarketing" <[email protected]> > Sent: Friday, July 24, 2009 12:24 PM > To: "SWFObject" <[email protected]> > Subject: Re: Firefox Flash item invisible > > > > > Kyle, please don't get me wrong, but ... > > > > if you say "This is incorrect information.", I definitely disagree > > with you, because this swfobject.switchOffAutoHideShow(); is exactly > > what makes my test.swf show up at > > http://fischerwirt.primemarketing.at/swfobject/ > > > > Feel free to try > > http://fischerwirt.primemarketing.at/swfobject/noShow.html > > to see the effect which Buglish has described. > > > > Saying about switchOffAutoHideShow(); "That function is for a > > different purpose, and should not be used > > in the way you are describing." is not helpfull at all. > > > > Whereas putting swfobject.switchOffAutoHideShow(); before > > swfobject.registerObject(); seems to be - well - at least a quite good > > work around. > > > > So, do you know why the test.swf (as downloaded) it's not working with > > my German Firefox 3.0.12, German Vista Ultimate SP2, German Flash > > Plugin WIN 10,0,12,36 > > > > or do you still insist in saying: "Don't use this as a work around - > > but I I'm not sure about why you shouldn't" :-) > > > > regards > > Heinz > > > > On 21 Jul., 17:09, "Getify Solutions, Inc." <[email protected]> wrote: > >> You haven't provided a link, so I can't see, yet. > >> > >> It's possible your problem is that the SWF you're trying to load doesn't > >> get > >> the proper stage size. We've had a number of people with issues about > >> this. > >> > >> Or it could be something else particular to your SWF. > >> > >> But in fact, the static SWF loading does work in FF, so you shouldn't > >> need > >> to use extra API functions to hack it to work. > >> > >> This function in fact is used to control/prevent the flicker that some > >> people see where the alternate content shows for a brief snap before the > >> SWF > >> content shows up. Our code doesn't have any functionality that leaves a > >> SWF > >> totally hidden even after embed, as you seem to be trying to use this > >> function to undo. > >> > >> So, if your SWF is loading but not showing, there's another problem and > >> we > >> can troubleshoot it if you want to post a link. > >> > >> But, I just didn't want misinformation about this function be the cure > >> for > >> this problem, because that's improper usage. > >> > >> You can read our documentation for a more detailed explanation of the > >> purpose of the function in question. > >> > >> --Kyle > >> > >> -------------------------------------------------- > >> From: "Buglish" <[email protected]> > >> Sent: Tuesday, July 21, 2009 9:54 AM > >> To: "SWFObject" <[email protected]> > >> Subject: Re:FirefoxFlash item invisible > >> > >> > >> > >> > From the link you can see I used the sample text exactly. > >> > Only when I usedFirefoxthe flash object was invisible. The only way > >> > I could get it to work was to add the switchOffAutoHideShow(); > >> > function. > >> > >> > What is the real functionality of this function? > >> > >> > On Jul 15, 5:32 pm, Buglish <[email protected]> wrote: > >> >> See linkhttp://www.bam-sa.co.za/ > >> > >> >> On Jul 15, 4:55 pm, "Getify Solutions, Inc." <[email protected]> > wrote: > >> > >> >> > This is incorrect information. You must have something wrong in the > >> >> > code you > >> >> > are using. That function is for a different purpose, and should not > >> >> > be > >> >> > used > >> >> > in the way you are describing. It actually refers to the alternate > >> >> > content > >> >> > visibility, not the flash swf object visibility. > >> > >> >> > If you want to post some code here, or better yet, a link, we can > >> >> > probably > >> >> > spot the issue pretty quickly. > >> > >> >> > --Kyle > >> > >> >> > -------------------------------------------------- > >> >> > From: "Buglish" <[email protected]> > >> >> > Sent: Wednesday, July 15, 2009 9:25 AM > >> >> > To: "SWFObject" <[email protected]> > >> >> > Subject:FirefoxFlash item invisible > >> > >> >> > > Just using the example for static insert results in the flash > item > >> >> > > being invisible for onlyFirefoxbrowsers. > >> >> > > After lots of searching and reading though the API I tried using > >> >> > > the > >> >> > > swfobject.switchOffAutoHideShow(); > >> >> > > command before > >> >> > > swfobject.registerObject("myId", "9.0.0"); > >> >> > > which made it worked. > >> > >> >> > > Add new FAQ answer that if the flash object is not visible in Non > >> >> > > IE > >> >> > > browsers; use the switchOffAutoHideShow command. > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
