A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: Flash + XML + PHP (Level Upload)

Threaded View

  1. #1
    Member
    Join Date
    Jul 2009
    Posts
    32

    Flash + XML + PHP (Level Upload)

    Hi guys i'm new here. I thought I could get some help with something I'm stuck on.

    I dont know exactly where to place this so I just put it here.

    Well I am trying to create a game. I was hoping to allow users to create and upload their own levels.

    Making a level editor in Flash should be no problem. I've created one before. The problem is after that.

    Using this I was able to load a level from a server.
    http://www.emanueleferonato.com/2007...le-based-game/

    Ok. So right now I have a level editor and the ability to load an XML level. What I now need to be able to do is to upload the created levels to the server. I have heard that Flash alone cannot do this. I need to use Flash with PHP.

    I am not new to Flash or PHP. But I have never used the two together before and I can't seem to find any thing online.

    Can someone please help me figure this out?

    Also. How would I get the uploaded files from the server? The tutorial I used to load a level uses a main file that holds the locations of the two level files. But when users upload their own level where would I look for them? Do I have to edit the main XML somehow? Or even better is there a way to get a list of all files from a directory?

    I haven't been able to find anything online. I would greatly appreciate any help.
    Last edited by SykoPath; 07-19-2009 at 06:59 AM.

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