| 提交新游戏
成员唯一地区
主持你的比分与代码这个例子在"Actionscript 2 MX2004"。
| | import flash.external.ExternalInterface;
...
// The score variable contains the score of the player. It's an integer. The higher it is, the best the score is. if (ExternalInterface.available) { ExternalInterface.call("saveGlobalScore",score); } else { fscommand("saveGlobalScore",score); }
|
主持你的比分与代码这个例子在"Actionscript 3 CS3"。
| | import flash.external.ExternalInterface;
...
// The score variable contains the score of the player. It's an integer. The higher it is, the best the score is. ExternalInterface.call("saveGlobalScore",score);
|
|