The Daily Click ::. Forums ::. Klik Coding Help ::. Saving when using Flash
 

Post Reply  Post Oekaki 
 

Posted By Message

Jason Orme

Using Klik Products Since 1998

Registered
  24/05/2002
Points
  960

VIP Member360 OwnerWii OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimeI'm a Storm TrooperI'm on a BoatIt's-a me, Mario!
Sonic SpeedMushroomStrawberryI like Aliens!PS3 OwnerTurtle Power!I am an April Fool
12th March, 2010 at 19:12:02 -

Anyone know of a way to create a save system for a flash game built in MMF2?

 
www.jsofts.com

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
12th March, 2010 at 19:35:10 -

can flash access any sort of external files?

i kind of doubt it. so your best bet would be to use a database on the site its uploaded to. a simple encrypted string should do it.

Edited by Cecilectomy

 
n/a

MJK

Possibly Insane

Registered
  22/03/2006
Points
  3592

Game Of The Week Cup 1Game Of The Week Cup 2Game Of The Week Cup 3Game Of The Week Cup 4Game Of The Week Cup 5Game Of The Week Cup 6
12th March, 2010 at 21:30:45 -

You should be able to save to ini. However, when the user clears browser cache, this temporary ini file is lost.

 
n/a

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
12th March, 2010 at 23:05:22 -

I've tested the INI in flash and it saves and loads just like a local ini file. Just use it as normal without setting the ini file's location. Though as MJK mentioned, clearing the cache will delete the temporary ini file (though I haven't tried this.)

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Jason Orme

Using Klik Products Since 1998

Registered
  24/05/2002
Points
  960

VIP Member360 OwnerWii OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimeI'm a Storm TrooperI'm on a BoatIt's-a me, Mario!
Sonic SpeedMushroomStrawberryI like Aliens!PS3 OwnerTurtle Power!I am an April Fool
14th March, 2010 at 23:45:20 -

Thanks guys,

How do you save an INI without selecting a file location? Mine never work.

 
www.jsofts.com

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
15th March, 2010 at 00:05:55 -

i think you just save it using expression and just do "save.ini" instead of like apppath$ + "save.ini" or something similar, and it will save it to the cache. maybe? not sure, never tried.

 
n/a

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
15th March, 2010 at 05:13:46 -

In the INI object you don't even have to "save". It is auto whenever you change a value. Simply change a value and the data will be saved.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
15th March, 2010 at 05:17:58 -

hmm

 
n/a

Jason Orme

Using Klik Products Since 1998

Registered
  24/05/2002
Points
  960

VIP Member360 OwnerWii OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimeI'm a Storm TrooperI'm on a BoatIt's-a me, Mario!
Sonic SpeedMushroomStrawberryI like Aliens!PS3 OwnerTurtle Power!I am an April Fool
15th March, 2010 at 23:00:14 -

Can anyone confirm anything that has been said in this thread?
My INI skills are pretty poor at best.

 
www.jsofts.com

JamieM



Registered
  25/08/2009
Points
  2
16th March, 2010 at 05:01:47 -

You'd probably be better off using a PHP script that saves to a database, and then calling it with the Get object.

 
http://www.aquadasoft.com
   

Post Reply



 



Advertisement

Worth A Click