# Elasticity using AS

**URL:** https://forum.kirupa.com/t/elasticity-using-as/265991
**Category:** flash
**Created:** [July 15, 2008, 10:29am UTC](https://forum.kirupa.com/t/elasticity-using-as/265991 "2008-07-15T10:29:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![AgentOrange](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@AgentOrange](https://forum.kirupa.com/u/AgentOrange)
#### Post date: [July 15, 2008, 10:29am UTC](https://forum.kirupa.com/t/elasticity-using-as/265991/1 "2008-07-15T10:29:01Z")

</div>

Hi all. I want to put a bit of a ‘bounce’ onto this bit of code I have for an expanding cirlce. You know the kind of thing I mean. I want it to ‘pop’ open and then settle into an open circle.

m\_Spot1.onEnterFrame = function() {  
if (m\_Spot1.\_xscale\<200) {  
m\_Spot1.\_xscale += 35;  
m\_Spot1.\_yscale += 35;  
}  
};

Any help would be appreciated.
