Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / General Flash Topics / July 2008



Tip: Looking for answers? Try searching our database.

how to make 'save' for flash games

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
modirmasool - 04 Jul 2008 12:36 GMT
:confused;
hi I will be grateful if you just guide me how to make 'save' for my flash
games.
for example I want to save a variable in a external object like a text file or
anything else and after reruning it, recall this variable from the external
object.
Thanks alot.[b]Text[/b]
DMennenoh **AdobeCommunityExpert** - 04 Jul 2008 13:19 GMT
Read about the SharedObject class in the Help.

Signature

Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

Travis - 04 Jul 2008 17:18 GMT
> :confused;
>  hi I will be grateful if you just guide me how to make 'save' for my flash
[quoted text clipped - 3 lines]
> object.
>  Thanks alot.[b]Text[/b]

Assuming this is on the web.  If you want to save it to a hard file
(say Text file or database) you will need some server side
scripting.

If you just want to save the game data from one time to another, then
take a look at the sharedObject class.  It is kinda like a cookie. but
is for Flash.
adrianTNT - 04 Jul 2008 17:55 GMT
As DMennenoh  said, you can use SharedObject and save some information on your
computer, then your flash file can read that local data even is you open the
swf file at a later time.

If you have your swf files on server then is best ot use flash with PHP and
send the info to a php script and that php scriopt will be the one that saves
the data.

There isn't a way to make flash itself save data from what I know (except
SharedObject).
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.