반응형

flex

 

Note: You can specify a percentage value in the MXML width attribute, such as width="100%", but you cannot use a percentage value in the width property in ActionScript. Use the percentWidth property instead.

 

 

mxml 에서는 width 를 100% 로 줄수 있지만 ActionScript 에서는 100% 가 먹지 않으니...

 

percentWidth  이걸로 주면됨 (0~100) 으로...

ex:

 

_SWFLoader.percentWidth = 100;
_SWFLoader.percentHeight = 100;

Posted by 1010