On 12/1/05, Jay Lepore <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Can anyone provide with a recursive loop that loops through every mc and
> further loops through every child mc's listing every movieclip, string,
> object etc along the way?
>
> I know such code is out there and rather than recreate the wheel I
> thought I'd tap the experts on it.
>
> What sayeth the group?
>
> Jay
> FlashBOMB.com
>
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
function go(mc)
{
   trace(mc);
   for(i in mc)
       go(mc[i]);
}
go(_root);

-David R
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to