PDA

View Full Version : Making a circle larger, and then smaller



Hartwig
June 14th, 2002, 02:23 AM
Hi!

I want a circle to get large. No problem:

onClipEvent (enterFrame) {
if (_xscyle<200) {
_xscale+=10;
}
}

but now: when the circle has reached the desired size I want him to shrink back to e.g. 150

onClipEvent (enterFrame) {
if (_xscyle>150) {
_xscale-=10;
}
}

I have problems because at a certain time both if-conditions would be fullfilled and nothing happens.
Ideas?
THX

Hartwig

kitiara30
June 14th, 2002, 04:50 AM
Couldn't you just make a tweening movie clip to get round it?

- Kit