i wanna put this code in a mc's frame, i need the mc to move 5 pixels each time it hits that frame, i thought of something like

Code:
_parent._y -= 10;
but it didnt work, any help would be apreciated.