Why don't use relative paths ?.

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




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

Reply via email to