# Should be absurdly easy

**URL:** <https://forum.kirupa.com/t/should-be-absurdly-easy/156762>\
**Category:** Uncategorized\
**Created:** [July 27, 2005, 9:03pm UTC](https://forum.kirupa.com/t/should-be-absurdly-easy/156762 "2005-07-27T21:03:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmorin](https://avatars.discourse-cdn.com/v4/letter/j/e99b99/32.png) [@jmorin](https://forum.kirupa.com/u/jmorin)\
**Post date:** [July 27, 2005, 9:03pm UTC](https://forum.kirupa.com/t/should-be-absurdly-easy/156762/1 "2005-07-27T21:03:32Z")

</div>

this should be totally easy, but I simply don’t understand actionscript beyond a ridiculously rudimentary level (I’m a designer).  
All I want to do is a simple calculation. I have 3 input text boxes. Each is a separate variable: width, length, and desired. After the user enters numbers into each text box, I want to hit a button and have Flash perform a calculation and display the answer in a dynamic text box (variable name “total”). Specifically, the calculation would be:

(width_length_desired)/7000

Can someone please tell me what code I need to put on the calculate button and what code I need to put on the timeline and anything else I need to make this work.
