# Variable

**URL:** <https://forum.kirupa.com/t/variable/51657>\
**Category:** flash\
**Created:** [May 15, 2004, 5:37am UTC](https://forum.kirupa.com/t/variable/51657 "2004-05-15T05:37:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cardjorg](https://avatars.discourse-cdn.com/v4/letter/c/a183cd/32.png) [@cardjorg](https://forum.kirupa.com/u/cardjorg)\
**Post date:** [May 15, 2004, 5:37am UTC](https://forum.kirupa.com/t/variable/51657/1 "2004-05-15T05:37:48Z")

</div>

Hi everyone,

I have a question about how to use the flash mx 2004 commponents for example lets say I have a numeric steper and when you click 2 times you’ll see in it 2 so when i click a button a text box will say correct if it has #2 in the numeric steper and my problem is that how do i call that answer correct here is the script i made and a picture too so you get an idea.

```auto

//on button
on(press){
if(_root.what???? == 2){
_root.textbox1 = "correct";
}else{
_root.textbox1 = "wrong";
}
}

```

![](http://www.chase3000.com/x/numeric.gif)

thanks,
