[flexcoders] Is this a bug? 1195 - Attempted access of inaccessible method name ...

2007-05-03 Thread mattjshannon
Hi, I'm new to flex and actionscript - having a java background. I keep getting a 1195 compiler error when trying to invoke what i believe is a public non-static method from a singleton class instance. Here is a cut-down version of the code that demonstrates the problem, along with

Re: [flexcoders] Is this a bug? 1195 - Attempted access of inaccessible method name ...

2007-05-03 Thread Paul J DeCoursey
Although you declare test as a function it is not used as one. When you use the get and set syntax the function is treated like a property. mattjshannon wrote: Hi, I'm new to flex and actionscript - having a java background. I keep getting a 1195 compiler error when trying to invoke what i

Re: [flexcoders] Is this a bug? 1195 - Attempted access of inaccessible method name ...

2007-05-03 Thread Manish Jethani
On 5/3/07, mattjshannon [EMAIL PROTECTED] wrote: I keep getting a 1195 compiler error when trying to invoke what i believe is a public non-static method from a singleton class instance. private function onCreationComplete() : void { var tst : ATest =