# Creating a dynamic calculator - Flash MX

**URL:** <https://forum.kirupa.com/t/creating-a-dynamic-calculator-flash-mx/150902>\
**Category:** flash\
**Created:** [June 11, 2005, 2:45pm UTC](https://forum.kirupa.com/t/creating-a-dynamic-calculator-flash-mx/150902 "2005-06-11T14:45:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![olliebrindley](https://avatars.discourse-cdn.com/v4/letter/o/c37758/32.png) [@olliebrindley](https://forum.kirupa.com/u/olliebrindley)\
**Post date:** [June 11, 2005, 2:45pm UTC](https://forum.kirupa.com/t/creating-a-dynamic-calculator-flash-mx/150902/1 "2005-06-11T14:45:49Z")

</div>

Hi there,

I refer to this tutorial: [http://www.kirupa.com/developer/actionscript/functions2.htm](http://www.kirupa.com/developer/actionscript/functions2.htm)

i’m creating a calculator similar to the one Kirupa creates on the first page. I think I’ve just about got my head around calling functions, but I want the calculation output text box (text\_answer) to change dynamically, as you change the values in the variable text boxes. i.e. I don’t want to have to hit the submit button each time the values are changed.

Any ideas how would I go about making a change to the code to do this? I’ve tried lots of methods but seem to be going round in circles on something that must surely be pretty simple…! :puzzled:

cheers!

Ollie
