I've never seen createEmptyMovieClip or attachMovie take time.  I'm
pretty sure those are blocking actions, so once it's returned the clip
exists.

 -Andy

On 7/16/07, o renken <[EMAIL PROTECTED]> wrote:
theres a little time needed to create the MC..i think thats the reason
for your undefined. try to make an interval which checks if your first
mc ist created and create the sub-mc then...

cheers
olee

2007/7/16, John laPlante <[EMAIL PROTECTED]>:
> 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
>


--
http://www.renkster.de/#/about/
_______________________________________________
[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

_______________________________________________
[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