rem: Ext.MessageBox.prompt("Filename","please enter a file name for the animation",function(btn,zSWFFilename){ if(btn != "cancel"){  zSWFFilename = zSWFFilename.replace(".swf",""); zSWFFilename = escape(zSWFFilename) eButton.disable() eButton.setText('generating...'); exportText.getEl().dom.innerHTML = "" var swfgen = generateAnimationXML(); if(swfgen.length > 50){   Ext.Ajax.request({ url: fGenDir+"swfgen.php", params: { filename: zSWFFilename, type: "export", height: canvasHeight, width: canvasWidth, framerate: AnimationFramerate, svg: swfgen }, success: function(e){ setTimeout('generateSWFResponse("'+e.responseText+'")',500) }  })  } }else{ Ext.MessageBox.alert("Export Flash","Canceled") } }); 
add: previewRevision.on("select",function(c){ $("zFlashPreviewDiv").innerHTML = genFlashHTML(animationRevisionURL[parseInt(c.value.substring(c.value.indexOf(":")+1))]) }) 
context: Ext.MessageBox.prompt("Filename","please enter a file name for the animation",function(btn,zSWFFilename){if(btn != "cancel"){zSWFFilename = zSWFFilename.replace(".swf","");zSWFFilename = escape(zSWFFilename)eButton.disable()eButton.setText('generating...');exportText.getEl().dom.innerHTML = ""var swfgen = generateAnimationXML();if(swfgen.length > 50){Ext.Ajax.request({url: fGenDir+"swfgen.php",params: {filename: zSWFFilename,type: "export",height: canvasHeight,width: canvasWidth,framerate: AnimationFramerate,svg: swfgen},success: function(e){setTimeout('generateSWFResponse("'+e.responseText+'")',500)}})}}else{Ext.MessageBox.alert("Export Flash","Canceled")}});
meta: 5269	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5269/95d402d89372ff5278b82e0e4cb41ce363115ed5/jsOut.js/buggy/Animator/dev/tmp/jsOut.js