The following code shows how you can toggle the “busy” cursor in Flex using the static setBusyCursor() and removeBusyCursor() methods in the CursorManager class, as well as using your own custom cursors by calling the static setCursor() and removeCursor() methods.
Full code after the jump.
Continue reading ‘Changing the cursor in a Flex application using the CursorManager class’
The following example shows how you can customize the Flex TitleWindow container by setting the “.windowStyles” style, “.windowStatus” style, and TitleWindow style.
Full code after the jump.
Continue reading ‘Styling the TitleWindow container’
The following example shows how you can change the track height of a ProgressBar control in Flex.
Full code after the jump.
Continue reading ‘Changing the track height of a Flex ProgressBar control’
The following example shows how you can use the static Font.enumerateFonts() method in Flex to determine which fonts are installed on a user’s system. The enumerateFonts() method returns an array of Font objects (see the flash.text.Font for more information)
Full code after the jump.
Continue reading ‘Finding out which fonts are installed on a user’s system’