rem: 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) 
add: for (var i = 0;i<x.length;i++){ var y = x[i] y.hasFocus=false; y.onfocus=function(){keyShortcuts.disable();}; y.onblur=function(){keyShortcuts.enable();}; 
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/d6279c93dfac928173a95baee130443f46f50eb4/jsOut.js/buggy/Animator/dev/tmp/jsOut.js