Jump to content
Search Community

cacheAsBitmap

clipclicmusic test
Moderator Tag

Recommended Posts

Hi Jack

 

wondering if you could add the option to cache a loaded SWF as bitmap.

cacheAsBitmap seems to be something that may be useful to more than one...

 

I am loading swf images, then using them with the transformManager (it IS worth it !!!!), and a cacheAsBitmap option on the LoaderMax would make the two seamless...

 

Thx

 

Jason

Link to comment
Share on other sites

Help me understand what exactly you're looking for here. Are you saying you want LoaderMax to set the "cacheAsBitmap" property of your loaded swf to true? Or are you wanting it to do a fancy BitmapData capture for you?

 

I'm not sure it would be worthwhile to add a special property to LoaderMax just to set the "cacheAsBitmap" property to true (since it isn't something that is super useful or saves a lot of code). Plus I'm concerned it would bloat memory usage unnecessarily. Imagine a slideshow that loads 100 vector graphics and shows them one at a time on the screen - if the swfs are all preloaded and cacheAsBitmap is set to true, memory would skyrocket initially. It would be wiser for the developer to just set cacheAsBitmap to true when each image is actually displayed on the screen, and then toggle it off when the image fades out.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...