什么是新功能“Sparks”? Flash Builder 4 中出现的是什么?
我刚刚检查了 Flash Builder 4(我来自 Flex builder 3),很痛苦地看到旧的 CSS 可视化编辑器(它对于皮肤组件非常方便)在选择版本 4 时消失了。 创建新项目时还会出现 Mxml 和“Mxml+Spark”之间的选项。
这火花是什么? 你推荐使用这个吗?与传统的 CSS 编辑相比,它的优点是什么?
我对此有点困惑。 Br。
i just checking Flash Builder 4 ( i come from Flex builder 3 ), and it was painfull to see that old CSS visual editor, that it was very convenient for skinning components, has dissapear when select version 4.
Also creating new project appear option between Mxml and 'Mxml+Spark'.
What is this spark?
Do you recommend using this? What are the strong point over tradicional CSS editing?
i am a little bit confused with this.
Br.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Spark 是一个替代组件集。对于大多数部分,它更轻量级,并且使用 FTE 和 TLF 进行文本渲染,因此它可以对文本做一些不错的事情。
当谈到样式时,我认为 Spark 组件与 mx 组件没有太大区别。 Spark 可能整体上领先了一步,但 Adobe 不能就放弃旧组件,因为很多人都在使用它们,而且 Spark 依赖于 Flash Player 10 功能。
spark is an alternative component set. for the most parts, it is more lightweight and it uses FTE and TLF for text rendering, so it can do some nice stuff with text.
when it comes to styling, I don't think spark components differ much from mx components. spark probably is an overall step ahead, but adobe couldn't just drop the older components because a lot of people use them, and because spark relies on Flash Player 10 features.
Spark 是一组新的组件,它们用自己的命名空间进行标识。
您可能注意到,现在所有组件都以 s: 为前缀,这基本上意味着 Spark。
这些是 Flex 4 中的默认设置。
例如
,
我建议从现在开始使用它,以避免废弃的编码习惯。
Spark is a new set of components which are identified with their own namespace.
You probably noticed that all components now are prefixed with s: which basically means Spark.
These come default into flex 4.
For example
becomes
I would recommend using it from now on to avoid deprecated coding habits.