I convert an image byte array into base64 string, it successfully converted and if i convert it back into byte array and assign to any image as source work fine.
The Problem,
If i try to set the same base64 string as an attribute of an XML that i am locally created for saving purpose it disturb or corrupt my base64 string before send to server.
any help ?
var ImageBase64String :String;
ImageBase64String = AppUtils.getBase64String(m_oImageContent);
var UpdateUserXML:XML = <UpdateUser />;
UpdateUserXML.@ImageData = ImageBase64String;
trace(UpdateUserXML.toString());
I solve this in this way,