Hi Edwin,

If you use absolute layout for your container then the layering of the
child objects will be based on the order you add  them to the the
container (front-to-back). The child can also overlap with each other
based on the x,y value you provide. You can  find out which Child
object is on the top by traversing the display list. There are numbers
of APIs exposed in DisplayObjectContainer class to work with the
display list. To have control over the default ordering you might find
the following APIs useful:

- swapChildren():    swaps the front-to-back order of two display
objects.
- swapChildrenAt(): swaps the front-to-back order of two display
objects, specified by their index values

Hope that helps
Debabrata



On Mar 3, 9:31 pm, [email protected] wrote:
> Dear India,
> How do you control layers/levels of components in Flex when Layout is set to
> absolute???
> How do we control which layer is on top?
>
> This seems very simple.
>
> Thanks in Advance.
>
> Edwin

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to