Updating dynamic text box for simple rpg

Hey everyone im trying to learn and understand actionscript 2.0… so i figured the first thing i would do is make a simple rpg. What i have done so far is make 4 way movement and now im trying to make a hitTest where the “char” touches the coin and it updates the dnyamic text with the instance of currency and then unload the clip. But when i run it neither of these happen can someone please help???

and the code i have on the frame is


currency = 0

and the code i have on the coin is


onClipEvent(enterFrame) {
if (this.hitTest(_root.char))
this.removeMovieClip();
_root.currency += 1
}

and its instance name is coin

and the character code is


onClipEvent(load)
{
var    speed=7;

}
onClipEvent(enterFrame)
{
    if (Key.isDown(Key.RIGHT)) {
    this._x=_x+=speed;
    this.gotoAndPlay(2);
} else {
    if (Key.isDown(Key.LEFT)) {
    this._x=_x-=speed;
    this.gotoAndPlay(3);
} else {
    if (Key.isDown(Key.UP)) {
    this._y=_y-=speed;
    this.gotoAndPlay(4);
} else {
    if (Key.isDown(Key.DOWN)) {
    this._y=_y+=speed;
    this.gotoAndPlay(5);
} else {
gotoAndStop(1);
}
}
}
}
}

and its instance name is char

also i am using flash cs4 so if you need me to reupload it in older format just ask.