Flex: how can I set percentage values in Actionscript ?

Posted by Patrick on Stack Overflow See other posts from Stack Overflow or by Patrick
Published on 2010-06-05T07:31:12Z Indexed on 2010/06/05 7:42 UTC
Read the original article Hit count: 122

Filed under:
|

hi,

in MXML I can assign:

<s:VideoPlayer id="player" width="100%" height="100%"

but from the actionscript code I cannot:

player.width= "100%";
player.height = "100%";

How can I set percentuage values in actionscript ?

thanks

© Stack Overflow or respective owner

Related posts about flex

Related posts about flex4