Jan F. Weber created FLEX-34214:
-----------------------------------

             Summary: SWFLoader scale9Grid does not work (Solution attached)
                 Key: FLEX-34214
                 URL: https://issues.apache.org/jira/browse/FLEX-34214
             Project: Apache Flex
          Issue Type: Bug
          Components: mx: SWFLoader
    Affects Versions: Apache Flex 4.12.0
            Reporter: Jan F. Weber
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to