Jump to content
Sign in to follow this  
Selacius

Best Method To Save Data in AS3

Recommended Posts

I am trying to figure out the best way to save my RPG object data in AS3. I would preferrably like it to be sent to a server and saved in a db, however I am struggling with how to send all of my data across to PHP. The objects are quite lengthy and have nested objects within them as well. Any suggestions would be greatly appreciated.

Share this post


Link to post
Share on other sites

There's the URLLoader class and related classes. They need to work together to send data. It might appear complicated but you're going to have to learn it. ActionScript can save some data on the client side using Shared Objects. They're like cookies.

Share this post


Link to post
Share on other sites

You'll need to convert the objects to text through serialization or something similar if you want to store them in the database.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...