swf バージョン管理を右クリックで
♥1 |
Line 17 |
Modified 2009-12-25 08:02:26 |
MIT License
archived:2017-03-10 05:38:36
ActionScript3 source code
/**
* Copyright matsu ( http://wonderfl.net/user/matsu )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/840G
*/
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init();">
<mx:Script>
<![CDATA[
private var PROJECT_NAME:String = "Test";
private var VERSION:String = "1.0.0";
private function init():void
{
// 右クリック メニュー
var contextMenu:ContextMenu = new ContextMenu();
var contextMenuItem:ContextMenuItem = new ContextMenuItem(PROJECT_NAME + " " + VERSION, true, true, true);
contextMenu.customItems.push( contextMenuItem );
contextMenu.hideBuiltInItems();
this.contextMenu = contextMenu;
}
]]>
</mx:Script>
</mx:Application>