OSDN Git Service

console.debug ¤ò¥³¥á¥ó¥È¥¢¥¦¥È
[flapp/flapp.git] / src / movieclip.js
index de1f9bc..0084a28 100644 (file)
@@ -83,7 +83,7 @@ FlappMovieClip.prototype = {
         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+")");
@@ -99,7 +99,7 @@ FlappMovieClip.prototype = {
         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)) {
@@ -171,7 +171,7 @@ FlappMovieClip.prototype = {
     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;
@@ -187,7 +187,7 @@ FlappMovieClip.prototype = {
         }
     },
     incrementThis: function() {
-        console.debug("FlappMovieClip::incrementThis: "+this.currentFrame);
+//        console.debug("FlappMovieClip::incrementThis: "+this.currentFrame);
         this.currentFrame++;
         if (this.totalframes <= this.currentFrame) {
             if (this.loop) {
@@ -201,13 +201,12 @@ FlappMovieClip.prototype = {
         }
     },
     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);
         }
     },