Flex 组合框自动关闭
我需要对两年前制作的空气应用程序进行一些更改。问题是:它仍然是用 flex3 编写的并编译为 AIR 1.5。我在flashbuilder中没有原来的项目,所以我在一个新项目中导入了源代码。
我尝试使用具有向后兼容性的 flex 4 进行编译,但这对我不起作用。所以我决定使用flex 3.5进行编译。除了组合框之外,一切似乎都有效。
当我单击组合框时,下拉列表会打开但会立即关闭。我已经搜索过这个问题,但找不到解决方案。它只是一个带有 1 个数据提供者的标准组合框。所以没有数据被改变。
有人知道这个错误吗?如何从旧的 AIR 文件中找到编译器设置。也许我可以尝试用原来的SDK编译。
提前致谢!
I needed to make some changes to an air application that I made 2 years ago. The thing is: it is still written in flex3 and compiled to AIR 1.5. I didn't have the original project in flashbuilder, so I imported the source code in a new project.
I have tried to compile with flex 4 with backward compatibility, but that didn't work for me. So i deceided to compile with flex 3.5. Everything seems to work, except for the comboboxes.
When I click on a combobox, the dropdown opens but closes immediately. I have searched on this problem, but I cannot find a solution. It is just a standard combobox with 1 dataprovider. So no data is changed.
Does anyone know about this bug? How can I find out the compiler settings from an old AIR file. Maybe I can try to compile with the original SDK.
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是因为您必须放置
editable="true"
。我有同样的问题并解决了。it is because you must have put
editable="true"
. I had the same issue and solved it.