I have always left the trailing slash off the base param
eg
> var params = {
> base: "http://www.A.com <http://www.a.com/>",
> allowScriptAccess: "always"
> };
also check that you have crossdomain.xml set up - google "flash crossdomain"
- S
2009/4/16 nitech <[email protected]>
>
> Hi, I am having the same problem. I'll post if I find a solution.
>
> On Mar 20, 4:43 pm, Drew <[email protected]> wrote:
> > I am embedding a .swf nav menu for hosted at domain A.com into a page
> > hosted on domain B.com. The links in the nav are all relative URLs,
> > so I have to add a 'base' parameter to make it put the proper root URL
> > on the links. Here's what I've got:
> >
> > <script type="text/javascript">
> > var flashvars = {
> > section: "home.swf",
> > basePath: "http://www.A.com/flash/"
> > };
> > var params = {
> > base: "http://www.A.com/",
> > allowScriptAccess: "always"
> > };
> > var attributes = {};
> > swfobject.embedSWF("http://www.A.com/flash/menu.swf", "flash",
> > "770", "250", "7.0.0", '', flashvars, params, attributes);
> > </script>
> >
> > This works like a charm in Firefox. I load up the page at B.com,
> > click a link in the nav, and I end up at A.com/desiredpage.htm.
> > However in IE7, I load up the page at B.com, click a link in the nav,
> > and I end up at B.com/desiredpage.htm, which gives me a 404 Error
> > because those pages aren't on this site.
> >
> > I'm at a loss here. Any suggestions?
> >
> > Drew
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---