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

Falcon cannot embed assets inside Objects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Apache Falcon 1.0
    • Apache Falcon 1.0
    • Falcon

    Description

      Falcon doesn't allow to embed assets inside object properties.

      Try to compile the attached example. It should show a small button bar with four icons.

      Falcon fails to compile with error messages like:

      Error: Type * cannot be embedded
      <fx:Object icon="@Embed('icon_align_left.png')" action="left"/>
      ^

      Attachments

        1. ObjectEmbed.mxml
          0.8 kB
          Chema Balsas
        2. icon_align_right.png
          27 kB
          Chema Balsas
        3. icon_align_left.png
          27 kB
          Chema Balsas
        4. icon_align_justify.png
          26 kB
          Chema Balsas
        5. icon_align_center.png
          27 kB
          Chema Balsas
        6. fix_embed.patch
          2 kB
          Darrell John Loverin

        Issue Links

          Activity

            People

              aharui Alex Harui
              jbalsas Chema Balsas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: