Copy link to clipboard
Copied
hi , how are you guys ? i hope you all fine ..
i have just a question about the swf file ..
i mean that , i.ve done game in flash but there is a little problem which is the (load game) and (save game)
commands , because when the player close the swf file the game will restart
this my question only and i hope you guys can help in this problem
thank you
If you want a game to be able to be saved so that opening it later can resume play, then you need to store the data relevant to the game somewhere so that it can be retrieved when called for. If you are creating an online game, then your options are to either save the game data to a server-side file usng server-side script to write the data file, or save it to a server-side database, or save it as a SharedObject (the Flash version of a cookie).
If you are making an AIR application, then you can
...Copy link to clipboard
Copied
If you want a game to be able to be saved so that opening it later can resume play, then you need to store the data relevant to the game somewhere so that it can be retrieved when called for. If you are creating an online game, then your options are to either save the game data to a server-side file usng server-side script to write the data file, or save it to a server-side database, or save it as a SharedObject (the Flash version of a cookie).
If you are making an AIR application, then you can have data stored in the ApplicationStorageDirectory or some other designated locale other than the ApplicationDirectory.
Copy link to clipboard
Copied
thank you a lot dr.murphy , can you give me any refrence or book to do that with
flash , because i,ve never done that before , i mean linking flash with data base ..
ohh , only this "AIR" is it exe file ?
thank you for your replay
Find more inspiration, events, and resources on the new Adobe Community
Explore Now