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

[CTFXG 2496065] MXMLC generates empty SWF and RTE when text is used in an unused definition.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK Previous
    • FXG - Static
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      MXMLC static (i.e. FXGUtils) and runtime (i.e. MXML-G) compilation generate an empty SWF for the attached FXG.

      Additionally, if we try to run the SWF through our SWFtoPNG air application to get a 'screenshot' of it we get the following error:

      adl - Error: Could not find compiled resource bundle 'textLayout' for locale 'en_US'.

      It seems as if the MXMLC compiler isn't linking in spark.swc because the text is in an unused definition. However, both our air application and the Flash Player would seem to be choking because of the lack of it.

      This was found in Flex SDK 4.0.0.12222.

      I can add our AIR application but until MXMLC can generate a SWF that Flash Player displays properly I don't think there is a point. I think once that issue is fixed our error with the air application will go away.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: