# gotoAndStop(variable) , tellTarget(variable)

**URL:** https://forum.kirupa.com/t/gotoandstop-variable-telltarget-variable/294431
**Category:** flash
**Created:** [August 13, 2009, 9:30pm UTC](https://forum.kirupa.com/t/gotoandstop-variable-telltarget-variable/294431 "2009-08-13T21:30:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Shuuha](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@Shuuha](https://forum.kirupa.com/u/Shuuha)
#### Post date: [August 13, 2009, 9:30pm UTC](https://forum.kirupa.com/t/gotoandstop-variable-telltarget-variable/294431/1 "2009-08-13T21:30:02Z")

</div>

Would anyone know if its possible to make a movieclip to gotoAndStop on a certain variable, and whether or not you can decide which movieclip to go to also through a certain variable?

```auto
var frame:Number = 2;
var target:String = movable;
// movieclip named movable

tellTarget(target){
	gotoAndStop(frame);
}

```
