Class vars declared as internal do not end up using this. to when referenced
in class functions.
We're looking for where it decides when it uses this. but bringing it up
here in case someone knows more.


** 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";






--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/internal-keyword-on-class-vars-tp52123.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to