On Jul 22, 2:34 pm, "Getify Solutions, Inc." <[email protected]> wrote:
> I don't believe you should be using addDomLoadEvent *and* registerObject
> together.
>
> If you must do addDomLoadEvent, which it sounds like you do from the
> previous parts of this thread, because you have to inline, then it's
> preferred that you switch to "dynamic publishing", which doesn't use
> registerObject() but instead uses createSWF().
>
> NOTE: Don't use "embedSWF()" in your case, since that also should be in the
> HEAD. Wrap a call to "createSWF" with addDomLoadEvent around it, and that
> should work.
>
> Since dynamic and static publishing are somewhat different in the API
> signatures, please read the api documentation (link posted earlier) to make
> sure you understand what to pass to createSWF().
>
> --Kyle
Ugh! I have been trying to use this method and FF just doesn't like it
at all. In FF I get thrown to the alt content. in IE and Safari it
works great.
<!-- swfobject2.2 -->
<script type="text/javascript" src="http://content.guess.com/swfobject/
swfobject.js"></script>
<script type="text/javascript">
if (swfobject.hasFlashPlayerVersion("9.0.0")) {
var SWFLoad = function() {
var att = { data:"http://content.guess.com/GuessCanada/Landing/
Shoes/2009-07-07/shoesCA.swf", width:"666", height:"522" };
var par =
{
flashvars:"name=shoes&quality=high&menu=false&bgcolor=#ffffff&wmode=transparent&allowscriptaccess=always&allowfullscreen=false"
};
var id = "altContent";
var myObject = swfobject.createSWF(att, par, id);
};
swfobject.addDomLoadEvent(SWFLoad);
}
</script>
<div id="altContent">
Oh, I must have something wrong there because the params aren't taking
in any browser. I can see the full menu when i right click...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---