# Help with functions

**URL:** <https://forum.kirupa.com/t/help-with-functions/178497>\
**Category:** Uncategorized\
**Created:** [February 11, 2006, 2:33am UTC](https://forum.kirupa.com/t/help-with-functions/178497 "2006-02-11T02:33:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Terry\_elekes](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@Terry\_elekes](https://forum.kirupa.com/u/Terry_elekes)\
**Post date:** [February 11, 2006, 2:33am UTC](https://forum.kirupa.com/t/help-with-functions/178497/1 "2006-02-11T02:33:07Z")

</div>

submit\_btn.onRelease = function() {  
area = (height\*width);  
};

Here is the code I was trying to use. I am trying to learn flash and wanted to make a simple file where you put a number in the input text boxes( linked to height and width) and the answer would come in a dynamic text box(linked to area) When I test the movie I get Nan in the in the dynamic text box. Could use some help to understand what is going on. I attached the file I made.
