how do you code a score counter in adobe flash cs5?

flite

New member
hi i made a code in flash so when you click a button the score goes up and at the moment the score just disappears I'm using the code:

on (release){
_root.score=number(_root.score)+1
//score is my dynamic text-box variable
}

i know its probably stupid but i just started learning code.
 
Back
Top