Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Feb 2009
    Posts
    30
    Thanks
    1
    Thanked 7 Times in 7 Posts

    Flash + XML (Level Upload)

    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.

    1) How do I export the level as XML in Flash?
    2) How do I use Flash to upload that same XML level to a server?

    Using this I should be able to load the levels.
    http://www.emanueleferonato.com/2007...le-based-game/


    But I see a problem in that. It uses a main .xml file that holds the locations/names of the other levels. But if other people are uploading their own then you would need to update the main file. Is this possible or the correct way? I would think that getting all of the files located in that directory would work better. Is this possible or the correct way?

    Sorry for asking. But I can't seem to find any useful answers online.

  • #2
    New Coder
    Join Date
    Feb 2009
    Posts
    30
    Thanks
    1
    Thanked 7 Times in 7 Posts
    can someone please at least point me in the right direction?

  • #3
    New Coder
    Join Date
    Feb 2009
    Posts
    30
    Thanks
    1
    Thanked 7 Times in 7 Posts
    Well I got the levels to load perfectly. Can someone please help me with creating and uploading the XML file to a server?

  • #4
    New Coder
    Join Date
    Feb 2009
    Posts
    30
    Thanks
    1
    Thanked 7 Times in 7 Posts
    The game loaded XML but doesn't seem to work when uploaded to a server. Can someone please tell me why?

    All I need to know is how to transfer data from Flash to php.

    Can you all at least tell me why you won't help me instead of ignoring me?
    Last edited by CodeSpawn; 07-21-2009 at 05:25 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
    •