I have a question about getting an image from server. btw I'm using BlazeDS. And when I attempt to load it from loader it gives me "Loaded file is an unknown type." error message. Here's my code:
var loader:Loader = new Loader();
loader.loadBytes(SessionClientData.prsnl.resim); //it throws an exception here
img_doktor.source = Bitmap(loader.content);
SessionClientData.prsnl.resim is byte array.
Any suggestions? or Any other way of doing it?