I should note that our tests aren't exhaustive, and so definitely shouldn't
be taken as gospel, but correct given the specific pages I've personally
worked with, which currently totals 3 users in the wild.

Vincent

On Fri, Jul 24, 2009 at 1:01 PM, Vincent Polite <
[email protected]> wrote:

> @Primemarketing, while I agree with you in concept, in Kyle's defense, I
> think he's saying while using switchOffAutoHideShow() allows users to see
> their Flash content isn't as much a solution as taking advantage of a
> function that happens to solve a condition much like slapping a television
> set with a fuzzy image "solves" the problem of a bad image.  The real
> solution is to either get cable or move your TV somewhere where there's a
> clear signal, not to advocate that everyone slap their TVs.  :)
>
> I do think the use of the term "misinformation" is misapplied.  It's not a
> best solution, but blowing on the Nintendo cartridges and slapping a TV
> worked for millions of people.  /shrug
>
> Perhaps not a great example, but hopefully you get the tongue-in-cheek
> point of it.
>
> In terms of switchOffAutoHideShow, we've been able to establish in other
> threads the following:
>
> 1.  If you move the code in the the <head> of your content instead of
> relying on page loading and DOM race conditions to rule how your Flash
> content gets embedded, then the standard code seems to work in FF3.5 as well
> as other browsers.
> 2.  If you move your code (whether it's a register or the dynamic
> publishing version of embedSWF) into a DOM ready event, such as
> $(document).ready - jQuery or probably the domready event handler that comes
> with SWFObject, then that works as well.
> 3.  If you try to run things using inline scripting, then you get invisible
> non-embedding Flash in FF3.5.
>
> In terms of the "why" this happens, I unfortunately have to leave that to
> the folks who know the inner workings of Mozilla.  Dealing with your flash
> embed code and implementing it as specified in items 1 and 2 above, however,
> should work for you.  If you absolutely positively have to do it with step3,
> then using the switchOffAutoHideShow() function seems to provide relief, but
> this seems to be based on a race condition that has as much to do with how
> 3.5 does rendering as it might have to do with any sound programming logic
> involving SWFObject.
>
> Vincent
>
>
>
> On Fri, Jul 24, 2009 at 12:24 PM, PrimeMarketing <
> [email protected]> wrote:
>
>>
>> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to