# Loader.loadBytes problem

**URL:** <https://forum.kirupa.com/t/loader-loadbytes-problem/302171>\
**Category:** flash\
**Created:** [December 22, 2009, 6:15pm UTC](https://forum.kirupa.com/t/loader-loadbytes-problem/302171 "2009-12-22T18:15:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dorsakal](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@dorsakal](https://forum.kirupa.com/u/dorsakal)\
**Post date:** [December 22, 2009, 6:15pm UTC](https://forum.kirupa.com/t/loader-loadbytes-problem/302171/1 "2009-12-22T18:15:26Z")

</div>

I load photos from my local disk to flash using the FileReference class in FlashPlayer10.

each photo weights 1-2 mb.

for some reason, after a few photos are are loaded successfully (COMPLETE event from the loader.loadBytes(byteArr) function is fired), the loader I get from that event handler is empty.  
By empty I dont mean null, but width:0 and height:0.  
obviously when I add it with addChild, nothing is shown.

Does anyone know why can this happen? maybe it has somthing to do with memory/some restriction adobe put?

Thanks in advance 🙂
