Flex 3 中的ExternalInterface 有数据大小限制吗?
我在 Flex 3 上使用ExternalInterface。我们实际上使用flex 来压缩大量的DOM 数据,所以这是专门用于大数据的。
进一步探究一下,如果有限制的话,这是否具有普遍性? (IE。Silverlight)
首先,让我声明这是由缺乏经验的软件工程师开发的应用程序完成的。这是一个我们需要通过压缩数据来争取时间的应用程序,以便我们可以构建长期解决方案。不幸的是,我们没有其他选择。
背景:这是一个实际上是网络电子表格的应用程序。我们的长期解决方案是制作 Office 业务应用程序。
I am using the ExternalInterface on Flex 3. We are actually using flex to compress a large amount of DOM data, so this is specifically being used with LARGE data.
To further investigate, if there is a limitation, is this universal? (IE. Silverlight)
First, let me state that this is being done with an application that was made by inexperienced software engineers. This is an app that we need to buy time by compressing the data so that we can build a long-term solution. We have no other options, unfortunately.
Background: This is an application that is actually a web-spreadsheet. Our long term solution is to make a Office Business Application.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不会,Flash 不会对ExternalInterface 通信施加任何大小限制。
No, Flash do not impose any size limits on ExternalInterface communication.
我认为确实如此,或者还有一些其他配置可以控制这一点。我正在使用 FileReference 对象测试文件上传,并希望通过外部接口调用将从服务器发送的数据传递回托管页面。下面是我的 UPLOAD_COMPLETE_DATA 事件处理程序的片段。
该事件被触发,但从未调用我的 javascript。如果我取消注释将返回的数据修剪为前 50 个字符的行,它将开始工作并正确调用 javascript。
要么是 flash (10.2) 或 IE9(我正在使用的)施加了大小限制,要么是我缺少其他东西。
I think it does, or there is some other configuration which governs this. I was testing a file upload using FileReference object and wanted to pass the data sent from server back to hosting page via external interface call. Below is a snippet of my UPLOAD_COMPLETE_DATA event handler
This event gets fired but the call to my javascript is never made. If I uncomment the line which trims the returned data to first 50 characters, it start working and calls the javascript correctly.
Either there is a size restriction imposed by flash (10.2) or IE9 (which is what I was using), or there is something else I am missing.