Thanks for the suggestion.

To the above point, I honestly don't understand the "base" parameter
too well. Is the base parameter used to change or correct paths that
are used in your Flash file? Or does it help point to the location of
your .swf file?

I ended up using absolute paths in my swfobject code to get this
going, and in my XML file, I essentially did the same thing.

To fix my bigger issue, after much stressing, I figured out that I had
the variable name wrong, the one that was telling my Flash file what
XML file to use. Once I updated that, my code worked.

So instead of this:
  <param name="flashvars" value="xml=bannerhome" />

I changed it to this:
  <param name="flashvars" value="primaryXML=bannerhome.xml" />
(for example)



On Sep 9, 1:26 pm, Sam Sherlock <[email protected]> wrote:
> try adding
> <param name="base" value="/flash" />
>
>  to each object of the static output
>
> - S
>
> 2009/9/9 mplsdan <[email protected]>
>
>
>
>
>
> > I am trying to pass an XML file to my swfobject script, and having
> > trouble. I used the online generator, but I'm not sure where I define
> > my XML file in the code? I tried the flashvars, with xml="filename"...
>
> > I need this code to be in the body of the page, so I'm using the
> > 'static' method. I'll paste the URL of the site in question, and my
> > code below.
>
> > The site URL:
> >http://precision.thenetforward.com
>
> > ----------------
>
> > The swfobject code I'm using:
>
> > <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> > width="990" height="280" id="precisionBanner">
> >                                <param name="movie"
> > value="/flash/flashhead.swf" />
> >                                <param name="allowfullscreen" value="false"
> > />
> >                                <param name="allowscriptaccess"
> > value="sameDomain" />
> >                                <param name="flashvars"
> > value="xml=bannerhome" />
> >                                <!--[if !IE]>-->
> >                                <object type="application/x-shockwave-flash"
> > data="/flash/
> > flashhead.swf" width="990" height="280">
> >                                        <param name="allowfullscreen"
> > value="false" />
> >                                        <param name="allowscriptaccess"
> > value="sameDomain" />
> >                                        <param name="flashvars"
> > value="xml=bannerhome" />
> >                                <!--<![endif]-->
> >                                        <a href="
> >http://www.adobe.com/go/getflashplayer";>
> >                                                <img src="
> >http://www.adobe.com/images/shared/download_buttons/
> > get_flash_player.gif" alt="Get Adobe Flash player" />
> >                                        </a>
> >                                <!--[if !IE]>-->
> >                                </object>
> >                                <!--<![endif]-->
> >                        </object>
--~--~---------~--~----~------------~-------~--~----~
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