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

Image.as code looks wrong, please check it

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • mx: Image
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Image.as function set data:

      public function set data(value:Object):void
      {
      _data = value;

      if (!sourceSet)

      { source = listData ? listData.label : data; sourceSet = false; }

      dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
      }

      The line "sourceSet = false;" seems wrong. Shouldn't it say "sourceSet = true;"? I don't think this would cause a problem other than a possible performance issue. This was true in 3.3 as well.

      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: