# Curves in action script

**URL:** <https://forum.kirupa.com/t/curves-in-action-script/51941>\
**Category:** Uncategorized\
**Created:** [May 18, 2004, 5:52pm UTC](https://forum.kirupa.com/t/curves-in-action-script/51941 "2004-05-18T17:52:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajmoore](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@ajmoore](https://forum.kirupa.com/u/ajmoore)\
**Post date:** [May 18, 2004, 5:52pm UTC](https://forum.kirupa.com/t/curves-in-action-script/51941/1 "2004-05-18T17:52:04Z")

</div>

Hi,  
Okay, I have a box with curved sides. The idea is that the box starts off squared and expands to a certain size but I want the sides to curve out and snap back elastically. I can do a simple tween to get the curve, but it doesn’t have the elastic effect I’m looking for. Can I control the arc using action script? Any help would be much appreciated.

Thanks,  
AJMoore
