...

View Full Version : Flash + XML (Level Upload)



CodeSpawn
07-13-2009, 02:42 PM
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/05/21/how-to-load-levels-in-a-flash-tile-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.

CodeSpawn
07-14-2009, 05:31 PM
can someone please at least point me in the right direction?

CodeSpawn
07-16-2009, 03:59 AM
Well I got the levels to load perfectly. Can someone please help me with creating and uploading the XML file to a server?

CodeSpawn
07-20-2009, 06:19 AM
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?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum