Added gotoAndStop() and gotoAndPlay() to HTML5
This commit is contained in:
parent
896dd379a9
commit
fddf3e1776
8
base.js
8
base.js
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue