function loopThrough(mc:MovieClip):Void
{
        for (var a:String in mc) {
                trace(a + ": " + mc[a]);
                if (mc[a] typeof "movieclip") loopThrough(mc[a]);
        }
}

You can use recursion and hope that you don't end up with circular
references.
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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