Set custom cursor using the CursorManager
November 18, 2009
After my previous post about setting the busy cursor, I decided to write a next post about custom Cursors. In our example we use an Image as a Cursor source, but you can also use a SWF file.
The CursorManager allows you to use your custom cursors in a very simple way. The most important method is the setCursor() method, which can be used as follows:
1 | CursorManager.setCursor(myCursor); |
Set busy Cursor using the CursorManager
November 17, 2009
There are multiple ways to show that your Flex Application is busy, one of the nicest is showing the busy cursor. This is very easy within Flex since you can use the CursorManager component.
The only source code you need is:
1 | CursorManager.setBusyCursor(); |
This is a static method of the CursorManager component. It is also possible to create a custom Cursor, this will be the subject of our next example.






