Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-13-2009, 01:42 PM   PM User | #1
CodeSpawn
New Coder

 
Join Date: Feb 2009
Posts: 30
Thanks: 1
Thanked 7 Times in 7 Posts
CodeSpawn has a little shameless behaviour in the past
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.
CodeSpawn is offline   Reply With Quote
Old 07-14-2009, 04:31 PM   PM User | #2
CodeSpawn
New Coder

 
Join Date: Feb 2009
Posts: 30
Thanks: 1
Thanked 7 Times in 7 Posts
CodeSpawn has a little shameless behaviour in the past
can someone please at least point me in the right direction?
CodeSpawn is offline   Reply With Quote
Old 07-16-2009, 02:59 AM   PM User | #3
CodeSpawn
New Coder

 
Join Date: Feb 2009
Posts: 30
Thanks: 1
Thanked 7 Times in 7 Posts
CodeSpawn has a little shameless behaviour in the past
Well I got the levels to load perfectly. Can someone please help me with creating and uploading the XML file to a server?
CodeSpawn is offline   Reply With Quote
Old 07-20-2009, 05:19 AM   PM User | #4
CodeSpawn
New Coder

 
Join Date: Feb 2009
Posts: 30
Thanks: 1
Thanked 7 Times in 7 Posts
CodeSpawn has a little shameless behaviour in the past
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..
CodeSpawn is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:15 PM.


Advertisement
Log in to turn off these ads.