O'Reilly logo

Learning Flex 4 by Elijah Robison, Alaric Cole

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

Researching Events

We realize a list of common events will only get you so far. Therefore, it will benefit you to know the best resources for researching events on the fly.

What Events Are Available to This Component?

You won’t always remember the full range of events available to a component. When this is the case, there are a few approaches to help you find out fast:

  • In Design mode, select a component in the application, and then check the Properties pane in Category view. Find the Events section, and you’ll have a list of every event available for that component (Figure 7-3).

    Identifying events using the Properties pane

    Figure 7-3. Identifying events using the Properties pane

  • In Source mode, code completion will reveal every property available to a component, including events. Events are indicated by a lightning bolt icon (Figure 7-4).

    Identifying events using the code completion hints

    Figure 7-4. Identifying events using the code completion hints

  • Review the official documentation for a component.

Flex/ActionScript Documentation

Sometimes you’ll need to know more than “what events are available to this component?” You might be left asking, “When can I use this, and how can I use it?”

When this is the case, there are three approaches you can take to researching event specifics: Flash Builder’s help system, ASDoc, and the favorite, Adobe’s Flash Platform Language Reference.

Flash Builder’s ...

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