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

Cannot set titleIcon in MXML.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Try to set it in mxml. I've tried:

      1) titleIcon="@Embed('light.jpg')"

      2) titleIcon="

      {iconClass}

      "
      where iconClass is defined in AS:
      [Embed(source="light.jpg")]
      [Bindable]
      public var iconClass:Class;

      Actual Results:
      The image doesn't appear.

      Workaround (if any):
      Set it in AS, such as in creationComplete.

      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: