The following example shows how you can set mouse cursors in Flash Player 10 by setting the Mouse object’s cursor property to one of the static constants in the MouseCursor class.
Full code after the jump.
To use the following code, you must have Flash Player 10 and a Flex Gumbo SDK installed in your Flex Builder 3. For more information on downloading and installing the Gumbo SDK into Flex Builder 3, see “Using the beta Gumbo SDK in Flex Builder 3″.
<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2008/11/03/setting-mouse-cursors-in-flash-player-10/ -->
<FxApplication name="Mouse_cursor_test"
xmlns="http://ns.adobe.com/mxml/2009">
<layout>
<BasicLayout />
</layout>
<HGroup horizontalCenter="0" top="10">
<FxButton label="{MouseCursor.ARROW}"
click="Mouse.cursor = MouseCursor.ARROW;" />
<FxButton label="{MouseCursor.AUTO}"
click="Mouse.cursor = MouseCursor.AUTO;" />
<FxButton label="{MouseCursor.BUTTON}"
click="Mouse.cursor = MouseCursor.BUTTON;" />
<FxButton label="{MouseCursor.HAND}"
click="Mouse.cursor = MouseCursor.HAND;" />
<FxButton label="{MouseCursor.IBEAM}"
click="Mouse.cursor = MouseCursor.IBEAM;" />
</HGroup>
<VGroup horizontalCenter="0" verticalCenter="0">
<TextInput text="mx:TextInput" />
<Button label="mx:Button" buttonMode="true" />
</VGroup>
</FxApplication>
View source is enabled in the following example.
This entry is based on a beta version of the Flex Gumbo SDK and therefore is very likely to change as development of the Flex SDK continues. The API can (and will) change causing examples to possibly not compile in newer versions of the Flex Gumbo SDK.



thank u r information
it very useful
u r blog Is very nice
thank!
Missing the demo again :(
Call a java class from Flex (d class is residing on the local machine not remotely)