Selacius Posted December 13, 2012 Share Posted December 13, 2012 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. Link to comment Share on other sites More sharing options...
Ingolme Posted December 13, 2012 Share Posted December 13, 2012 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. Link to comment Share on other sites More sharing options...
justsomeguy Posted December 13, 2012 Share Posted December 13, 2012 You'll need to convert the objects to text through serialization or something similar if you want to store them in the database. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now