Custom Cursor

Must Read

Just post!

If appropriate for your application, adding a custom cursor gives an extra professional polish to your UI.

In the past, you needed to hide the mouse and drag around a sprite, which had negative performance effects. Now you have access to native mouse cursors through the operating system cursor mechanism.

Use the new MouseCursorData class and make its data property a Vector of one or several bitmapData objects. For multiple bitmapData objects, the cursor animates at its own frame rate (if you provide it). The maximum dimension is 32×32. Define its hotSpot property if you only want a part of the cursor to be active.

Refer to the documentation for an example, at form/reference/actionscript/3/flash/ui/MouseCursorData.html.

- Advertisement -


  1. This is really interesting, You are a very skilled blogger. I have joined your feed and sit up for seeking extra of your great post. Also, I’ve shared your site in my social networks

Comments are closed.

Latest News

Ideanomics’ subsidiary Energica to provide electric motorcycles for the upcoming G20 Bali summit

Ideanomics (Nasdaq: IDEX), a global company focused on accelerating the commercial adoption of electric vehicles (EV), today announced that its...
- Advertisement -

More Articles Like This

- Advertisement -