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

[Mirroring]set direction in code receives compiling error,however direction attribute can set inside mxml tag

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1. compile test file, there is a subTitleWindow component set direction in tag, as well in code.

      Actual Results:
      receive compiling error:
      Error: Access of possibly undefined property direction through a reference with static type TitleWindowWithContent1.

      <s:Button label="update to ltr" click="this.layoutDirection='ltr';this.direction='ltr';"/>

      Expected Results:
      no such error.

      Workaround (if any):

      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: