flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan F. Weber (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-34214) SWFLoader scale9Grid does not work (Solution attached)
Date Tue, 08 Apr 2014 13:11:15 GMT
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

View raw message