Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
44 CHAPTER 2 SIMPLE CONTROLS This section discusses some of Flex's simple controls. This isn't an official label, just my way of grouping a bunch of components that are easy to use and that don't fall under the categories of form or layout controls (i.e., containers). I've subdivided this group into text, media, and other. Many components have the same common properties: n n id, a unique identifier enabled, a Boolean value indicating whether or not the element is active (for example, clickable by a user) visible, a Boolean value indicating whether or not the element can be seen toolTip, text shown when the cursor is over the component (Figure 2.12) n n Figure 2.12 Of these, id is the most important property as it allows you to refer to a component. You would need to do so in order to find out what the user did with it (like enter text or select an option), to change its behavior, and so forth.