PDA

View Full Version : how to display xml data in flash?


jnk
10-01-2002, 06:50 AM
guys,

ive read about xml and flash and im greatly interestd, but i still dont get how to display the data entered in the xml docu in flash.

for example, my xml docu below:

<?xml version="1.0" encoding="iso-8859-1"?>

<memberslist>

<member name="Michael Jordan">
<sub team="washington wizards"></sub>
<sub position="general manager"></sub>
</member>

</memberlist>

how do i tell flash to display this?

ive been reading stuff on the web, but they come up short, and most of them come complete with AS which makes it more confusing...since i wannna learn from the ground up.

help

Jesse
10-01-2002, 02:40 PM
Flash has no built in display mechanism for XML, but it can handle it. You have to write your own parsing routine which defines what Flash aught to do with the XML data it reads in. I wont say any more than that because I'm writing a tute on the topic and I'd probably be better off spending the time on getting the tute done and online.

jubei
10-30-2002, 09:39 PM
You can loop through your XML with actionscript, building a variable which you then send to a text box. I have an OS file of it which i tried to upload here, but it didn't like the xml file.
I'll try again, but if it doesn't work and you're still interested, just e-mail me and i'll send you the file.