its simple string concatenation after the base64 encoding, although you never create a xml object, which makes me wonder why do you not just send and blob text instead of xml.
On 7/12/07, Paul Steven <[EMAIL PROTECTED]> wrote:
Thanks for the advice Johannes Does that mean my code looks ok to you? > > > var dataStrEncoded:String=Base64.Encode(ByteLoader.data); > > var XMLString:String; > > XMLString = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"; > XMLString += "<file>"; > XMLString += "<![CDATA[" + dataStrEncoded + "]]>"; > XMLString += dataStrEncoded; > XMLString += "</file>"; > > loader = new URLLoader(); > loader.addEventListener(Event.COMPLETE, xmlLoaded); > > var request:URLRequest = new URLRequest(ScriptPath); > > request.method = URLRequestMethod.POST; > > var variables:URLVariables = new URLVariables() > variables.xml = XMLString; > > request.data = variables > > loader.load(request); > > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- j:pn http://www.memorphic.com/news/ _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
-- j:pn http://www.memorphic.com/news/ _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

