locking - How to lock a file in Actionscript? -


using actionscript 3.0, how can lock file? i'd write highscores file , place game on server, don't want things go wrong when 2 players submit highscore @ same time. openasync() method of filestream suffice this?

thanks shaunhusain:

when placing project on webserver, swf-file sent client machine , processed there, each user of flash app/game have own high scores list on own machine. in order handle scores being submitted you'll need php, believe mysql handle concurrency issues you. other server side languages , databases work equally well, 2 know , documented , free.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -