Set Flex 3 Width Height Equal to a Percentage in ActionScript

To set the width or height of a component to a percentage in ActionScript use percentWidth instead of just Width.

Example:

lineChart.percentWidth=100;

Just a little quick hitter for anyone that may not know.

del.icio.us Digg StumbleUpon Facebook Google Bookmarks DZone
| View count: 1832
blog comments powered by Disqus