Added gotoAndStop() and gotoAndPlay() to HTML5

This commit is contained in:
Skyler Lehmkuhl 2012-01-12 16:20:09 -05:00
parent 896dd379a9
commit fddf3e1776
1 changed files with 8 additions and 0 deletions

View File

@ -217,6 +217,14 @@ function MovieClip() {
this.stop = function () {
//Timer.remove(this)
this._playing = false
}
this.gotoAndPlay = function (frame) {
this._playing = true;
this._currentframe = frame;
}
this.gotoAndStop = function (frame) {
this._playing = false;
this._currentframe = frame;
}
// Implemented?
this.onData = function () { //No