# Flash simple calculator question

**URL:** <https://forum.kirupa.com/t/flash-simple-calculator-question/212052>\
**Category:** Uncategorized\
**Created:** [January 8, 2007, 4:05am UTC](https://forum.kirupa.com/t/flash-simple-calculator-question/212052 "2007-01-08T04:05:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hunson](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@Hunson](https://forum.kirupa.com/u/Hunson)\
**Post date:** [January 8, 2007, 4:05am UTC](https://forum.kirupa.com/t/flash-simple-calculator-question/212052/1 "2007-01-08T04:05:13Z")

</div>

im trying to create a form where the user can input their width and height of a printing and the calculator will automatically generate the total feet of the printing.

sorry if my scripting is bad, but it goes a little something like this:

calculator.onEnterFrame = function() {  
var heighter:Number = calculator.height1.text;  
var widther:Number = calculator.width1.text;  
var total:String = heighter+widther;  
calculator.Total.text = total+“ft”;  
calculator.Price.text = “$”+total\*1.50  
};

at least i tot it goes something like this anyway.  
any advice?  
been working on it for 3 days =.=
