Nimai Malle created FLEX-35061: ---------------------------------- Summary: var keyword "internal" scoping Key: FLEX-35061 URL: https://issues.apache.org/jira/browse/FLEX-35061 Project: Apache Flex Issue Type: Bug Components: FalconJX Reporter: Nimai Malle
Class vars declared using the "internal" keyword are not accessed in JavaScript using "this." ///// ACTIONSCRIPT ///// package { public class foo { internal var bar:String = "baz"; public function foo() { trace( bar ); } } } ///// GENERATED JAVASCRIPT ///// /** * @constructor */ foo = function() { org.apache.flex.utils.Language.trace(bar); // <-- Uncaught ReferenceError: bar is not defined }; /** * @export * @type {string} */ foo.prototype.bar = "baz"; -- This message was sent by Atlassian JIRA (v6.3.4#6332)