Peter Ent created FLEX-34548:
--------------------------------
Summary: FalconJX is not creating a getter function for
MXML-declared objects.
Key: FLEX-34548
URL: https://issues.apache.org/jira/browse/FLEX-34548
Project: Apache Flex
Issue Type: Bug
Components: FalconJX
Environment: Mac OS X 10.7.5
Reporter: Peter Ent
Create (or use a FlexJS example) and give an id to an MXML component in the
MyInitialView.mxml file:
<basic:Label id="firstLabel" text="First Label" />
In the same file, reference the component by its id in a script block:
<fx:Script>
private function doSomething():void {
var label:Object = firstLabel;
}
</fx:Script>
Now compile this with FalconJX into MyInitialView.js. Inspecting the
MyInitialView.js you will find:
var label /* type of Object */ = this.get_firstLabel();
Unfortunately, there is no get_firstLabel() function generated by FalconJX.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)