# Input Question

**URL:** https://forum.kirupa.com/t/input-question/195993
**Category:** flash
**Created:** [August 4, 2006, 1:27pm UTC](https://forum.kirupa.com/t/input-question/195993 "2006-08-04T13:27:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![VaporAction](https://avatars.discourse-cdn.com/v4/letter/v/8491ac/32.png) [@VaporAction](https://forum.kirupa.com/u/VaporAction)
#### Post date: [August 4, 2006, 1:27pm UTC](https://forum.kirupa.com/t/input-question/195993/1 "2006-08-04T13:27:21Z")

</div>

I’m hoping someone can help me. Here’s what I’m trying to do…  
I’m making an interactive chemistry education page, where the user drags different elements onto a scale.  
The scale displays the weight of the element and then the user guesses what the element is, based on it’s weight.  
The user then enters the name of the element into a text field.  
If the name is correct, a message saying “correct” is displayed.  
If the name is wrong, a message saying “try again” is displayed.  
I know how to make the elements draggable and how to have them perform a hitTest with the scale and display the weight…but how do I make Flash compare the user input in the text field with the element currently on the scale?  
I appreciate any help I can get with this…
