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
  5/24/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 7:12:02 PM -

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

 
www.jsofts.com

The Cecilizer

You Done Got Cecilized

Registered
  3/19/2005
Points
  1602

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!Computer
12th March, 2010 at 7:35:10 PM -

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 The Cecilizer

 
Image

>> http://www.cecilectomy.com <<

MJK

Possibly Insane

Registered
  3/22/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 9:30:45 PM -

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
  7/29/2002
Points
  5683

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

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
  5/24/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 11:45:20 PM -

Thanks guys,

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

 
www.jsofts.com

The Cecilizer

You Done Got Cecilized

Registered
  3/19/2005
Points
  1602

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!Computer
15th March, 2010 at 12:05:55 AM -

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.

 
Image

>> http://www.cecilectomy.com <<

Assault Andy

Administrator
I make other people create vaporware

Registered
  7/29/2002
Points
  5683

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

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

The Cecilizer

You Done Got Cecilized

Registered
  3/19/2005
Points
  1602

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!Computer
15th March, 2010 at 5:17:58 AM -

hmm

 
Image

>> http://www.cecilectomy.com <<

Jason Orme

Using Klik Products Since 1998

Registered
  5/24/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 11:00:14 PM -

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

 
www.jsofts.com

JamieM



Registered
  8/25/2009
Points
  2
16th March, 2010 at 5:01:47 AM -

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