开发者

custom cursor in actionscript 3 event doesn't work [duplicate]

This question already has an answer here: AS3 - how to get the mouse cursor to click on a button? 开发者_运维百科 (1 answer) Closed 5 years ago.

the custom cursor is a sprite. using it to click another sprite no longer triggers the MouseEvent.Click event. it looks like my custom cursor is being clicked on the sprite i want to click

Is there something i need to enable?


customCursor.mouseEnabled = false; //as well as
customCursor.mouseChildren = false;

should solve the problem

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜