So I want to add a dynamic text that acts as a score. You collect something the score goes up by 1 and reverts back to zero if you get hit. I'm able to get the dynamic text inside a Vcam and a default number, but I simply can't get it to go up. Here's the code,

var ringCounter = 1;

so how do I get it to increase and decrease? I just can't get it to change, I tried

_root.ringCounter += 1;

and even this

Rings1.onEnterFrame = function() {
if (Son.hitTest(this)) {
ringCounter += 1;
}
};

but nothing changes the number. I placed the _root line in a few movieclips (dying works just fine) but nope, is the dynamic text suppose to be outside a movieclip?