- コミット日時:
- 2009/01/29 16:11:00 (3 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
ruby/jsplash/trunk/client2/jsplash/objects.js
r1624 r2191 19 19 decls.push("with(this){\n"); 20 20 21 21 22 22 var func2; 23 23 eval( "func2=" + (func.toString()+"__END__").replace("{", "{"+decls.join('')).replace(/} *__END__$/m, saves.join('')+"}") ); ruby/jsplash/trunk/client2/jsplash/player.js
r1624 r2191 152 152 153 153 JSplash.launch = function() { 154 JSplash.showLoadingText("Loading data... (movie1 and script)"); 154 155 JSplash.require('./'+JSplash.LOAD_DIR+'/asblock.js'); 155 156 JSplash.require('./'+JSplash.LOAD_DIR+'/movie1.js'); 157 } 158 159 JSplash.showLoadingText = function(s) { 160 var box = $('loading-text'); 161 if (!box) return; 162 163 if (!s) 164 { 165 box.style.display = "none"; 166 return; 167 } 168 169 box.style.display = ""; 170 box.innerHTML = s; 156 171 } 157 172 … … 223 238 JSplash.swfdata = dat; 224 239 if (next_file) { 240 JSplash.showLoadingText("Loading data... (movie2)"); 241 225 242 JSplash.$next(function(){ 226 243 JSplash.require('./'+JSplash.LOAD_DIR+'/'+next_file); … … 240 257 } 241 258 259 JSplash.showLoadingText(null); 242 260 JSplash.$next( JSplash.initPlayer ); 243 261 }

