A Flash Diary
A diary about programming problems - to help me more easily learn from (and Google) past mistakes.
Showing posts with label
nextFrame
.
Show all posts
Showing posts with label
nextFrame
.
Show all posts
Thursday, 8 October 2015
Flash CC Pro/CreateJS: nextFrame
This function doesn't exist in Flash's HTML5 canvas, but the below will work instead.
this.forw.addEventListener("click", goNext.bind(this));
function goNext() {
this.gotoAndStop(this.currentFrame + 1);
}
Older Posts
Home
Subscribe to:
Posts (Atom)