Flex3 Study Notes 1
Navigators navigation Layout
Navigators is a hybrid type of visual components, similar to layout container and control. It is used to obtain a collection of containers, and only one container is displayed at a time. Navigators allows you to easily design modular interfaces.
1) Accordion (Accordion)
Similar to tabnavigator, tabnavigator implements vertical stacking and animation when different subsections are selected.
2) tabnavigator
It is a container set, similar to hbox and panel, but only one of them is displayed at a time.
Important attributes
1) visible
If this attribute is set to false, the component does not appear in the view, but it still occupies the original space.
2) includeinlayout
If this attribute is set to false, the container ignores this component and recalculates the layout.
3) tooltip
This attribute is a pop-up message that occurs when you move the cursor over the component.
4) Alpha
Alpha is short for alpha channel. It is a number from 0 to 1, indicating transparency. If the value is 1, the image is not transparent. If the value is 0, the image is completely transparent. The value in the middle is the transparency percentage.
5) Enabled
If the enabled attribute is false, a component is invalid. A typical scenario is to make the component gray and not respond to mouse events.
6) Source
The source attribute is used for image control and other possible control, pointing to an external file. You can also use it in the progress bar to control the progress of image loading.
For example:
<Mx: progressbar source = "{photo}"/>
<Mx: Image id = "photo" Source = "http://greenlike.com/photos/lydia.jpg"/>