i am using the following setup:
step 1 works fine and i get the bytearray which is about 36k, according to the progressevent.
now i pass the the data as follows: loader.loadBytes(event.payload as ByteArray);
here's where i'm stuck. i have listened both for Event and DataEvent but nothing happens. i enclosed the part in a try/catch statement, still nothing. i ran it with the debugger and: NOTHING. it just seems to do nothing after calling loadBytes.
i looked up a lot of threads about complete events not firing on loader, but nothing similar to my problem.
ok, i gave up on this. it was probably my fault somewhere but i ended up just adding the loader itself and stopped trying to load the bytearray into a bitmapimage.