# Flash as2 Game Help: Input, Ouput, and a button

**URL:** <https://forum.kirupa.com/t/flash-as2-game-help-input-ouput-and-a-button/330321>\
**Category:** flash\
**Created:** [January 2, 2013, 3:29am UTC](https://forum.kirupa.com/t/flash-as2-game-help-input-ouput-and-a-button/330321 "2013-01-02T03:29:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason\_Scholz](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Post date:** [January 2, 2013, 3:29am UTC](https://forum.kirupa.com/t/flash-as2-game-help-input-ouput-and-a-button/330321/1 "2013-01-02T03:29:00Z")

</div>

So, my next adventure is this:

- Input box where the player inputs a dollar amount. 4 digits max.
- A graphic with an assigned value of 100
- The player inputs up to 4 digit monetary value, then clicks a submit button. The button is checking the inputbox value with the graphic if they match goes to a new scene. If they don’t match, goes to a different scene.

What I have:

-Button with an instance name of bid  
-Input Text box with a max digit input of 4 digits.  
-Graphic symbol converted to a MC with an instance name of item 1

I can’t figure out how to code the button so on (release) it will check the 2 values between the value the player inputed and the value I assighned to the item1.

Thanks again for your help ppl

Jason
