PDA

View Full Version : variable in Flash 5



clemchooi
January 15th, 2004, 05:40 AM
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") {

_root.speak09.gotoAndStop("onn");
}
if (speaker == "sound_off") {

_root.speak09.gotoAndStop("off");
}
}


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