Flex 或 Flash 在 Flex SDK 或 Flash 运行时中是否有默认游标列表?

Does Flex or Flash have a list of default cursors in the Flex SDK or Flash runtime?

Flex SDK 或 Flash 或两者似乎都有一些默认光标。是否有默认的游标列表。

我正在专门寻找手形、箭头和文本光标。我问而不是创建自己的原因是为了保持一致的外观。

:
CursorManager.NO_CURSOR.

的 CursorManager class 中有一个常量

:
有Flex忙光标classmx.skins.halo.BusyCursor

:
有 busyCursorBackground 样式。 关于 属性 的文档指出:

The class to use as the skin for the busy cursor background. The default value is the "cursorStretch" symbol from the Assets.swf file.

除了已经提到的 busyCursor class 之外,我没有看到任何其他游标 classes 或资产。

如果您使用的是 Flex,则可以通过将组件的 buttonMode 属性 设置为 true 让光标自动更改为按钮光标:

myButton.buttonMode = true;

如果您想以编程方式更改光标,您可以这样做:

Mouse.cursor = MouseCursor.ARROW;
Mouse.cursor = MouseCursor.BUTTON;
Mouse.cursor = MouseCursor.HAND;
Mouse.cursor = MouseCursor.IBEAM;
Mouse.cursor = MouseCursor.AUTO;