Flash Player 10.2 Native Cursor Example

Posted on December 2, 2010 | 1 comment

The beta release of Flash Player 10.2 on Adobe labs is really code. It provides early access to some really cool features. One of those features is the ability to us bitmaps on native cursors. Not just fake hide the mouse cursor and display your own bitmap, but actually providing the OS the bitmap to use for the cursor. This means there is some OS limitations of 32x32px bitmaps and some early animation capability (as you’ll see in my example).

Props needs to go out to Tony for making my Christmas Tree cursor look better with blinking lights.

Source files on github.

You will need the latest Flex SDK to build the sample code and add a compiler argument of -swf-version=11 (noted below).

NOTE: You have to add -swf-version=11 when using any of the new features with the current Flex SDK. This step will be built into the build configuration files by release time.

I also have a live example of the example working if you just want to test it out, first make sure you have Flash Player 10.2 installed.