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 = ATest.getInstance();
> tst.name("XXX"); // << this call fails
> // tst._name="XXX"; // << this call works
> }
name is a setter method in your code. You can just assign it like so:
tst.name = "XXX";

