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 view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
Demo: The Callout component. Place your mouse over any of the airplanes in the SWF file to see additional information appear. Note that this component is still in beta. Feel free to use it however you wish, but keep in mind that parts may contain bugs. Give us feedback on the Flex Interface Guide Forum.
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:
topRight, bottomRight, bottomLeft, and topLeftThe 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.