MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 User's Guide Page 185

  • Download
  • Add to my manuals
  • Print
  • Page
    / 256
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 184
Use the custom component 185
A browser opens and runs the application.
The application displays the LoginBox component you inserted in the main application
file. You can reuse the same component in multiple MXML files.
Click the Login button to verify that the event listener is called properly. The string
“logging in...” should appear to the left of the Login button.
In this lesson, you created a custom MXML component visually, and then used it in an
MXML application file. You designed the component’s layout and defined an event listener
for a control in the component. To learn more, see Chapter 8, “Creating Custom MXML
Components,” on page 161 and Chapter 7, “Creating Simple MXML Components” in
Creating and Extending Flex 2 Components.
Page view 184
1 2 ... 180 181 182 183 184 185 186 187 188 189 190 ... 255 256

Comments to this Manuals

No comments