diff --git a/src/extras/MovieClip.js b/src/extras/MovieClip.js index f4d8343..d07ee87 100644 --- a/src/extras/MovieClip.js +++ b/src/extras/MovieClip.js @@ -161,7 +161,7 @@ this.currentFrame = frameNumber; var round = Math.floor(this.currentFrame); - this.texture = this._textures[round % this._textures.length]; + this._texture = this._textures[round % this._textures.length]; }; /** @@ -191,7 +191,7 @@ if (this.loop) { this.currentFrame += this._textures.length; - this.texture = this._textures[this.currentFrame]; + this._texture = this._textures[this.currentFrame]; } else { @@ -205,7 +205,7 @@ } else if (this.loop || floor < this._textures.length) { - this.texture = this._textures[floor % this._textures.length]; + this._texture = this._textures[floor % this._textures.length]; } else if (floor >= this._textures.length) {