Skip to content

Commit 607d3fc

Browse files
committed
EaselJS Ticker deprecated method usage in demos
1 parent a8806db commit 607d3fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/PreloadImages.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ <h1>Image Gallery</h1>
9191
preload.on("fileload", handleFileLoad);
9292
preload.loadManifest(manifest, true, "../_assets/art/");
9393

94-
createjs.Ticker.setFPS(30);
94+
createjs.Ticker.framerate = 30;
9595
}
9696

9797
function stop() {

examples/SpriteSheet.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ <h1>Sprite Sheets</h1>
125125
stage.addChild(sky, hill, hill2, ground, grant);
126126
stage.on("mousedown", handleJumpStart);
127127

128-
createjs.Ticker.setFPS(40);
128+
createjs.Ticker.framerate = 40;
129129
createjs.Ticker.on("tick", tick);
130130
}
131131

0 commit comments

Comments
 (0)