Flex Builder 4 Spark 相当于 Yahoo Astra Flash Layout Dragbar

发布于 2024-09-13 05:33:51 字数 625 浏览 2 评论 0原文

我目前正在研究几种将 UI 组件集成到我当前的 Flash 项目中的方法。我通常使用 Flash Develop,最近一直在评估 Yahoo Astra Flash 库,我非常喜欢以下示例(尤其是水平和垂直拖动条):

http://developer.yahoo.com/flash/astra-flash/layout-containers/examples/FeedReader/FeedReader.html

今天,我正在评估 Flex Builder 4 中的新 Spark 组件,并希望以类似的方式构建界面。我喜欢 FB4 的整体工作流程系统,感觉它是我最喜欢的 IDE(eclipse 版本)。

问题,是否有一种方法可以使用 FB4 中的 Spark 布局系统复制上面示例中的相同类型的屏幕机制。我一直在使用这些组件,但没有任何东西像预构建的布局拖动条本身那样跳出来,如果没有任何预构建的东西,是否有任何可以简单地实现这一点? :)

任何帮助,非常感谢。

谢谢

I am currently looking at a couple of ways to integrate UI components into my current Flash project. I usually use Flash Develop and I have recently been evaluating the Yahoo Astra Flash library and I really like the following example (especially the horizontal and vertical drag bars):

http://developer.yahoo.com/flash/astra-flash/layout-containers/examples/FeedReader/FeedReader.html

Today I was evaluating the new Spark components in Flex Builder 4 and looked to building an interface in a similar way. I liked the overall workflow system of FB4 and it feels like my most preferable IDE (eclipse version).

Question, is there was a way that I can duplicate the same kind of screen mechanisims found in the above example, using the Spark layout system in FB4. I've been playing with the components, and nothing is jumping out at me as prebuilt layout drag bars per-se, and if there isn't anything prebuilt, is there anyway that this could be acheived simply?! :)

Any help, really appreciated.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

埋情葬爱 2024-09-20 05:33:51

没有新的 Spark 组件,但您仍然可以使用旧的 mx:HDividedBox 和 mx:VDividedBox 来创建这样的布局

<mx:HDividedBox height="100%" width="100%">
    <mx:Panel width="25%" height="100%"/> 
    <mx:VDividedBox height="100%" width="100%">
        <mx:Panel height="50%" width="100%"/>
        <mx:Panel height="50%" width="100%"/>
    </mx:VDividedBox>
</mx:HDividedBox>

There is not a new spark component, but you can still use the old mx:HDividedBox and mx:VDividedBox to create the layout like this

<mx:HDividedBox height="100%" width="100%">
    <mx:Panel width="25%" height="100%"/> 
    <mx:VDividedBox height="100%" width="100%">
        <mx:Panel height="50%" width="100%"/>
        <mx:Panel height="50%" width="100%"/>
    </mx:VDividedBox>
</mx:HDividedBox>
美人如玉 2024-09-20 05:33:51

使用 MX 容器 HDividedBox 或 VDividedBox。我不相信有 Spark 等效项,但您应该能够将 MX 容器与 Spark 容器一起使用,不会出现任何问题。

Use the MX Containers HDividedBox or VDividedBox. I do not believe there is a spark equivalent, but you should be able to use the MX containers with the spark containers without any problems.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文