[FMX] Springs and elasticity need urgent help!

Hi guys,

I am trying to do the following spring in Flash MX: http://nanovsky.com/tree.swf

The red points should be elastic, and the black ones - static (actually I will be attaching buttons with other specific functionality there). The spring should be situated on the screen the way it is right now - horizontally centered in the lower part of the stage.

I searched all over the Internet for materials on this type of scripting, but found nothing good enough :-(… May be some of you could give me a hand…

Thank you very much!!!