i hav a dynamic text box with a variable name of total
how do i make it so it ses 0 before you start
then when things hittest it adds 1 to the score
for 0 before you start i though:
_root.total = 0;
and for +1 everytime
if (bullet.hitTest(enemy)) {
_root.total = _root.total + 1;
}
the first 1 dousnt work but i havent tried the second so would it work?