|
-
 Originally Posted by joshstrike
It will probably be swept on the next pass, but I always do this to speed it up and make sure...
if (loader.content && loader.content.bitmapData) {
loader.content.bitmapData.dispose();
}
unload();
That clears the bitmap's pixels and reduces its size to 0x0 immediately. Useful if you're running a ton of loaded bitmaps and need to clear 'em fast...
Alright, thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|