Copy link to clipboard
Copied
The touch event still can't work even though I have put 'createjs.Touch.enable(stage);' into the actions。
看你名字你应该会中文吧,你用鼠标事件代替触摸事件就可以了.比如,mousedown,pressup,pressdown pressmove等事件
createjs.Touch.enable(stage);
this.movieClip_1.addEventListener("click", kai.bind(this));
function kai() {
alert("弹出了")
}
Copy link to clipboard
Copied
看你名字你应该会中文吧,你用鼠标事件代替触摸事件就可以了.比如,mousedown,pressup,pressdown pressmove等事件
createjs.Touch.enable(stage);
this.movieClip_1.addEventListener("click", kai.bind(this));
function kai() {
alert("弹出了")
}
Find more inspiration, events, and resources on the new Adobe Community
Explore Now