I have this problem. I need to assign 5 different mp3 to five differents buttons.
Im loading the path to the mp3 via an xml file.
In the kirupa tutorials i found a mp3 player that (with a little bit of editing) does what i want. I only have an inconvinient. in this mp3 player the path to the mp3 is in an attribute and i need it to be in a node value.
this is the fla working as i want with the data in attributes. (
drill_a.zip )
And this is as far i could get loading the data from a bigger XML and with the information in values. (
drill_a_test.zip )
The issue is in the loop to assign the sounds to the buttons. it perfoms the loop but assing the last sound to every button and only the last sound.
i really apreciate your help.