Forum Moderators: open

Message Too Old, No Replies

flash and xml

         

electricocean

9:22 pm on Aug 30, 2005 (gmt 0)

10+ Year Member



how do i get an xml file into flash?

thanks,
electricocean

Richard_N

9:35 pm on Aug 30, 2005 (gmt 0)



if its using actionscript 2 with the XML object.

electricocean

11:45 pm on Aug 30, 2005 (gmt 0)

10+ Year Member



what do you mean?

Richard_N

7:16 am on Aug 31, 2005 (gmt 0)



you asked how it was done, I told you.

You need to use the XML object in actionscript 2 (the code language for flash MX2004 Go to macromedia and search the actionscript reference library

sokhodom

5:05 pm on Aug 31, 2005 (gmt 0)

10+ Year Member



electricocean

You may have to learn how to use XML object available in Flash. Another thing to learn is the DOM (Document Object Model). This is used to dig inside the xml tree.

>>Do search google for xml and flash tutorials
>>click on my profile and see my site (One new experiment is dealt with xml load photos).

electricocean

5:14 pm on Sep 1, 2005 (gmt 0)

10+ Year Member



Hi thanks for all the posts.

can you give me a link to learn XML object in actionscript?

also, i am making the flash file on my site be able to play music and choose between 10 songs. The song info is stored in a xml file containing the url of the file, the name, the album, the artist, and the time. I want flash to get the contents out of the xml file into flash (and preload the url of the file) and show the info in the xml file.

Is this right or is there a better way to do this?

thanks,
electricocean

Richard_N

10:50 pm on Sep 1, 2005 (gmt 0)



better to buy a book IMO any book on mx2004 and actionscript should give you the basics, not aloud to post URL's here it seems to bother them for some reason.

electricocean

8:21 pm on Sep 2, 2005 (gmt 0)

10+ Year Member



Thnx i got some good tutorials thru google and it should all work

aspirin99

11:58 am on Sep 15, 2005 (gmt 0)

10+ Year Member



Here's some good examples of XML audio players.

[cowfly.com...]