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

CLONE -Text Component's inner UITextField looses properties (multiline & mouseWheelEnabled) when font is changed at runtime

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Adobe Flex SDK 3.0 (Release)
    • None
    • mx: Text
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1. Create an mxml file that contains a Text component.
      2. Set it's text to a block of multiline text.
      3. Load a CSS SWF that changes the fontFamily style of the Text component to a font that is embedded within the CSS SWF.

      Actual Results:
      The multiline and mouseWheelEnabled properties of the internal UITextField will be set to false instead of true when the UITextField gets recreated in the new FontContext. This is because the createTextField method of the Label class is not overridden. Initially these properties get set in the childrenCreated method (of the Text class), but any subsequent calls to createTextField get missed.

      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: