Question
Help Loading Image with XML
I am working on trying to get use an XML file to load
information that is called upon. So far I was able to load the XML
file and call out text and display in flash. I am having an issue
getting actionscripts to grab the URL string from the XML of the
image i want to use. I am having trouble with my imageLoader
finding the URL. Maybe Im parsing it wrong? anyway below is the XML
and attached is my AS3.
<?xml version="1.0" encoding="ISO-8859-1"?>
<sherwoodGuide>
<loc1>
<bld>Reception Area </bld>
<desc>Information for loc 1 goes here</desc>
<image pic_url="whatever1.jpg" />
</loc1>
</sherwoodGuide>
Thanks for the help.
<?xml version="1.0" encoding="ISO-8859-1"?>
<sherwoodGuide>
<loc1>
<bld>Reception Area </bld>
<desc>Information for loc 1 goes here</desc>
<image pic_url="whatever1.jpg" />
</loc1>
</sherwoodGuide>
Thanks for the help.