为什么使用运行时共享库时不显示 Flex 图表轴值/标签
我使用数据可视化组件开发了一个 Flex 应用程序。我现在正在尝试优化应用程序,我尝试的方法之一是使用运行时共享库。
我已将 Flex Builder 配置为与运行时共享库一起部署,并添加了框架、数据可视化和 rpc 共享库的 .swz 文件。部署后,我的应用程序会加载,但是每个图表中的轴值都丢失了。显示轴本身,但不显示其标签单元。系列本身也被展示。
我已经使用 Flex Builder 中的 3.4 SDK 和 3.2 SDK 进行了尝试。我还尝试使用 mxmlc ANT 任务编译 flex 并得到相同的结果。
我确保首先加载框架 RSL,并且我还确保在测试之前全局闪存缓存已被清除。
我可以从访问日志中看到,第一次向应用程序发出请求时,.swz 文件正在加载,因此我确信我已正确清除 Flash 播放器全局缓存。
有谁知道为什么只有当我使用 RSL 部署时我的轴值才会丢失???切换回合并模式后,我的应用程序工作正常,只有当我使用 RSL 进行部署时才会出现问题。
我还尝试仅使用框架 RSL 而不是数据可视化或 rpc RSL(将它们保持在合并模式)进行编译,并且得到相同的结果,没有轴值。
任何帮助表示赞赏。
谢谢。
I have developed a flex application using the data visualization components. I am now trying to optimize the application and one of approaches I am trying is to use Runtime Shared Libraries.
I have configured Flex Builder to deploy with Runtime Shared Libraries and have added the .swz file for the framework, datavisualization and rpc share libraries. After deploying, my application loads, however my axis values within each of my charts are missing. The axes themselves are shown, however they do not have their label units displayed. The series themselves are displayed too.
I have tried this using the 3.4 SDK and also the 3.2 SDK within Flex Builder. I also tried compiling flex using the mxmlc ANT tasks and got the same results.
I made sure that the framework RSL is getting loaded first and I also made sure that the global flash cache has been cleared before I tested.
I can see from my access logs that the .swz files are getting loaded the first time I make a request for my application, so I am confident that I properly cleared the flash player global cache.
Does anyone know why my axis values would be missing only when I deploy with RSL??? Switching back to Merged mode, my application works fine and it is only when I deploy with RSLs that I get the issue.
I have also tried to compile using only the framework RSL and not the datavisualization or rpc RSLs (keeping them in merged mode) and I get the same results, no axis values.
Any help is appreciated.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我使用 3.4.0.9271 时遇到了同样的问题。经过一番尝试和错误后,我找到了一个 hacky 解决方案。我将为此打开一个错误报告。以下是一些注释和示例:
示例:在应用程序的初始化阶段注册嵌入的 Lucida 字体
I was having this same issue using 3.4.0.9271. After some trial and error, I figured out a hacky solution. I am going to open a bug report for this. Here are a few notes and an example:
Example: register embedded Lucida font within the Application's initialize phase