XML flash audio
- Started
- Last post
- 7 Responses
- goygoygoy0
i know a bit about XML with flash, but never worked with mp3& xml, but i guess it should work exactlly the same that with texts or jpegs. send me your fla if you don't mind, i'll watch it.
- breadlegz0
do I just put the name of the track in the XML file??
- unfittoprint0
Make an XML file with the track name, location, artist, etc... Then you make an XML object file in Flash. Do an onLoad function that will parse the XML and give you an array with the track's info, location, etc.
Make the control buttons fetch the necessary file info. Use the location together with a Sound object (make a new one everytime, deleting the previous one), use an attachSound with the mp3 location and voilá. After that is just a question of options, like volume, FForward and Rewind, etc...
good luck.
- georgietexan0
anybody know where a good online toturial for this process is? links... I'm looking into the seam thing.
- rd110
somewhere here:
www.friendsofed.com
- JazX0
there are a lot of those around, and all controlled by a basic XML file which you can totally edit.. It makes sense actually.
- unfittoprint0
#1: learn how to parse an XML
http://actionscript-toolbox.com/…
http://robohouse.com/flash_tutor…
http://actionscript-toolbox.com/…
#2: create a Sound Object
that's all you need to know. good luck.