your syntax for the flashvars is messed up, the params object  is fine (see
inline comments)


                       var flashvars = {};  / declare the flashvars object
                       // now set the props of the flashvars object
                       flashvars.xmlfile = "
http://mydomain/ssp/images.php?gallery=80";;
                       flashvars.xmlfiletype = "Director";

or you could do it this way:
                        // set the object and its props all at once
                       var flashvars = {
                                  xmlfile: "
http://mydomain/ssp/images.php?gallery=80";,
                                  xmlfiletype: "Director"
                       };

be sure to check also that yo have the crossdomain file set are required

hth - S

2008/10/8 KME's #1 fan <[EMAIL PROTECTED]>

>
> I'm trying to pass 2 flashvars and have tried all the different syntax
> in the docs. In all cases the swf does not place on the page. If I
> delete the flashvars lines the swf loads fine. I've looked at this too
> long and can't see if I'm making a silly mistake. Any help is
> appreciated.
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
> www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
>        <head>
>                <title></title>
>                <meta http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1" />
>                <script type="text/javascript" src="swfobject.js"></script>
>                <script type="text/javascript">
>
>                        var flashvars = {
>                        flashvars.xmlfile = "
> http://mydomain/ssp/images.php?gallery=80";,
>                        flashvars.xmlfiletype = "Director"
>                        };
>            var params = {};
>                        params.allowfullscreen = "true";
>                        params.allowscriptaccess = "always";
>                        var attributes = {};
>                        attributes.id = "flashcontent";
>                        swfobject.embedSWF("externalxml.swf",
> "flashcontent", "1000",
> "700", "9.0.0", false, flashvars, params, attributes);
>                </script>
>        </head>
>        <body>
>                <div id="flashcontent">
>                        <a href="http://www.adobe.com/go/getflashplayer";>
>                                <img src="
> http://www.adobe.com/images/shared/download_buttons/
> get_flash_player.gif<http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif>"
> alt="Get Adobe Flash player" />
>                        </a>
>                </div>
>        </body>
> </html>
>
> >
>

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