Cache SpriteSheets in EaselJS
问题 How can I cache SpriteSheets in EaselJS? I have a Sprite object and when I use user.hero.cache(0, 0, 30, 40); it stops playing animation (probably because I'm just caching the current frame, not the entire SpriteSheet image). So how can I cache it? Here's my relevant EaselJS code: data = { images: ["Graphics/hero.png"], frames: { width: 30, height: 40 }, animations: { stand: 0, run: [1, 2, "runLoop", 0.15], runLoop: [3, 7, true, 0.15], jump: [8, 10, "happy", 0.5], happy: 11, fall: 12,