# CreateEmptyMovie memory problems

**URL:** <https://forum.kirupa.com/t/createemptymovie-memory-problems/83812>\
**Category:** flash\
**Created:** [March 22, 2005, 9:33am UTC](https://forum.kirupa.com/t/createemptymovie-memory-problems/83812 "2005-03-22T09:33:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![excogitator](https://avatars.discourse-cdn.com/v4/letter/e/d26b3c/32.png) [@excogitator](https://forum.kirupa.com/u/excogitator)\
**Post date:** [March 22, 2005, 9:33am UTC](https://forum.kirupa.com/t/createemptymovie-memory-problems/83812/1 "2005-03-22T09:33:33Z")

</div>

Hi All,  
I am using the below code to generate Empty Movie Clips on the Fly. I am making a drawing application using beginFill and endFill statements. And every brush stroke is added in a new movie clip. Is there any method through which a set of movie clips can be combined to a single movie clip. Or is there any other workaround for this situation.

var id = ++this.ldepth;  
var mc = this.drawingPane.createEmptyMovieClip("$"+id,id);

Please Help!!!
