# Are you done yet?

**URL:** <https://forum.kirupa.com/t/are-you-done-yet/288452>\
**Category:** flash\
**Created:** [May 15, 2009, 9:07pm UTC](https://forum.kirupa.com/t/are-you-done-yet/288452 "2009-05-15T21:07:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![letter](https://avatars.discourse-cdn.com/v4/letter/l/c89c15/32.png) [@letter](https://forum.kirupa.com/u/letter)\
**Post date:** [May 15, 2009, 9:07pm UTC](https://forum.kirupa.com/t/are-you-done-yet/288452/1 "2009-05-15T21:07:30Z")

</div>

I’ve been playing with AS3 bitmap manipulation, cool stuff, but I have a question/concern:

How do I know when a floodFill is done?

I’m floodFill’ing a section of a bitmap, then immediately checking to see if the bitmap is equal to another bitmap with .compare.

If I don’t slow the .compare down with a timer (just one second) the compare is comparing the old bitmapData.

Any of those big brains out there have an idea?

Thanks.
