I'm writing a component and have created a MovieClip with createEmptyMovieClip. When I try to create sub-MovieClip inside the first MC with createEmptyMovieClip, it is undefined. This must be a basic Flash thing. I haven't used createEmptyMovieClip too much.

I tried
private var ItemContainer:MovieClip;
private var CContainer:MovieClip;

this.createEmptyMovieClip("ItemContainer", this.getNextHighestDepth());
this.ItemContainer.createEmptyMovieClip("CContainer", this.getNextHighestDepth());

When I trace ItemContainer, it comes up as _level0.testDualListJumble.ItemContainer. I tried chaning the parent mc to _level0.testDualListJumble.ItemContainer - _level0.testDualListJumble.ItemContainer.createEmptyMovieClip("CContainer", this.getNextHighestDepth());
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to