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

setting iconClass after creation doesn't work (internal AlertForm is not recreated)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.0 (Release)
    • None
    • mx: Alert
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Other (specify version)
      Language Found: English

    Description

      Steps to reproduce:
      1. var alert:Alert = Alert.show("text", "title");
      2. alert.iconClass = SomeClass;

      Actual Results: The alert's iconClass is not updated. The AlertForm inside the Alert is created only once on Alert's createChildren.

      Expected Results: The alert's icon should change when the var is set.

      Workaround (if any): You can pass the class in the Alert.show() method but that cannot be applied to classes that can change visual data at runtime.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: