Luchyx,

Thanks for the suggestion, I am going to pass in the url using flash
vars as you have suggested.

-Aaron

On 9/18/06, l u c h y x <[EMAIL PROTECTED]> wrote:
Your movie should receive or load a URLparameter such as:
mymenu.swf?xml_config_path=<?php echo $_SERVER['host']."/menudp.xml";?>
And you don't need to hard-code the uri in the SWF anymore.


On 9/18/06, Aaron Roberson <[EMAIL PROTECTED]> wrote:
>
> Serge,
>
> Thank you for your help. I copied and pasted that code into a new
> document named crossdomain.xml and uploaded it to the root of my
> server and now it works!
>
> Here is a page on Adobe.com about crossdomain.xml:
> http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213
>
> This is the only legitimate fix for me since my movie is on more than
> one page across several directories. Relative paths would not have
> worked.
>
> Thanks all,
> Aaron
>
> On 9/18/06, Serge Jespers <[EMAIL PROTECTED]> wrote:
> > Hi Aaron,
> >
> > Put a crossdomain.xml in the root of the server and it will all work
> > out...
> > The file should look like this:
> >
> > <?xml version="1.0"?>
> > <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/
> > dtds/cross-domain-policy.dtd">
> > <cross-domain-policy>
> >     <allow-access-from domain="whitehorsemedia.com" />
> >     <allow-access-from domain="www.whitehorsemedia.com" />
> > </cross-domain-policy>
> >
> >
> > Serge
> >
> > > I have a menu constructed from XML and I am parsing it in Flash to
> > > create my site navigation. However, I am having a problem loading the
> > > xml so that it is parsed and displayed on my website when accessed
> > > directly (as in http://whitehorsemedia.com) and when accessed using
> > > www.whitehorsemedia.com (using the preceding www).
> > >
> > > Here is the code I am using to load my xml:
> > > menu_xml.load("http://www.whitehorsemedia.com/inc/navigation/
> > > menu.xml");
> > >
> > > If you go to http://www.whitehorsemedia.com the navigation displays
> > > fine. But if you go to http:whitehorsemedia.com the navigation does
> > > not display at all.
> > >
> > > If I change the code to:
> > > menu_xml.load("http://whitehorsemedia.com/inc/navigation/menu.xml";);
> > >
> > > I get the opposite effect.
> > >
> > > How can I get the navigation to display at both addresses?
> > >
> > > Thanks in advance,
> > > Aaron Roberson
> > > _______________________________________________
> > > Flashcoders@chattyfig.figleaf.com
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > > Brought to you by Fig Leaf Software
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com
> > > http://training.figleaf.com
> >
> > _______________________________________________
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



--
l   u   c   h   y   x
r i a e v o l u t i o n (r)
[EMAIL PROTECTED]
http://www.riaevolution.com
Phone: +54 (11) 4931-7006
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to