What does this mean for me? You will always be able to play your favorite games on Kongregate. However, certain site features may suddenly stop working and leave you with a severely degraded experience.
What should I do? We strongly urge all our users to upgrade to modern browsers for a better experience and improved security.
We suggest you install the latest version of one of these browsers:
Kongregate is a community-driven browser games portal with an open platform for all web games.
Get your games in front of thousands of users while monetizing through ads and virtual goods.
Learn more »
Well. I´ve got a file wich shows in screen a ball, a bunch of spikes and 3 coins. If the ball touchs the spikes, the screen go to game over and it saves the coins gotten. Then, if you press the retry button and got any coin, that coin also save it, even if before don’t touch the spikes. I don’t know why.
Press [here](https://0a45ac2e-a-62cb3a1a-s-sites.googlegroups.com/site/flifloflujeras/flifloflu/Coins_array_works.swf?attachauth=ANoY7cozUYc1NZNRFC_FW7IF0357nKomZ2lJVA9GaH0W3CBk2ud1jaR8ODtPtZ2vt2nu6bEm6FcoPfaeJVFuFuk2Plw0Ya12PWpMtFknuzKILkMtg2ZBkxn78NeHIN2jrf7rp8vUALn41Mt0ZOuwoQbSaA6m-kk7YWIQgad1YCRUTzD1vWtRQTATHtLr9EWPDYhC7mhbIEPeEZhGHjKf0m_albu8WyIQ_lgWNyCkeuhpZ3xnPNvazdc%3D&attredirects=0) to try my test file.
The small blue ball resets the data.
Nobody knows the fix? I explain another time:
If you take a coin and afterwards touch the spikes, the game saves the score and removes the taken coin. If then you press the retry button, the game restart, but the taken coin isn’t show on screen and the score shows 1.
At that point all works fine.
But if in that moment you take another coin, and you refresh the page (close and reopen the file in my case), the new taken coin isn’t on screen and score is too wrong.
When you close the game, flush() is called automatically. So when you put stuff temporarily in a SharedObject file (which you do), it will be saved when the game is closed.
It doesn’t do that on the first load because you don’t create the variables in the SO to save to until the player is killed by the spikes.