XML flash audio

Out of context: Reply #3

  • Started
  • Last post
  • 7 Responses
  • 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.

View thread