# Placing a delay in a while loop

**URL:** <https://forum.kirupa.com/t/placing-a-delay-in-a-while-loop/250167>\
**Category:** flash\
**Created:** [January 26, 2008, 8:52am UTC](https://forum.kirupa.com/t/placing-a-delay-in-a-while-loop/250167 "2008-01-26T08:52:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tempyyyst](https://avatars.discourse-cdn.com/v4/letter/t/a3d4f5/32.png) [@tempyyyst](https://forum.kirupa.com/u/tempyyyst)\
**Post date:** [January 26, 2008, 8:52am UTC](https://forum.kirupa.com/t/placing-a-delay-in-a-while-loop/250167/1 "2008-01-26T08:52:35Z")

</div>

Hi all

I have 100 dynamically generated clips on a stage.

I want to remove the clips one by one over the course of a few seconds.

Can I put a delay into a while loop to make it only loop every 50 ms or so?

Thanks.
