Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 06-22-2008, 01:42 PM   #1
Evil_Kefka
Pass the collection plate
 
Evil_Kefka's Avatar
 
Join Date: Jul 2005
Location: A melancholy town where we never smile
Posts: 51
Send a message via MSN to Evil_Kefka
Default Saving Game

I'm readin' about what you would do to save information of a Flash, like if you wanted to save a game, and I saw that some people are sayin' you can either save the information by saving it to a cookie, or saving to a server.

I have a server, but is there an advantage to having it save a certain way?

Also, can someone explain to me how you would save to a server?
Evil_Kefka is offline   Reply With Quote
Old 06-22-2008, 01:53 PM   #2
ASWC
Super Moderator
 
ASWC's Avatar
 
Join Date: Dec 2007
Location: Greenville, SC
Posts: 6,528
Default

Cookie means SharedObject but the problem with this solution is that the user can keep the SharedObject from being saved on his/her computer so basicaly you can't assume that this solution will work every time. Server means sending information from Flash to a server side script (PHP, Coldfusion) that will in turn save the information either to a database or by creating a flat file like a text file or XML file. In both solutions you can read the information when your movie starts and then save it anytime while the movie runs.
__________________
aswebcreations
Super Duper!
ASWC is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FlashGameLicense.com - virtual marketplace to connect game developers and buyers AdamSchroeder General Chat 0 12-18-2007 09:16 PM
Nietzsche: My first AS2 game SHDR Gaming and Game Development 2 07-16-2007 08:13 AM
Rate My Game, plz fill the questioner UzumakiJr Site Check 0 12-16-2006 08:48 PM
[AS2] Card Game (turn-based) - Lobby Room and Game Room, maintain state cururu Gaming and Game Development 3 05-20-2006 02:06 AM
[AS2] Saving flash drawing game files jimboready Gaming and Game Development 5 09-19-2005 09:01 PM


All times are GMT. The time now is 02:44 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.