开发者

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

开发者 https://www.devze.com 2022-12-24 03:11 出处:网络
This question already has an answer here: AS3 - how to get the mouse cursor to click on a button? 开发者_运维百科(1 answer)
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

精彩评论

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

关注公众号