Set the value of a variable at compile
I want to display the date when a SWF was compiled. Is there a way to set the value of a variable when a SWF is compiled?
I have this code for the context menu. But of course the date displayed is the date when the SWF is running, not when it was compiled.
var date:Date = new Date();
var newContextMenu:ContextMenu = new ContextMenu();
newContextMenu.customItems.push( new ContextMenuItem("Compiled Date = " + date.toString()) );
contextMenu = newContextMenu;
Thanks!
