Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-01-2006, 10:00 PM
? ? is offline
Junior Member
 
Join Date: Nov 2006
Posts: 6
Default saving high score

My swf game can save high scores. How do I turn the swf into a exe without having to need the swf file itself to get the high scores to show up after its turned into an exe?
Reply With Quote
  #2 (permalink)  
Old 11-04-2006, 10:03 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:saving high score

not quite get what you mean. Please give us more details.
Reply With Quote
  #3 (permalink)  
Old 11-04-2006, 06:09 PM
? ? is offline
Junior Member
 
Join Date: Nov 2006
Posts: 6
Default Re:saving high score

I have a swf file game that shows you the highest score that you've got and keeps it there even if you close the game/pc and open it back up again, the high score is still there. How do I turn the swf file game into a exe file game and still have the ability to keep the high score there without needing the swf file there to make the exe work right.
Reply With Quote
  #4 (permalink)  
Old 11-07-2006, 03:11 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:saving high score

Are you using SharedObject? The followng tutorial is about sharedobject with swfkit:

http://www.swfkit.com/swfkit/doc/manual/node53.html
Reply With Quote
  #5 (permalink)  
Old 11-07-2006, 05:00 PM
? ? is offline
Junior Member
 
Join Date: Nov 2006
Posts: 6
Default Re:saving high score

no, it's on my pc.
Reply With Quote
  #6 (permalink)  
Old 11-09-2006, 02:53 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:saving high score

We guess that you are using shared objects to save data. Could you please send your swf file to us? We will help you to solve your problem.
Reply With Quote
  #7 (permalink)  
Old 11-09-2006, 08:46 PM
? ? is offline
Junior Member
 
Join Date: Nov 2006
Posts: 6
Default Re:saving high score

Heres the link to get it "the swf file."
Reply With Quote
  #8 (permalink)  
Old 11-10-2006, 02:21 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:saving high score

You only need to change your shard object accessing code to

Code:
game_so = SharedObject.getLocal("game_so.neaveSimon.company", "/");
where "game_so.neaveSimon.company.com" muse be a unique identifier so that it will not conflicted with other flash applications.
Reply With Quote
  #9 (permalink)  
Old 11-10-2006, 01:55 PM
? ? is offline
Junior Member
 
Join Date: Nov 2006
Posts: 6
Default Re:saving high score

I know this may seem kinda dumb but I have to ask anyway, How can I do that (change the shard object accessing code)?
Reply With Quote
  #10 (permalink)  
Old 11-11-2006, 12:51 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:saving high score

Yes, in actionscript, your original code is:
Code:
game_so = SharedObject.getLocal("neaveSimon);
After modifying the above code, you just need to export a new swf file and convert it to an executable file by using swfkit.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:55 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.