EaselJS未捕获错误:InvalidStateError:DOM异常11

时间:2013-07-04 01:14:35

标签: javascript html5 easeljs createjs

我创建了一个加载Tiled Map文件的类,并将其作为包含大量位图的createjs Container进行传输。它可以工作,但是我想在加载后缓存它。

地图显示得非常好,但是当我打电话给我时,调用that.sprite.cache()它会拖曳

Uncaught Error: InvalidStateError: DOM Exception 11 easeljs-min.js:63 
b.draw easeljs-min.js:63 b.draw easeljs-min.js:74 
b.draw easeljs-min.js:75 b.update easeljs-min.js:84 
(anonymous function) Main.js:43 
b.dispatchEvent easeljs-min.js:14 
c._tick easeljs-min.js:20 c._handleTimeout

https://gist.github.com/anonymous/5924127

我该如何解决?我读到没有加载图像时会抛出错误,但即使我在10秒后调用它也会抛出错误! :/

0 个答案:

没有答案