Specifying Flex component's width and height in 'percent' ActionScript
Instead of using 'width' and 'height' attributes, use 'percentWidth' and 'percentHeight' field.
e.g.
var btn : Button = new Button();
btn.percentWidth = 90;
Online Diary of Tips and Tricks learnt while developing Rich Internet Applications (RIA) using Flex/AIR
No comments:
Post a Comment