Newb needs simple gravity code

I just started using actionscript, and i need a gravity engine. thanx in advance.