Groups | Blog | Home
all groups > flash actionscript > july 2005 >

flash actionscript : XML Troubles


lewiscobley
7/19/2005 10:21:58 PM
Hi, I have made a simple app to display the Halo 2 XML feed for my Gamertag,
when I run the app localy it all works fine, but when I upload it to my site
(http://www.flash-mx.com/faq/Parsing_XML_in_Flash_Using_the_XMLConnector.htm
tutorial to my needs. Is there any obvious thing that wil prevent the dynamic
data being displayed?

Another quick question, if I had a textinput box on frame 1 with the main app
on frame 2, what code will I need to set an URL given in the text box to
display that person's data on the main form?

Thanks.
juankpro
7/20/2005 12:00:00 AM
lewiscobley
7/20/2005 12:00:00 AM
LuigiL
7/20/2005 12:00:00 AM
There has to be a file 'crossdomain.xml' on the server you are connecting to.
And it goes like this:
<cross-domain-policy>
<allow-access-from domain="www.yourdomainwithflash.com" />
</cross-domain-policy>
lewiscobley
7/20/2005 12:00:00 AM
LuigiL
7/20/2005 12:00:00 AM
lewiscobley
7/20/2005 12:00:00 AM
lewiscobley
7/20/2005 12:50:16 PM
I have created a page with screenshots and code and also a copy of the flash
file itself, hopefully this will help solve the problem. The page can be found
http://www.websamba.com/ffxonline/xml.

Thanks,

Lewis
LuigiL
7/20/2005 1:00:43 PM
AddThis Social Bookmark Button