【发布时间】:2013-11-04 23:20:59
【问题描述】:
我想在 actionscript 中的代码运行期间更改光标。 有命令吗?
例子:
if (x<50) set mouse to hand
else set mouse to standard arrow
如何做到这一点?
我不想让 MC 充当按钮。所以 MC.useHandCursor = true; 不是这里的解决方案。
【问题讨论】:
标签: flash actionscript cursor mouse
我想在 actionscript 中的代码运行期间更改光标。 有命令吗?
例子:
if (x<50) set mouse to hand
else set mouse to standard arrow
如何做到这一点?
我不想让 MC 充当按钮。所以 MC.useHandCursor = true; 不是这里的解决方案。
【问题讨论】:
标签: flash actionscript cursor mouse
我通过添加一个与 Flash 窗口一样大的透明按钮来解决这个问题,然后用代码将其隐藏。 然后当我希望鼠标变为手时使用 _root.button._visible=true 。 效果很好。
【讨论】: