Flex 3 应用程序可以启动并向 Flex 4 应用程序来回传递数据吗?
我们有一个大型 Flex 3 应用程序,目前没有时间将其转换为 Flex 4。但是,我们希望使用当前在 Flex 4 中实现的组件集。 我们的想法是让主要的 Flex 3 应用程序启动 Flex 4 应用程序。我们需要能够将数据从 Flex 3 应用程序传递到 Flex 4 应用程序并再次传递回来。
这可能吗?
任何帮助将不胜感激。
谢谢。
We have a large Flex 3 app that we do not have time to convert over to Flex 4 at this point. However, we want to use a component set that is currently implemented in Flex 4.
The idea is for us to have our main Flex 3 app launch a Flex 4 app. We need to be able to pass data from the Flex 3 app to the Flex 4 app and back again.
Is this possible?
Any help would greatly be appreciated.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您想在运行时执行某些操作,那么您需要研究 LocalConnection 对象用于在两个 SWF 之间进行通信。这些 swf 文件是如何创建的并不重要。您可以使用 Flex 4、Flex 4 甚至 Flash Pro。
如果您只想在编译时在两个项目之间共享组件,那么不幸的是您需要创建两个单独的项目;因为 Flex 3 SWC 不能与 Flex 4 一起使用[反之亦然]。
If you want to do something at runtime, then you need to research the LocalConnection object to communicate between two SWFs. It won't matter how those swfs were created. You can use Flex 4, Flex 4, or even Flash Pro.
If you only want to share components between the two projects at compile time, unfortunately you'll need to create two separate projects; as Flex 3 SWCs cannot be used with Flex 4 [and vice versa].