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 > _______________________________________________ > [email protected] > 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 _______________________________________________ [email protected] 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
_______________________________________________ [email protected] 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

