SPACE

種  類
プロパティ Read Only
バージョン
FLASH
5
LiveMotion
2

書  式
Key.SPACE

解  説
Key.SPACEはスペースキーのキーコードを返します。


コード
if (Key.isDown(Key.
SPACE))
{
_root.myText = "Hit!";
}else{
_root.myText = "-";
}



■サンプルスクリプトをダウンロードする >>sample.zip
■サンプルスクリプトを実行する >>sample