Spark 和 Viewstack?
在 Flex SDK 4.5+ 中,仍然没有替代 ViewStack 的 Sparks flex 组件。我知道有多种方法可以通过状态或 includeInLayout 属性来模仿该行为。我还知道有一些人创建了自己的 Spark ViewStack。
我的问题是为什么没有官方替代品以及未来替代该功能的最佳实践是什么。
In 4.5+ of the Flex SDK there's still no Sparks flex component that replaces the ViewStack. I know that there are several ways to mimic that behavior with states or includeInLayout properties. I also know that there's a couple people out there that have created their own sparks ViewStack.
My question is why is there no official replacement and what are best practices for the replacement of that functionality moving forward.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你是对的,有几个 ViewStack 实现。我发现托德·安德森 (Todd Anderson) 的一个好文章在这里: http:// custardbelly.com/blog/2009/09/02/viewstack-in-flex-4/
但是,现在获得该功能的最佳实践是使用视图和视图导航器。在此处查看更多信息:http://opensource.adobe.com/wiki /display/flexsdk/View+和+ViewNavigator
You are correct, there are several ViewStack implementations out there. One good one I found was Todd Anderson's here: http://custardbelly.com/blog/2009/09/02/viewstack-in-flex-4/
But moving forward the best practice now to get the functionality is to use Views and a View Navigator. Check out more information here: http://opensource.adobe.com/wiki/display/flexsdk/View+and+ViewNavigator