Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
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.