Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34214

SWFLoader scale9Grid does not work (Solution attached)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Apache Flex 4.12.0
    • None
    • mx: SWFLoader

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            JanFW Jan F. Weber
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified