I have inherited perhaps the worst single piece of code project from a developer who left my company. The project is a weather widget that calls data and external SWFs from multiple domains. I am being asked to refactor the weather widget to work in multiple testing environments during a CMS conversion of the widget’s host site.
There is an icon clip that loads weather icons (e.g. clouds) – SWFs (they’re hand animated, I think) – to show the conditions. When there’s a severe weather alert, however, based on the weather XML feed we’re using, a static SWF is loaded in the icon spot. To that static SWF we add an onRelease handler to facilitate some functionality for describing the alert in detail.
Except – it – the onRelease handler – doesn’t work outside of the Flash IDE test environment. I can test it and the onRelease handler works fine locally in the Flash IDE. I am 90% certain that it will also work in the production environment because we have existing crossdomain.xml files in the production environment that have kept this widget working up until now.
HOWEVER – when I post the file to sub-sub testing domains off the production domain, the onRelease handler fails.
Where is the rub? Is it a Flash security / crossdomain.xml file issue?
IronChefMorimoto