# Now this is some ingenious thinking! Anybody have a solution?

**URL:** <https://forum.kirupa.com/t/now-this-is-some-ingenious-thinking-anybody-have-a-solution/177675>\
**Category:** Uncategorized\
**Created:** [February 4, 2006, 12:07am UTC](https://forum.kirupa.com/t/now-this-is-some-ingenious-thinking-anybody-have-a-solution/177675 "2006-02-04T00:07:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hogfish](https://avatars.discourse-cdn.com/v4/letter/h/b19c9b/32.png) [@hogfish](https://forum.kirupa.com/u/hogfish)\
**Post date:** [February 4, 2006, 12:07am UTC](https://forum.kirupa.com/t/now-this-is-some-ingenious-thinking-anybody-have-a-solution/177675/1 "2006-02-04T00:07:35Z")

</div>

I have a mc, its a video clip of a dog actually imported into flash. The movie has the dog jumping, sitting, rolling over and barking. I have frames labeled at each different trick such as frame 1 is labeled: Jumping so from frame 1 to frame 10 he is jumping.

With buttons I can go to the different frames:  
jump.onPress = function () {  
dogvideo.gotoAndPlay(1);  
}

## It works. SO here is the ingeniuos part: You Ready?

I have a text field: name: dogActions it is an imput textfield

What I want to do is have user enter in a set of keywords (Commands) which once enterted and the clicks the button labeled: execute: it does the same thing the button above did which is it goes to the frame and play the dog tricks.

Keywords or Commands  
jump  
rollover  
sit  
bark

Entering any of the above will go to the labeled frame and play it…

I need help, I don’t know how to use a user imput to control the time line.

Any help would be great and it would be a challenge for anyone.

Thank you
