热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

如何从FileReferenceList显示图像?-HowtodisplayimagesfromFileReferenceList?

IhaveaFileReferenceListfromwhichIdliketodisplayimagesinaDataGrid;currentlyImgettin

I have a FileReferenceList from which I'd like to display images in a DataGrid; currently I'm getting the following error: Only one download, upload, load or save operation can be active at a time on each FileReference. Following is my code; anyone know how to resolve the error I'm getting? Thanks.

我有一个FileReferenceList,我想在DataGrid中显示图像;目前我收到以下错误:每个FileReference上一次只能激活一次下载,上传,加载或保存操作。以下是我的代码;有谁知道如何解决我得到的错误?谢谢。

Here is my DataGrid:

这是我的DataGrid:

















Here's my renderer:

这是我的渲染器:








2 个解决方案

#1


1  

Try this It May help You.

试试这可能对你有帮助。

http://blog.snowflax.com/multiple-image-browse-using-filereferencelist-in-flex/

http://blog.snowflax.com/multiple-image-browse-using-filereferencelist-in-flex/

#2


0  

Well for starters, your renderer is wrong. You'll run into problems when they are recycled.

对于初学者来说,你的渲染器是错误的。当它们被回收时你会遇到问题。

To answer your main question, you are probably running into the security issue around file access and user initiated events.

要回答您的主要问题,您可能会遇到有关文件访问和用户启动事件的安全问题。

Its a thorny issue and I suggest reading the documentation on it!

这是一个棘手的问题,我建议阅读它的文档!


推荐阅读
author-avatar
jkjkjd_105
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有