Movement using sine

Hi
i have created a small animation using motion tweening and i was wondering if the same animation could be recreated using action script
here it is
http://www.mn001c7645.pwp.blueyonder.co.uk/sine.html

Like this (use with a mc ‘ball’ on the stage):


main_sine = 0;
radius_sine = 0;
radius = 0;
ball.onEnterFrame = function(){
	this._y = 250+Math.sin(main_sine)*radius;
	radius += Math.sin(radius_sine);
	main_sine += 0.1;
	radius_sine += 0.05;
}

Excelent thanks

Anytime.