| Wprowadź nową grę
Strefa wyłącznie dla członków
Zarządzaj swoimi wynikami przy użyciu przykładowego skryptu Actionscript 2 (MX2004 / Flash 8).
| | 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); }
|
Zarządzaj swoimi wynikami przy użyciu przykładowego skryptu Actionscript 3 (CS3 / Flash 9).
| | 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);
|
|