How do i get the id's of all the children of my flex 3 application?

Posted on 2009-12-21
Last Modified: 2013-11-11
I want to trace out all of the children of my flex application by id. something like this in javascript

            for(i=0; i<=application.numChildren; i++){

How do i do this?
Question by:rarid122481
    LVL 19

    Accepted Solution

    pretty close
    for(var i:int;i<numChildren;i++){

    Open in new window

    LVL 3

    Assisted Solution

    im pretty sure what moagrious wrote above will work, but you should add the id of the container holding all of the children you want to see.

    for(var i:int;i<myMainContainer.numChildren;i++){

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Suggested Solutions

    First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
    I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
    In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
    The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now