onResize function question

i put one movieClip in _x _y local


[color=darkslategray]theClock[/color]._x = Stage.width - 85;
[color=darkslategray]theClock[/color]._y = 85;

but now i wanna that continue when resize the window.
i try:


clock.onResize = function() {
	 [color=darkslategray]theClock[/color]._x = Stage.width - 85;
	 [color=darkslategray]theClock[/color]._y = 85;
}
clock.onResize();

but no work.
:frowning:

anyone can help me ?