Specifying Flex component's width and height in 'percent' ActionScript

Instead of using 'width' and 'height' attributes, use 'percentWidth' and 'percentHeight' field.

var btn : Button = new Button();
btn.percentWidth = 90;

the above snip sets the percentage width of the button to 90%

Rendezvous with Adobe Flex2

Now its been about 5 months since I have been working on Adobe's Flex2.
Its really an awesome technology to develop RIA.
Since I had some good Java Swing experience, it wasn't very difficult to learn it.
Having learnt lot of things about Flex in past months, I am now planning to share my learnings with Flex developer community.
So keep a watch...see you all soon !!!