Variable in Flash 5

Hi everyone,

I got one problem about variable in flash. When the Director send a variable command to flash how do I tell the flash to jump to next label?

// speaker is variable from director

onClipEvent (enterFrame) {

if (speaker == "sound_on") {

if (speaker == "sound_off") {



Please refer to the fla file. Your reply will be kindly appreciate.