No... that's not right. You're referring to depths, not levels. They're a
bit different. Truth be told, I'm not sure how you'd go about doing
something with the levels themselves. His idea of using depths should work
in most instances though, and what they other person said about container
movie clips is probably you're best option. Just use depths inside container
movie clips instead of levels.
On 3/27/07, Omar Fouad <[EMAIL PROTECTED]> wrote:
If you need to create a movieClip on level 20 for example :
var myClip:MovieClip = createEmtpyMovieClip("myClipInstance", 20)
Note that the secont parameter (20), is the level number you wish the
movieClip is created, in this case therefore will not get into _level0..
if you Need to get a movieClip nasted into another so:
var myClip:MovieClip = containerClip.createEmptyMovieClip
("otherMcInstance",
containerClip.getNextHighestDepth);
The second Parameter specifies the next Free Level inside the
containerClip
where the myClip will be nasted...
Hope it helps....
On 3/28/07, James Tu <[EMAIL PROTECTED]> wrote:
>
> Is there a way to createEmptyMovieClip on a level other than _level0?
>
> I tried doing this:
> var tmc = _level5.createEmptyMovieClip("foo", 10);
> trace(tmc); //gives me undefined
>
> I also tried to load a blank .swf into _level5 and then creating a
> movieclip on _level5 and that didn't work either.
>
>
> -James
>
> _______________________________________________
> [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
>
--
Omar Fouad - Digital Emotions...
Love is always patient and kind. It is never jealous. Love is never
boastful
nor conceited It is never rude or selfish. It does not take offense and is
not resentful. Love takes no pleasure in other people's sins...but
delights
in the truth. It is always ready to excuse, to trust, to hope... and to
endure... whatever comes.
_______________________________________________
[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
--
Jason Cordial
VIA 2 Lab Grunt - Waist deep beneath the borderline...
Life is a euhemerism...
http://bsu.edu/blogcaster2/jason/
_______________________________________________
[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