Problem: var loader:Loader = new Loader(); loader.loadBytes(byteArr); return loader; After that, trace(loader.width,loader.height) gives (0,0), and as soon as you change the width and height via loader.width and loader.height, it stops showing up.

Cause and solution: Like load, loadBytes is asynchronous. You need to listen for the complete event, and only after complete can you manipulate the content.

btw: Starting today, whenever a reader asks me a question — simple or complex — as long as I haven’t written about it before, I’ll record it on the blog.