Hello, i've been searching for a while to a solution to this problem,
and i've been trying myself, with no succeed.
The problem is this, i'm encoding to JPEG six bitmap captures from a
webcam stream in a video component.
Up to here, is no problem. But if I used the native class to encode
(mx.graphics.codec.JPEGEncoder) the AIR application hang for 2 minutes
processing the images. In these case at the end of the process i call
a function to free up the memory, and everything works fine.
The problem is that i'm using a modified class to encode
(http://blog.paranoidferret.com/index.php/2007/12/11/flex-tutorial-an-asynchronous-jpeg-encoder/)
. The benefit is that i can show a progressbar showing the encoding
process. But the only problem that i have is that, at the end of the
process, i have memory hang up... i've been reading that these may
occur without a proper care in the events listeners.
Sory about my english, is not ma native language, and thanks in
advance for your time and patience.