# Item calculator

**URL:** <https://forum.kirupa.com/t/item-calculator/274664>\
**Category:** Uncategorized\
**Created:** [November 2, 2008, 12:51pm UTC](https://forum.kirupa.com/t/item-calculator/274664 "2008-11-02T12:51:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![smecky](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@smecky](https://forum.kirupa.com/u/smecky)\
**Post date:** [November 2, 2008, 12:51pm UTC](https://forum.kirupa.com/t/item-calculator/274664/1 "2008-11-02T12:51:24Z")

</div>

Hi,  
I’m new here so don’t know if I’m breaking any rules by requesting help as a first post. Please let me know if I do.

Ok so here’s my problem. I have to make a application for college…but our AS3 classes from last year never got any further than making movieclips.  
I’m not a complete noob when it comes to simple coding, but here’s where I get stuck:  
I made an application where you can add things to a cart which shows the total cost of the items.  
And there a 3 different frames in which you can add things.  
So I already made the output text area expand over these 3 frames.  
But I’ve got no clue how and what code to use to add or delete the cost of items.

here’s a quick sketch of the setup:  
 ![](http://forum.kirupa.com/uploads/kirupa/5029/893b42e928da669d.jpg)  
1=name of one of the 3 different catagories (this being food, others are drinks and newspaper)  
2=price and buttons to add/delete one piece (+price) to the total  
3=output with total ammount.

Can anyone help me with this?

thnx
