Increasing variable for dynamic text field

I’m trying to create a temperature control box for a flash movie and i have it so that two arrows would control the temp, i can’t seem to get them to increase the dynamic text field titled target_temp it sets it fine on the first load but then once I try to click the increase arrow the text field doesn’t increase, do i need to reload the movie? here is the code I have so far.

on(release){
    target=target-1;
    target_temp.text=target;
}

Are you sure you are in the right level. Maybe you could try a _parent. (or _root.) before?

on(release){
target-=1;
_parent.target_temp.text=target;
}