Thank you. This is exactly what I need. I put the following method in
my objects and can now get the DisplayObject if it exists:
public function getImageFromCache():DisplayObject{
//check to see if this image is loaded in the cache
if( ContentCache.getCache('').hasContent(this.displayImage.url)
){
return
ContentCache.getCache('').getContent(this.displayImage.url);
}
return null;
}
--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Look at SuperImage:
>
>
http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on
> -flex-as-the-best-option-orhow-i-made-my-flex-images-stop-dancing/
>
>
>
> I think I am going to be using it myself soon.
>
>
>
> Tracy
>
>
>
> ________________________________
>
> From: [email protected] [mailto:[EMAIL PROTECTED]
On
> Behalf Of Kevin
> Sent: Tuesday, January 29, 2008 9:01 PM
> To: [email protected]
> Subject: [flexcoders] Image cache behind the scenes
>
>
>
> Is it possible to load and cache images without displaying them on the
> screen. I need to load
> images for use in my alivepdf scripts, but I don't really need to
> display them on the screen. I
> was wondering if I can still load the image class and store the image
> data on my model using ImageSnapshot.captureImage(...) or something
like
> that.
>
> Thanks, Kevin
>