# BitmapData Scanning Problem

**URL:** https://forum.kirupa.com/t/bitmapdata-scanning-problem/259281
**Category:** flash
**Created:** [May 2, 2008, 7:17pm UTC](https://forum.kirupa.com/t/bitmapdata-scanning-problem/259281 "2008-05-02T19:17:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Helixx2dbl](https://avatars.discourse-cdn.com/v4/letter/h/ebca7d/32.png) [@Helixx2dbl](https://forum.kirupa.com/u/Helixx2dbl)
#### Post date: [May 2, 2008, 7:17pm UTC](https://forum.kirupa.com/t/bitmapdata-scanning-problem/259281/1 "2008-05-02T19:17:31Z")

</div>

Hey everyone, I am having some trouble with a scanner I wrote. I believe I may be reaching some upper limit of flash’s memory but I’m not sure. Here is how it works:

1. Load swfs from directory.
2. draw frames from a swf into an array and push that array into a dictionary whose key is the current frame label of the swf.
3. use those objects for rendering a scene.

Everything works fine except when I load a swf that is longer than 1500 frames long it will randomly just stop and say “Invalid Bitmap Data” But its always on a random frame, so its not something in the swf thats doing it. Does anyone know the upper limit of bitmap objects? I do realize its alot to scan in.

Thank you.
