开发者

What is new functionality 'Sparks' that appears in the Flash Builder 4?

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 rec开发者_Python百科ommend using this? What are the strong point over tradicional CSS editing?

i am a little bit confused with this. Br.


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

<mx:Application ...> 

becomes

<s:Application ...>

I would recommend using it from now on to avoid deprecated coding habits.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜