O'Reilly logo

Flex 4 in Action: Revised Edition of Flex 3 in Action by Tariq Ahmed and Dan Orlando, with John C. Bland II and Joel Hooks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Displaying forms and capturing user input

This chapter covers

  • Creating forms in Flex
  • Using input components (controls)
  • Capturing user input

Let’s put your newly acquired understanding of layout and ActionScript to work and apply it to a fundamental operation of any application—capturing user input.

As mentioned in chapter 4, even though Flex offers a Form component, its use is optional and you’ll find it functions best as a layout tool. In the land of Flex you’re equipped with visual components (usually referred to as controls) that display information and accept user input. Alongside controls are events and event handlers that recognize and respond to user actions, such as clicking a mouse.

When event handler functions run, they ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required