Flex:在列表项渲染器中缓存图像? [英] Flex: Caching images in list item renderer?

查看:33
本文介绍了Flex:在列表项渲染器中缓存图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个列表,项目渲染器显示一个图像.每当您滚动列表并且项目渲染器刷新时,它都会重新下载图像.导致总是有延迟.是否有某种方法可以缓存它,这样它就不必每次都重新下载,从而导致每次滚动列表时显示图像的延迟?

I have a List and the item renderer displays an image. Whenever you scroll the list, and the item renderer refreshes, it redownloads the image. Causing there to always be a delay. Is there some way of caching it so it doesn't have to redownload every time causing a delay in showing the image every time you scroll the list?

谢谢!

推荐答案

这是带有源代码的不错的解决方案http://demo.quietlyscheming.com/superImage/app.html

Here is nice solution with source code http://demo.quietlyscheming.com/superImage/app.html

这篇关于Flex:在列表项渲染器中缓存图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆