Hi all,

Im just trying to dynamically attach an mc onto the stage... i know newb
stuff :P

Movie has one mc on the stage with an instance name of display, attached to
that mc is the following code:

onClipEvent(load){
    import mx.managers.DepthManager.*;
    display.createChildAtDepth("piccer", mx.managers.DepthManager.kTop
,{_x:0,_y:0});
    for(var foo in display){
        trace(foo + " = " + display[foo]);
    }
}

There is definitely a a symbol in the library with "piccer" as its
identifier, the trace isnt returning anything so i dont believe its a
visibility problem (and the regpoint of piccer is 0,0 as well).  The
function doesnt return anything useful so no help there, the docs are close
to useless so no help there, can anyone enlighten me as to what i am doing
wrong here ?

Regards,
--
:: Nik Derewianka ::
:: freelance director programmer ::
_______________________________________________
[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