# Transforming circle shape into a square

**URL:** <https://forum.kirupa.com/t/transforming-circle-shape-into-a-square/244846>\
**Category:** flash\
**Created:** [November 22, 2007, 1:03pm UTC](https://forum.kirupa.com/t/transforming-circle-shape-into-a-square/244846 "2007-11-22T13:03:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![latrixie](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@latrixie](https://forum.kirupa.com/u/latrixie)\
**Post date:** [November 22, 2007, 1:03pm UTC](https://forum.kirupa.com/t/transforming-circle-shape-into-a-square/244846/1 "2007-11-22T13:03:47Z")

</div>

Hi,

I have a created a shape object circle that I want to transform into a square on mouseover (all should be handled with code - no timeline anims). I know how to do this in the timeline (using shape hints) but how on earth do I do it with AS 3?

Thanks in advance,  
Cristian
