Calculate values

i need to create a thingy that calcuates values when entered and i am not sure what type of scripting i need to use

i have included the fla so you all have a general idea of what i need.

basicaly what i need is

items in step 1 to total
items in step 2 to total
then step 2 subtracted from step 1 to give me a total for step 3