如何让基于 sqlite 数据的耀斑可视化 (swf) 在 Adobe AIR 桌面应用程序中工作?
我一直未能成功地尝试找到如何让基于 sqlite 数据的耀斑可视化 (swf) 在 Adobe AIR 桌面应用程序中运行的示例。
这是我所拥有的:
这是我想要的:
- 通过 flash.data.SQLResult 从 sqlite db 查询数据(这不会出现在用于导入的 ProjectA 命名空间中 - 无法在没有 AIR 的情况下尝试基于 sqlite 的可视化)
- 将结果集转换为flare.data。数据集并使用flare创建可视化
- 在windowedApplication中显示可视化(我不知道如何添加2中的可视化结果。)
- 控制可视化(一旦前三点起作用就会到达那里)
尝试过谷歌搜索和adobeairtutorials但无法找到任何有用的东西。
I've been unsuccessful in trying to find an example how to get a sqlite data based flare visualization (swf) to run in Adobe AIR desktop application.
Here is what I have:
- ProjectA: a flare visualization sample done in FlexBuilder based on a tutorial;
- ProjectB: a desktop AIR app that is able to retrieve data from sqlite based on a tutorial.
Here is what I would like to have:
- query data from sqlite db via flash.data.SQLResult (this doesn't appear in ProjectA namespace for importing - can't try sqlite based visualization without AIR)
- transform the resultset into flare.data.DataSet and create the visualization with flare
- show the visualization in the windowedApplication (I don't know how to add visualization result from 2.)
- control the visualization (will get there once the first three points will work)
Tried googling and adobeairtutorials but was unable to find anything useful.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您还可以查看文章将 Flare 可视化与 Flex 结合使用
You can also check out the article Using Flare Visualization with Flex
在注意到flare.vis.Visualization对象与我的主窗口断开连接后,我的问题得到了解决。
以下是我解决问题的方法:
现在,我开始讨论第四点 - 控制可视化:)
I got my problem resolved after noticing that the flare.vis.Visualization object was disconnected from my main window.
Here is how I resolved the problem:
Now, I'm off to the 4. point - controlling the visualization :)
这是一个可能有助于此过程的博客文章:
http://www.boxshapeworld.com/blog/post/ SQLite-Flare-and-AIR.aspx
Here's a blog entry that might help with this process:
http://www.boxshapedworld.com/blog/post/SQLite-Flare-and-AIR.aspx