Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
(This issue occurs in 3.0.3 but the sdk list doesn't give that as an option)
Steps to reproduce:
1. Create an array with array element type *, Object, or Function
2. In mxml, populate that array with a function reference.
Actual Results:
Flex builder gives a warning:
"Function value used where type * was expected. Possibly the parentheses () are missing after this function reference."
Expected Results:
No warning should be displayed.
Workaround (if any):
Instead of using the mxml to define the elements like this:
<mx:myArray>
<mx:Function>
</mx:Function>
</mx:myArray>
Define your array like this>
<mx:myArray>
</mx:myArray>