dipatchevent()不在IOS工作

时间:2015-06-16 09:46:45

标签: ios iphone html5 mobile-safari createjs

我最近使用createjs开发了一个html5游戏,目前我正处于测试阶段。除了iPhone之外,游戏似乎在所有设备上都能正常运行。 仔细分析后,我得出一个结论,即dispatchevent(),我在代码中运用createjs内置rollover()函数,我使用dispatchevent()调度isn&#39在IOS中工作。除此之外游戏似乎正在做ios中的所有其他任务。但由于这是主要的功能,我有点卡住了。以下是我使用dispatchevent()的代码snipet:

                              o.dispatchEvent("rollover");

这方面有什么建议吗?

1 个答案:

答案 0 :(得分:-2)

您需要单独为iphone发送事件。 所以发送2 ee