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

Reply via email to