RIGHT

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

書  式
Key.RIGHT

解  説
Key.RIGHTはカーソルキーの→キーのキーコードを返します。


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



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