w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Do you know about this weird thing. "AS3, Button width cannot change by setStyle(). However, inline CSS can change width."

I may be corrected, but I believe inline CSS operates on the StyleManager to pass operations to the SkinClass using the ISimpleStyleClient interface. IE using the .getStyle() and .setStyle() functions. Height and Width are not part of the StyleManager they are properties of the DisplayObject.

MXML allows you to mix calls to class properties and skin/style properties inline, but CSS doesn't

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.