I suspect the way you are defining your flashvars as a parameter attribute
is munged.  Which is why I would use the embedSWF method and build your
attributes, parameters, and flashvars as single - level object/arrays
instead of doing the nested name value thing in the parameters collection.

Unfortunately I have a meeting to head to, so I won't be able to take a look
at this further.  I would strongly suggest you go back to the code
generator.  Generate the code there for the specific variables you are
interested in.  The Dynamic publishing method already handles the whole
"make sure you have version X of Flash movie" for you.

The only difference between the code generator and what you will want to put
in your page because you can't put things in the <head> portion of the page,
would be to set up your calls inside your SWFLoad function which should just
be a straight call to define the parameters and embed the Flash object with
a minimum standard for Flash defined in the embedSWF method.

VP

On Wed, Jul 22, 2009 at 4:20 PM, citznfish <[email protected]> wrote:

>
> Wow,
>
> so none of this seems to work for FireFox and inline calls.
>
>
> This is where I ended up:
>
> <!-- swfobject2.2 -->
> <script type="text/javascript" src="http://content.guess.com/swfobject/
> swfobject.js <http://content.guess.com/swfobject/%0Aswfobject.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"><a   href="http://shop.guess.com/
> ProductListing.aspx?page=GRID&browse=1&root_category|46=Women&category|
> cat_47|2816=Tees&rpt=  &pt=ProductListing.aspx"><img src="http://
> content.guess.com/GuessCanada/Landing/Shoes/2009-07-07/
> shoesStaticImage.jpg<http://content.guess.com/GuessCanada/Landing/Shoes/2009-07-07/%0AshoesStaticImage.jpg>"
> alt="GUESS shoes"   title="GUESS shoes"
> border="0" /></a></p><p><h4>Our web site is designed for Flash enabled
> browsers. If you would like   the full experience please install the
> latest Flash player by clicking <a   href="http://www.adobe.com/go/
> getflashplayer">here.</a></h4></p>     </div>
> <!-- End swfobject2.2 -->
>
> Seems like the parameters are not being picked up as the full menu is
> still visible in Safari and IE. In FF I get the alt content (Static
> image) and no Flash.
>
> On browsers that show the flash I see the alt content for a split
> second.
>
> Again, this is visible here:   http://tinyurl.com/kj6ojy
>
>
> Any other ideas other than putting the code in the head? Or what am I
> doing wrong in the code example above?
>
> Thanks!
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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