# Making a circle larger, and then smaller

**URL:** https://forum.kirupa.com/t/making-a-circle-larger-and-then-smaller/2537
**Category:** flash
**Created:** [June 14, 2002, 6:23am UTC](https://forum.kirupa.com/t/making-a-circle-larger-and-then-smaller/2537 "2002-06-14T06:23:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [June 14, 2002, 6:23am UTC](https://forum.kirupa.com/t/making-a-circle-larger-and-then-smaller/2537/1 "2002-06-14T06:23:00Z")

</div>

Hi!\r\rI want a circle to get large. No problem:\r\ronClipEvent (enterFrame) {\r if (\_xscyle\<200) {\r \_xscale+=10;\r }\r}\r\rbut now: when the circle has reached the desired size I want him to shrink back to e.g. 150\r\ronClipEvent (enterFrame) {\r if (\_xscyle\>150) {\r \_xscale-=10;\r }\r}\r\rI have problems because at a certain time both if-conditions would be fullfilled and nothing happens.\rIdeas?\rTHX\r\rHartwig

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [June 14, 2002, 8:50am UTC](https://forum.kirupa.com/t/making-a-circle-larger-and-then-smaller/2537/2 "2002-06-14T08:50:33Z")

</div>

Couldn’t you just make a tweening movie clip to get round it?\r\r - Kit
