changeset 1397:a19f6cecf3c8

Hide the last frame.
author wycc
date Sat, 02 Apr 2011 06:00:25 +0800
parents a5672125e515
children 6fa4a53c3fca
files nodejs/mbapp.js
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nodejs/mbapp.js	Sat Apr 02 05:39:26 2011 +0800
+++ b/nodejs/mbapp.js	Sat Apr 02 06:00:25 2011 +0800
@@ -271,6 +271,7 @@
     if (scenes == null) return;
     for(i=0;i<scenes.length-1;i++) {
         try {
+            this.get(scenes[i].ref).hide();
             if (nth >=scenes[i].start && nth <=scenes[i].end) {
 	        sys.puts("find");
 		if (scenes[i].type == 'normal' || i == scenes.length-1) {
@@ -298,6 +299,7 @@
 	    sys.puts(scenes[i].ref);
 	}
     }
+    this.get(scenes[i].ref).hide();
     this.refresh();
 }