| Börja ett nytt spel
Bara för medlemmar.
Hantera din toplista med det här MX2004/Flash 8 Actionscript 2-exemplet.
| | 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); }
|
Hantera din toplista med det här CS3/Flash 9 Actionscript 3-exemplet.
| | 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);
|
|