Be a Supporter!

Quick question on Saving.

  • 221 Views
  • 2 Replies
New Topic Respond to this Topic
ThePeasant
ThePeasant
  • Member since: Aug. 30, 2007
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Quick question on Saving. 2009-02-09 11:37:40 Reply

Hey,

I'm just conceptualizing a project and I want to know if it's possible to save something into a SWF file on the net, or if it is only possible through cookies (or PHP). Eg. Create a Flash program which will store a value for the number of users who played it (that's not what I want it for, but it's an example).

So... is it possible?

Denvish
Denvish
  • Member since: Apr. 25, 2003
  • Offline.
Forum Stats
Member
Level 46
Blank Slate
Response to Quick question on Saving. 2009-02-09 12:14:08 Reply

No, it's not possible to use JUST Flash to save that kind of data. You can save variables to a user's PC using Flash cookies (sol files), but to make something like a page counter you need ASP, PHP, CGI or similar, and probably an online database (although a Flash-specific multiplayer server will probably offer other options)

These tuts are for AS2, not sure which version you're on

AS: Flash/PHP Webpage Hit Counter
AS: Flash & PHP by shazwoogle
AS: Load External Data/Cross-Domain
AS: Loading/Unloading Data by shazwoogle


- - Flash - Music - Images - -

BBS Signature
ThePeasant
ThePeasant
  • Member since: Aug. 30, 2007
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to Quick question on Saving. 2009-02-10 03:10:50 Reply

thx