28 September 2007
Callouts are most frequently used to annotate spatially organized content such as maps or product images with additional details. They are more persistent and more discoverable than tooltips since they appear always, not only on mouse hover, and generally don’t disappear unless the user explicitly dismisses them. They are an example of annotating content displays with additional contextual details.
To download and view the full source, right-click the Flex application and select View Source from the context menu. Otherwise, you can use the download link below.
Note: This component is licensed as Sample Code as defined in the Flex End User License Agreement. You may use the sample code in your products, commercial or not.
When using the
Callout component, keep in mind the following guidelines:
Some of the features of the
Callout component include:
The callout extends the
Container class by adding a pointer border skin through the
ISimpleStyleClient interface. The skin respects the absolute positioning of the callout in relation to the tip of the pointer to allow for pixel perfect positioning.
This custom component uses the validation methods of the framework to draw the border around the content and respects state changes as well as style change events. State changes allow this component to resize based on the user’s behavior.
This content is a public draft. Please give us feedback in the Flex Interface Guide Forum.