SV: [Flashcoders] Flash and levels

2007-03-29 Thread Johan Karlsson
7;t put a level inbetween content of a sibbling (another level). -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Gustavo Duenas Skickat: den 28 mars 2007 04:51 Till: flashcoders@chattyfig.figleaf.com Ämne: Re: [Flashcoders] Flash and levels I have a questi

RE: [Flashcoders] Flash and levels

2007-03-28 Thread Parvaiz Patel
ope this will solve your queries. Best Regards, Parvaiz Patel. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Duenas Sent: Wednesday, March 28, 2007 8:21 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash and levels I

Re: [Flashcoders] Flash and levels

2007-03-28 Thread Pedro Taranto
the movielicps placed on the stage have negative depths --Pedro Taranto Gustavo Duenas escreveu: I have a questionthe level 20 is over or under the other movie clips the flash movie would have? Regards Gustavo Duenas P.s: the idea about a movie clip is very useful, because I'm look

Re: [Flashcoders] Flash and levels

2007-03-28 Thread Gustavo Duenas
I have a questionthe level 20 is over or under the other movie clips the flash movie would have? Regards Gustavo Duenas P.s: the idea about a movie clip is very useful, because I'm looking for something like that for a project of mine. On Mar 27, 2007, at 7:30 PM, Omar Fouad wrote:

Re: [Flashcoders] Flash and levels

2007-03-28 Thread James Tu
OK. Thanks for everyone's input! I usually do use movieclips to nest elemets. A lot of times I'll have each UI screen be encapsulated in it's own MC so that I can easily do transitions for the entire screen if needed. I started down the road with _level's again b/c of an article that I

Re: [Flashcoders] Flash and levels

2007-03-28 Thread James Tu
I just tried it and it didn't work. I don't think that the syntax works. var tmc = this.createEmptyMovieClip("testing", 20); trace(tmc); //traces _level0.testing It creates an empty movie clip on depth 20 not _level20. -James On Mar 27, 2007, at 7:30 PM, Omar Fouad wrote: If you need to cr

Re: [Flashcoders] Flash and levels

2007-03-28 Thread Jason Cordial
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 c

Re: [Flashcoders] Flash and levels

2007-03-27 Thread Joshua Sera
Levels suck, try to avoid them. Anyway, I did this, and it worked: stop(); loadMovieNum("blank.swf", 5); this.onEnterFrame = function() { if (_level5 != undefined) { if (_level5.getBytesTotal() == _level5.getBytesTotal()) { var tmp = _level5.createE

Re: [Flashcoders] Flash and levels

2007-03-27 Thread R�kos Attila
JT> I also tried to load a blank .swf into _level5 and then creating a JT> movieclip on _level5 and that didn't work either. It works. Just make sure that you invoke createEmptyMovieClip() after the swf is loaded to the given level. Attila ___ Flash

Re: [Flashcoders] Flash and levels

2007-03-27 Thread Omar Fouad
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 movieCl

Re: [Flashcoders] Flash and levels

2007-03-27 Thread Mick G
I think in general, levels aren't used much any more. It's become more common to use holder movieclips to control groups of content. If you have to, you can even put holder MCs on different levels of your timeline and load content into whichever MC you want. You can then also do things like makin

[Flashcoders] Flash and levels

2007-03-27 Thread James Tu
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.