RE: [Flashcoders] Changing display index on the stage

2010-05-05 Thread Robert Leisle
Hi, //Assumes mc1 is on the stage and has linkage set to mc1 var mc2:MovieClip = new MovieClip(); addChild(mc2); addChild(mc1); hth, Bob -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of natalia

RE: [Flashcoders] Changing display index on the stage

2010-05-05 Thread Mattheis, Erik (MIN - WSW)
Look into getChildByName to get a reference to the MC on the stage, ie getChildByName('instanceName').x. _ _ _ Erik Mattheis Senior Web Developer Minneapolis T  952 346 6610 C 612 377 2272 Weber Shandwick Advocacy starts here. PRWeek Global Agency Report Card 2009 - Gold Medal Winner The

Re: [Flashcoders] Changing display index on the stage

2010-05-05 Thread jonathan howe
My interpretation of the question was we want the depth of the added object to be lower than the object that is already on the stage. So I don't think the x coordinate is the answer. So the first answer where Robert re-addChilds mc1 technically works in the simple situation, but if you have other

Re: [Flashcoders] Changing display index on the stage

2010-05-05 Thread natalia Vikhtinskaya
Thank you very much! That is exactly what I need. 2010/5/5 jonathan howe jonathangh...@gmail.com: My interpretation of the question was we want the depth of the added object to be lower than the object that is already on the stage. So I don't think the x coordinate is the answer. So the

Re: [Flashcoders] Changing display index on the stage

2010-05-05 Thread Henrik Andersson
natalia Vikhtinskaya wrote: Hi Is it possible to have mc1 manually placed on stage be over mc2 created dynamically mc2=new MovieClip(); addChild(mc2) My recommendation: create a holder mc on the timeline and add stuff to the holder instead. The holder can be given a proper layer in the IDE

Re: [Flashcoders] Changing display index on the stage

2010-05-05 Thread natalia Vikhtinskaya
Please explain. Do you mean to create empty holder manually? How to add stuff to it? My first try was to add mc from the library with linkage class name. This is simple navigation bar with back next arrows. So in the library I have mc nav. Nav has two mcs (arrows). Each mc has two frames inside.

Re: [Flashcoders] Changing display index on the stage

2010-05-05 Thread Henrik Andersson
natalia Vikhtinskaya wrote: Please explain. Do you mean to create empty holder manually? How to add stuff to it? Create a new empty movielclip symbol. Do not give it any class. Do not put any content in it. Now place an instance of this symbol on the timeline. Give this instance an

Re: [Flashcoders] Changing display index on the stage

2010-05-05 Thread jonathan howe
I would like to point out that use of empty clips is a polarizing technique in terms of public opinion. Some people find that they make projects difficult to maintain. -jonathan On Wed, May 5, 2010 at 4:12 PM, Henrik Andersson he...@henke37.cjb.netwrote: natalia Vikhtinskaya wrote: Please