是否可以通过 Flash / ActionScript 创建 Excel 文件?
是否可以制作一个接受值并创建 Excel 文件或编辑 Excel 文件的动作脚本/flash 函数?
Excel 创建通过 phpexcel 类消耗 CPU 和内存。我想为什么不使用客户端的CPU...
Is it possible to make an actionscript/flash function that takes values and creates an excel file or edit an excel file?
Excel creation is killing the CPU and memory via phpexcel class. I thought Why not use client's CPU...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
闪10&上述具有将数据直接作为图像文件保存到客户端机器的功能。但我怀疑现在这无关紧要。
Flash 无法启动 Excel 或生成 Excel 文件。不过,您可以尝试这样做:
创建一个 Excel 可以读取的 xml 文件(看看 excel 如何
生成的文件看起来就像将 Excel 文档另存为 xml 电子表格)。
将 xml 数据上传到服务器(需要很少的服务器端脚本)
尽管这似乎是一种替代方案,但我怀疑是否值得像上面那样来回发送数据。
Flash 10 & above has a feature of saving data to client machines directly as image files. But I doubt that is irrelevant for now.
Flash cannot launch excel or generate an excel file. However, You may try this:
Create an xml file which can be read by Excel (To see how excel
generated file looks like save an excel doc as xml spreadsheet).
Upload the xml data to the server (little server side scripting needed)
Although it seems to be an alternative, I doubt if it's even worth the work to send the data to and fro, so much as above.
请参阅下面给出的链接来获取答案:
as3xls:
前段时间我正在开发一个小项目,我想在 Flex 中读取和写入 Excel 文件。我在谷歌上到处搜索,但遗憾的是我只能找到一个没有代码的样本。所以,我整理了一个小包来读取和写入 Excel 文件。到目前为止,它支持从 Excel 版本 2.x-2003 读取文本、数字、公式和日期以及写入文本、数字和日期。公式也会更新以反映它们引用的单元格中的更改。
API 旨在简单且易于使用。有一些示例可供使用,还有强制性的 ASdocs。
点击此处
Please see given below Link for your answer:
as3xls:
Some time ago I was working on a little project for which I wanted to read and write Excel files in Flex. I Googled hither and yon but sadly I could only find a sample someone tossed out there sans code. So, I put together a little package to read and write Excel files. So far it supports reading text, numbers, formulas, and dates from Excel version 2.x-2003 and writing text, numbers, and dates. Formulas also update to reflect changes in cells they reference.
The API is intended to be straightforward and easy to use. There are some samples to play with and the obligatory ASdocs.
Click Here