Not finding what you are looking for? Request a recipe!
The following example shows how you can expand/collapse branches in a Flex Tree control by clicking on the row instead of having to click on the disclosure/arrow icon.
The following example shows how you can convert an array of String objects (with duplicate entries) to an array of Object objects using a simple loop and the Array.map() method, so the Object array can be used as a data provider in a List based control.
The following example shows how you can take a snapshot of an item on the display list using the static ImageSnapshot.captureBitmapData() method, which returns a BitmapData object, as seen in the following snippet: var imageBitmapData:BitmapData = ImageSnapshot.captureBitmapData(source); swfLoader.s ...
The following example shows how you can set the letter spacing in a Flex RichTextEditor control by setting the textAreaStyleName and letterSpacing styles.
The following example shows how you can toggle year-based navigation on a Flex DateChooser control by setting the yearNavigationEnabled property in MXML and ActionScript.
You can embed the desired font using an <mx:Style /> block, and then specify the embedded font family name in the fontFamily style on the .errorTip selector. Next, set the errorString property on the desired component which will set the error tool tip. Finally, we use the toolTipShown event to ...