# Variable between Flash and Director

**URL:** <https://forum.kirupa.com/t/variable-between-flash-and-director/40163>\
**Category:** Uncategorized\
**Created:** [January 15, 2004, 9:35am UTC](https://forum.kirupa.com/t/variable-between-flash-and-director/40163 "2004-01-15T09:35:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![clemchooi](https://avatars.discourse-cdn.com/v4/letter/c/e274bd/32.png) [@clemchooi](https://forum.kirupa.com/u/clemchooi)\
**Post date:** [January 15, 2004, 9:35am UTC](https://forum.kirupa.com/t/variable-between-flash-and-director/40163/1 "2004-01-15T09:35:41Z")

</div>

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.
