The following example shows how you can listen for the httpStatus event on a Flex Image control to see if an image loaded successfully or not.
Full code after the jump.
Continue reading ‘Detecting whether an image loaded successfully in Flex’
The following example shows how you can listen for the httpStatus event on a Flex Image control to see if an image loaded successfully or not.
Full code after the jump.
Continue reading ‘Detecting whether an image loaded successfully in Flex’
The following example shows how you can position callouts in a PieChart control’s pie series by setting the labelPosition style.
Full code after the jump.
Continue reading ‘Positioning labels in a Flex PieChart control’
The following example shows how you can create a custom data tip function on a PieChart control in Flex by specifying the dataTipFunction property in your PieChart control. This example also shows how you can make all the data tips visible at the same time in the pie chart by setting the showAllDataTips property to true.
If you set the showAllDataTips property to true in your PieChart control, the data tips would be visible regardless of whether the user’s cursor was over the pie chart or not, but in the following example we only set the showAllDataTips property to true when the user rolls their mouse over the pie chart, and set it back to false when the user rolls out of the pie chart. For more information, see “Displaying all data tips at once on a Flex PieChart control”.
Full code after the jump.
Continue reading ‘Creating a custom data tip function on a Flex PieChart control’
The following example shows how you can use the showAllDataTips property on the Flex PieChart control to display all of the chart’s data tips at the same time, regardless of whether the user’s cursor is over the chart or not.
Full code after the jump.
Continue reading ‘Displaying all data tips at once on a Flex PieChart control’