# Springs or something like it

**URL:** <https://forum.kirupa.com/t/springs-or-something-like-it/15587>\
**Category:** flash\
**Created:** [March 16, 2003, 1:20am UTC](https://forum.kirupa.com/t/springs-or-something-like-it/15587 "2003-03-16T01:20:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spork](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@spork](https://forum.kirupa.com/u/spork)\
**Post date:** [March 16, 2003, 1:20am UTC](https://forum.kirupa.com/t/springs-or-something-like-it/15587/1 "2003-03-16T01:20:22Z")

</div>

To anyone who could be of help:

After reading through actionscript section on Physics: Springs I became inspired to create my own spring type thing. I wanted to create a button that did this:

1. \_xscale = 0 when loaded
2. would ‘pop’ open and \_xscale \> 100
3. then would occilate between \_xscale \< 100 and \_xscale \> 100 until it finally reached 100.

In essence the button would pop open and bounce in such way that i would settle at an x scale of 100. I tried modifying the .fla files in the physics tutorial with little luck. I understand that for the more experienced actionscript user this post may be something of a ‘no brainer’ but as a newbie I am finding it to be incredibly taxing. If you something could offer some suggestions or write whatever code would make this possible I would very thankful.

Thanks, J.J.

8]

a post script: this is flash 5
