Search code examples
flashapache-flexadobeflash-builderflex-spark

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 recommend using this? What are the strong point over tradicional CSS editing?

i am a little bit confused with this. Br.


Solution

  • 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.