ok next issue: I have the proper sound file playing when you click the corresponding play Icon (thanks to newt and the uniquely assigned instance variable). I even managed to get any other tracks that were playing to stop before the new one starts playing...(what I mean is that if you click the top most play button...get half way through the track and then decide to listen to the track associated with the play Icon 3 down...the music that was playing for play button one stops and the music for play button 3 plays.
Now what I am trying to do is have the play button sprite for the currently selected track switch to the next frame (a "stop" icon). Which when clicked actually stops the track. Additionally, if I switch to another track I need the sprite for the song that was just playing (ans is on the "stop" frame to revert back to the "play" frame.
I understand how to do all this if I had seperate play sprites but I know that is terribly wasteful. If I could get some more help understanding all this my code would be far more efficient and my project size smaller.
This is what I have at present:
Ontouched PlayIcon
System|PlayIcon.PlayButton=0|Aduio|Stop all
|PlayIcon|Set animation frame to 1
|Audio|PlayTrack1
System|PlayIcon.PlayButton=1|Aduio|Stop all
|PlayIcon|Set animation frame to 1
|Audio|PlayTrack2
System|PlayIcon.PlayButton=2|Aduio|Stop all
|PlayIcon|Set animation frame to 1
|Audio|PlayTrack3
This setup means that the tracks play as they should...but the Play Icon for anything I have "touched" is left at frame 2 (the stop button) and I cant actually stop the tracks from playing unless I click another track to play. I am sure there is something easy I am missing here...so any help would be appreciated.