I've got a couple of sites that I just noticed a problem with.
Each of these sites has a main nav that is built in flash, on an otherwise html page (not my favorite setup, but the client really wanted a flash nav).
On one site, I'm using some variables set via the swfObject method on the page to pass the contents of the nav and their urls to link to into the movie. On the other site, the nav info lives in an XML file that flash loads. On both, the urls provided for the buttons to link to are absolute and include "http://www..."
The problem, which I just noticed, is that if you visit either site without the w w w in the url, the flash buttons don't seem to do anything when you click. If you visit with the w w w in the url, they work fine.
I installed a crossdomain.xml policy file on both urls, specifying the url with both the w w w and without, but the buttons still fail to activate their getURL commands when visited on the non-w w w domains.
<?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="www.domain.com" />
<allow-access-from domain="domain.com" />
</cross-domain-policy>
I don't actually have to tell flash to look for that policy file, do I? It should just check automatically in the root of the domain it's on (which is where the .swfs are)?
Can anyone think of something else that could be causing this?
