Array

Custom Cursor

Must Read

Admin
test

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 http://help.adobe.com/en_US/FlashPlat form/reference/actionscript/3/flash/ui/MouseCursorData.html.

- Advertisement -

1 COMMENT

  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

Digital Marketing for Beginners

Digital marketing for starter, Let to basic learning about connecting with your audience in the right place at the...
- Advertisement -

More Articles Like This

- Advertisement -