未定义状态 flashbuilder 4.5
我目前在切换到 Flex 4.5 时遇到一些问题。在某些组件中,我声明了 2 种状态(打开、关闭)。在创建应用程序时,我将所有组件设置为“关闭”状态。当使用flex 4.1启动ap时,没有问题。但现在我将版本更新到 4.5,我收到一条错误消息:“关闭”状态在运行时未定义。有人听说过某种问题吗?
感谢您的帮助。
I'm currently having some problems when switching to flex 4.5. In some components, I declared 2 states (opened, closed). At app creation, I set all the components to "closed" state. When launching the ap with flex 4.1, there are no problems. But now that I updated the version to 4.5, I got an error saying : "closed" state is undefined at runtime. Does someone heard about some kind of issues ?
Thanks for the help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以直接在组件的标签中设置“currentState”。
示例组件:
You can set "currentState" directly in the component's tag.
Example Component:
谢谢你们的帮助,但我解决了问题。它链接到我应用于我的应用程序的石墨主题。我用默认的 Spark 主题替换了它。主题可能不是最新的 4.5 版构建器。不管怎样,我考虑了你的组件状态自我管理:)。
Thank you guys for the help but I solved the problem. It was linked to the graphite theme I applied to my app. I replaced it by the default spark theme. Themes may not be up to date with the new 4.5 version of the builder. Anyway, I took your component state self managment into account :).