I have a Flash file that has two music tracks. The player I built works well so far except for this, I am trying to make a Pause/Play button the works on either track. Right now it only works on one. With my limited knowledge of AS3 I tried different solutions but none worked.
Here is the SWF file; http://www.garrigan.net/Question/
You will see that the Pause/Play button only works on “Kiss My Dogg” which is track 1.
Here is the FLA file; http://www.garrigan.net/Question/fla/
Below is some of the Script I wrote. The pause/play is the part I can’t figure out. Does anyone have a solution? I am stump.
Thanks in advance for any input anyone may have.
//function to load different tracks
//stop whatever is playing
display_txt.text=“Now playing Kiss My Dogg”;
display_txt.text=“Now playing Watch Dog”;
//function to create pause/play
//function to stop music tracks