Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
Apache Flex 4.12.0
-
None
Description
Setting the scale9Grid on a SWFLoader does not work. However, if you dig through the depth of the loader and access the Shape you can get it working. The code to access the Shape is:
var shape : Shape = Shape(DisplayObjectContainer(Loader(DisplayObjectContainer($swfLoaderVar.content).getChildAt(0)).getChildAt(0)).getChildAt(0));
shape.scale9Grid = $rectangle;
Please modify the native scale9Grid function of the SWFLoader so that it makes use of the real shape and not the SWFLoader container.