views:

46

answers:

2

Hello,

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.

A: 

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.

greetz
back2dos

back2dos
+1  A: 

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.