This tutorial is very similar to my previous post on the same concept in Flex 3, except I am going to spend a little more time highlighting some of the key differences in Flash Builder and its predecessor Flex 3.
Initial Observations
One of the first things you’ll notice visually is the new default styling Flash Builder brings to the table. The default styling is not only a more fresh approach, but more appealing than Flex 2 and 3. The buttons are more polished and refined, and the overall styling is much slicker. Also, no more default blue background! The screenshot below is the code from my Flash Builder project. You can download the source files here.
You’ll notice that much of the code is very similar to Flex 3, if not the same. The only difference is that the mx namespace has been replaced with an s or an fx and that there are more XML namespace declarations in the Applicationtag. The neat thing with beta 2 of Flash Builder is the fact that you can still use the mx namespace, but Flash Builder kindly suggests to transition to the Spark library by stating:
I think that by going this route Adobe makes it easier for previous Flex users to migrate and become more comfortable with some of the new changes on older components within the platform.
As always, comments and questions are always welcome.