I can't target a playing symbol to get it to stop.
I basically have a character gallery where when I click on a character thumbnail, it will pull up their picture and information.
I'm trying to set it up so that when I click on a character thumbnail, that character has its own music playing as well.
The problem is, when I click on a second character, I can't get the first character's music to stop playing.
So for the character2 thumbnail, I open up its actions panel and paste this code in:
var mySymbolObject = sym.getSymbol("Character1Music");
var mySymbolObject2 = sym.getSymbol("Character2Music");
I do this because I want the music for character1 to stop.
But when I click on the thumbnail for character2, while the music for character2 starts, the music for character1 doesn't stop!