Ultrashock Forums > Flash > ActionScript
AS2 - Sending out XML object created inside flash

You are currently viewing our website as a guest which gives you limited access to forums, files and other resources.

Click here to join now for free, and start interacting with our members, download files and much more!

Click here if you are looking for our Flash files and other professional assets.
 
Post Reply | View first unread | Rate Thread Search this Thread | Thread Tools | Display Modes

#1
Bookmark and Share!
AS2 - Sending out XML object created inside flash
Old 2008-02-23 Last edited by tahadaf : 2008-02-23 at 04:51.

Hi,

I'm working on a project that requires me to generate some XML documents dynamically inside the flash at run time based on the users input data. all is fine up to here but my question is how I can send this big generated XML object out (out to a PHP for example) for later uses?

I have worked with some transferring data things like 'loadVars' or 'sendAndLoad'... But the problem is that you are able to send just variables and their valus out using these methods. What I'm looking for is to send the whole generated XML object. What is the best recommended way for this you think?

Any help, hint, is highly appriciated.
Thanks,
Hadi
postbit arrow 2 comments | 269 views postbit arrow Reply: with Quote   
Registered User
tahadaf is offline
seperator
Posts: 167
2006-09-19
Age: 24
tahadaf lives in Iran, Islamic Republic of
seperator

Ultrashock Member Comments:
Isocase's Avatar Isocase Isocase is offline Isocase lives in United States 2008-02-23 #2 Old  
I know I have come across some threads asking about writing to a XML file from Flash. If you search you can probably dig them up...I think you can use Zinc?!? but I could be wrong.
Reply With Quote  
tahadaf tahadaf is offline tahadaf lives in Iran, Islamic Republic of 2008-02-23 #3 Old  
What a dummy question to be asked! yeah, of course we can send out the whole generated thing out, simply using

myGenerated_XML.sendAndLoad("xmlreader.php", results_Xml);

That's it, we are storing all data in an XML object, so can send the whole object out to a PHP Can you believe I wasted 5 good hours for such an easy problem? I just thought to post the answer here so others with such a problem will save time. good luck.
Reply With Quote  
Thread Tools
Display Modes Rate This Thread
Rate This Thread: