pan Li wrote > package > { > public class SomeClass > { > var field:String = "hello"; > public function doSomething():String > { > return field; > } > } > }
While working with FlexJS I've noticed that sometimes it seems to be crucial to use the "this" keyword: E.g.; return this.field; But I'm not sure if I remember it correctly... Maybe this helps, Olaf -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-variable-s-default-access-control-is-not-complied-correctly-in-javascript-mode-tp55683p55688.html Sent from the Apache Flex Development mailing list archive at Nabble.com.