# Movieclip addchild limit

**URL:** <https://forum.kirupa.com/t/movieclip-addchild-limit/304759>\
**Category:** Uncategorized\
**Created:** [February 13, 2010, 4:05am UTC](https://forum.kirupa.com/t/movieclip-addchild-limit/304759 "2010-02-13T04:05:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chibitotoro](https://avatars.discourse-cdn.com/v4/letter/c/a9adbd/32.png) [@chibitotoro](https://forum.kirupa.com/u/chibitotoro)\
**Post date:** [February 13, 2010, 4:05am UTC](https://forum.kirupa.com/t/movieclip-addchild-limit/304759/1 "2010-02-13T04:05:01Z")

</div>

Hi everyone,

I’ve been trying to make a waterbrush simulator in AS3. I’m doing so by using blurred circles and drawing them where the mouse is.

I’m adding a movieclip to everywhere the mouse is but it seems to bog down around 600 movieclips(sprites).

I have my scene set at 120fps which significantly drops around 600 movieclips.

I’ve tried grouping sprites with similar attributes into a parent movieclip and applying transforms to the parent but I get not significant speedups.

I’ve set cacheAsBitmap =true for both the individual circles and the parent movieclip.

In Flash it ultimately crashes at ~3000 movieclips. When I run it outside in the standalone flash player it goes much higher but same thing happens after 600 movieclips… it lags!

I was wonder if anyone knows of another way to do this or if there is an upper limit to how many sprites flash can actually support.

Thanks for any input.

* * *

other stats:  
XNA - point sprites 55000 units run at 60fps with my current hardware. of course this is 3D accelerated and flash is not.
