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

When trying to compile a custom component with a default skin into a SWC , skin cannot resolve State or SolidColor to a component implementation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK 4.0 (Release)
    • None
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Safari
      Language Found: English

    Description

      Steps to reproduce:
      1. Download and untar the attached tarball
      2. Set the FLEX_HOME property in build.properties appropriately
      3. cd into the namespaces directory
      4. type ant

      Actual Results:
      [compc] /Developer/Applications/Flex/bugs/namespaces/src/com/example/skins/DefaultDemoCompSkin.mxml(8): Error: Could not resolve <s:State> to a component implementation.
      [compc]
      [compc] <s:State name="default" />
      [compc]

      Expected Results:
      Successful compilation of the SWC which would then allow compilation of the Test.mxml file by doing

      mxmlc -library-path+=bin/democomp.swc Test.mxml

      Workaround (if any):
      Add classes into the DemoComp namespaces manifest, and refer to State, SolidColor, etc in the skin using the component namespace?

      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: