A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [CS3] Saving/Loading Data from an Array

  1. #1
    Junior Member
    Join Date
    Jun 2008
    Posts
    19

    [CS3] Saving/Loading Data from an Array

    Hey guys, I'm a complete beginner at this stuff, so any help is appreciated. I originally posted this in the AS3 forum, but was referred here.

    I have a 2D array that has integer values. It is created by a map-editor of sorts that I wrote for tiles in a grid. I want to be able to save it to a server and then load it later, so that users can create custom maps. How can I go about doing this?

    Thanks!
    Supra

  2. #2
    President PhobiK's Avatar
    Join Date
    Jan 2005
    Location
    Guatemala
    Posts
    918
    Not too used to such stuff but I think you can do it using php and mySql. I dunno if you can store arrays in mySql, but if not, you could make your own way to read them from the database.
    This is MC. His _parents sent him to stop() by the super market to buy some _root beer if he wanted to gotoAndPlay() with his friends at the park later.

    This is my Blog!... The gaming Process
    Please check out my site: Giddel Creations

  3. #3
    Senior Member realMakc's Avatar
    Join Date
    Oct 2002
    Posts
    927
    check json (tutorial is for flex, but I'm sure you can bite out relvent code portions)
    who is this? a word of friendly advice: FFS stop using AS2

  4. #4
    Feeling adventurous? T1ger's Avatar
    Join Date
    Mar 2004
    Posts
    850
    Read up on php and mysql interaction in flash
    I don't have a photograph, but you can have my footprints. They're upstairs in my socks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center