I'm trying to dynamically change chart height and width into 100% from action script. " chart " is ID of the chart... chart.height=100% and chart.width=100%. Is this possible?. i did not find proper method to do this.
Asked
Active
Viewed 112 times
4
-
2Using ="100%" can only be done in the MXML. To set this explicitly in AS you have to follow simion314's answer – Cédric D Feb 25 '14 at 08:32
1 Answers
5
There are properties named percentWidth and percentHeight, set those to 100 .

simion314
- 1,394
- 16
- 29