In FlexJS, you are writing ActionScript. So you would write:
import org.apache.flex.html.Label;
var foo:Label = new Label();
The output JS will look like:
var foo = new org_apache_flex_html_Label();
But hopefully you’ll never see it because you’ll never have to debug the
JS side. But I think
Part of what you said concerns me. If I want to create a Label() at runtime
in JS will I have to use var label = new org_apache_flex_html_Label()? How
will I know the full path name?
Can you do a performance test and see how much difference there is between
calling org.apache.flex.html.Label() and
Hi,
Right now, if you compile the FlexJSStore example, you’ll get some 600
warnings from the Google Closure Compiler that say:
WARNING - incomplete alias created for namespace org.apache.flex
From my understanding, these 600 warnings can show up because the
“namespace” really is an object tree