1 Reply Latest reply on Aug 7, 2007 8:56 AM by connectricity

    Get the ID of a container

    webvalue Level 1
      I have a form inside a HBox, how can I get the ID of the HBox if the ID of the form is known dynamically?

        • 1. Re: Get the ID of a container
          form.owner or form.owner.toString() depending on if you need the DisplayObject returned or it's name as a string.

          form.owner.toString() will return a string in the format of "application.component.yourHBox"

          You may need to do some string operations to get exactly what you want.