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...'); $('export').innerHTML = ''; var swfgen = generateAnimationXML(); if(swfgen.length > 50){   Ext.Ajax.request({ url: "../freemovie/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: Ext.get("frameContainer").on("contextmenu",function(e){ timelineContextMenu.showAt(e.getXY()); e.stopEvent(); e.stopPropagation() e.preventDefault 
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...');$('export').innerHTML = '';var swfgen = generateAnimationXML();if(swfgen.length > 50){Ext.Ajax.request({url: "../freemovie/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/af9f096c35280c572f3a344cbbc4dee702b4ef92/jsOut.js/clean/Animator/dev/tmp/jsOut.js