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 our 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 are equipped with control 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 access ...

Get Flex 3 in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.