Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Later
-
Adobe Flex SDK 4.5 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Try to compile sample file
Actual Results:
Compiler Error: 1120: Access of undefined property getEmployeeFullName
Expected Results:
Compiler Error: 1120: Access of undefined property getEmployeeFullName. Please ensure that getEmployeeFullName is defined for the inner class and not just the outer class.
Sample File:
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark">
<fx:Script>
<![CDATA[
public function getEmployeeFullName(item:Object):String
]]
>
</fx:Script>
<s:List id="empList" left="0" right="0" top="0" bottom="0" >
<s:itemRenderer>
<fx:Component>
<s:MobileIconItemRenderer labelFunction="getEmployeeFullName" />
</fx:Component>
</s:itemRenderer>
</s:List>
</s:View>
Workaround (if any):