if (this.totalframes === 0) { // imcomplete
return false;
}
- console.debug("FlappMovieClip::control: name:"+this.name+" playing:"+this.playing);
+// console.debug("FlappMovieClip::control: name:"+this.name+" playing:"+this.playing);
if (this.framesLoaded < this.totalframes) { // imcomplete
if (this.currentFrame < this.framesLoaded) {
console.debug("control:imcomplete (currentFrame:"+this.currentFrame+" < framesLoaded:"+this.framesLoaded+")");
return true;
},
controlThis: function(dict) {
- console.debug("FlappMovieClip::controlThis: name:"+this.name);
+// console.debug("FlappMovieClip::controlThis: name:"+this.name);
var tag, i, l;
var defineTag;
if ((this.currentFrame < 0 ) || (this.totalframes <= this.currentFrame)) {
actionThis: function() {
var actionTags = this.actionTagsList[this.currentFrame];
var l = actionTags.length;
- console.debug("FlappMovieClip::actionThis: actionTags.length:"+l);
+// console.debug("FlappMovieClip::actionThis: actionTags.length:"+l);
for (var i = 0 ; i < l ; i++) {
var tag = actionTags[i];
var movieClip = this;
}
},
incrementThis: function() {
- console.debug("FlappMovieClip::incrementThis: "+this.currentFrame);
+// console.debug("FlappMovieClip::incrementThis: "+this.currentFrame);
this.currentFrame++;
if (this.totalframes <= this.currentFrame) {
if (this.loop) {
}
},
render: function(canvas, dict) {
- console.debug("FlappMovieClip::render: name:"+this.name);
+// console.debug("FlappMovieClip::render: name:"+this.name);
var depthList = this.displayList.ascSortedDepth();
for (var i = 0, l = depthList.length ; i < l ; i++) {
var depth = depthList[i];
var obj = this.displayList.get(depth);
- console.debug(obj);
- // obj.render(this.canvas);
+// console.debug(obj);
obj.render(canvas, dict);
}
},