Help work with Button

how to do so by clicking on the button movieclip moved to x = 100;
and when pressed repeatedly to x =- 150

event onRelease - not work:

yyy.onRelease = function ()
{
	test._x = 100;
	
}

yyy.onPress = function ()
{
	test._x = -150;

}

yyy - my button
test - movie clip you want to move

Thanks