XMLファイルサンプル ※AIRベータ2のときの情報です。 †<?xml version="1.0" encoding="UTF-8"?> <application xmlns="http://ns.adobe.com/air/application/1.0.M5" appId="minaco.air.sample2" version="1.0"> <name>HelloMinaco</name> <description>Sample</description> <title>Hello Minacoアプリケーション</title> <copyright>2007 Minco</copyright> <initialWindow> <title>Hello Minacoアプリケーション</title> <content>Sample2.swf</content> <systemChrome>standard</systemChrome> <transparent>false</transparent> <visible>true</visible> </initialWindow> <!-- <icon> <image16x16>icons/AIRApp_16.png</image16x16> <image32x32>icons/AIRApp_32.png</image32x32> <image48x48>icons/AIRApp_48.png</image48x48> <image128x128>icons/AIRApp_128.png</image128x128> </icon> --> <!-- <fileTypes> <fileType> <name>Text File</name> <extension>txt</extension> <description>Text File</description> <contentType>text/plain</contentType> </fileType> </fileTypes> --> </application> <application> †appId属性 →AIRアプリケーションを一意に識別するためのIDで、Javaのパッケージ名と同じくドメイン名をひっくり返した形式が推奨されている。 version属性 →アプリケーションのバージョンを表す任意の文字列。 <name> †アプリケーションの名称(必須) <description> †インストール時に表示される説明文 <copyright> †アプリケーションの著作権情報 <title> †インストール時に表示されるアプリケーションタイトル? <initialWindow><title> †インストール時に表示されるアプリケーションタイトル? <initialWindow><content> †swfファイル名 <initialWindow><systemChrome> †"standard"か"none"を指定可能で、"standard"の場合はOS標準のタイトルバーが用いられる。 "none"の場合は、そういったウィンドウコントロールを自前で用意する必要がある。 MXMLが<mx:WindowedApplication>をルート要素に持つ場合は、デフォルトのタイトルバーが表示される。 <initialWindow><transparent> †trueにすると、作成するウィンドウの透明度を変更できるようになる。 systemChrome属性に"none"を指定している場合にのみtrueを指定可能。 <initialWindow><visible> †デフォルトでウィンドウを表示するかどうかの指定。 falseを指定した場合、ウィンドウのvisibleプロパティがtrueになるまでウィンドウが表示されない。 <icon> †アプリケーションのオリジナルアイコンを指定する場合、PNG、GIF、JPEGファイルの場所をAIRパッケージ内におけるパスで指定する。 <fileTypes> †このAIRアプリケーションに関連付けるファイルの拡張子やコンテントタイプを指定する。 Comment †
Counter: 5205,
today: 1,
yesterday: 1
|