Aaron Roberson wrote:

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

If you're using Apache, create a .htaccess file in your doc root like the one below, and from Flash only load assets from whitehorsemedia.com (without the www).

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.whitehorsemedia\.com$ [NC]
RewriteRule ^(.*)$ http://whitehorsemedia.com/$1 [R=301,L]

Alternatively, google for crossdomain.xml, or strictly use relative paths.

Cheers,
Claus.

--
claus wahlers
cĂ´deazur brasil
http://codeazur.com.br
_______________________________________________
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