Added gotoAndStop() and gotoAndPlay() to HTML5
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user