# Need pointers with calculator-like interface

**URL:** <https://forum.kirupa.com/t/need-pointers-with-calculator-like-interface/293316>\
**Category:** flash\
**Created:** [July 27, 2009, 11:39am UTC](https://forum.kirupa.com/t/need-pointers-with-calculator-like-interface/293316 "2009-07-27T11:39:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danwangkw](https://avatars.discourse-cdn.com/v4/letter/d/6f9a4e/32.png) [@danwangkw](https://forum.kirupa.com/u/danwangkw)\
**Post date:** [July 27, 2009, 11:39am UTC](https://forum.kirupa.com/t/need-pointers-with-calculator-like-interface/293316/1 "2009-07-27T11:39:22Z")

</div>

Need pointers from the good folks here.

I need to create an interface illustrated below:

![](http://forum.kirupa.com/uploads/kirupa/5677/2d0db9e41e594e85.gif)

Scenario

1. When the user clicks either the button 30 or 60, it will update dynamic textfield (value1) with the corresponding value

2. When the user clicks either the button 45 or 73, it will update dynamic textfield (value2) with the corresponding value

3. Dynamic textfield (output) will dynamically add the values of ‘value1’ and ‘value2’ and generate the total.

How do I go about scripting the interface?
