Howdy. It’s been a while– sorry about that. I care, I really do.
I’ve just been super busy. Right now I’m refining an image processing app that requires a frame grabber. This is essentially a class or piece of code that passes you the next frame in an image sequence, or video. My Video object based frame grabber is terrible, so I’ve taken the road less traveled: I’ve made a JPG of every frame in my 720x480 video (~6000 frames), and I’m using a Loader object to load up an image, draw it to a BitmapData object, unload the image, load the next image, and so on.
Needless to say, my memory is going through the roof. Now theoretically, at some point the garbage collector is supposed to kick in and remove the stuff I’m not using. But something looks suspicious with my Flash project, and I was wondering whether anyone else has any tips for appropriately using Loader objects.