> > __resolve?
>
> nope...
>
> not unless there's some super-secret way of using __resolve outside of
> the "normal" way.
>
> even with a __resolve function in-place in my class, you still get the
> dreaded "Left side of assignment operator must be variable or
> property." when calling:
>
> session("foo") = "bar";

ah yes of course:
non-singleton-version:

var session:Session = new Session();
session("foo") = "bar";

this makes no sense.

maybe:
session.foo = "bar";
in combination with __resolve?

or maybe even let getInstance return a method of the singleton rather
than the instance itself? hmm no then the :Session type would be
invalid.. i guess the only way to do that is using the standard
dot-notation and __resolve.

sorry can't test as2 stuff right now, but maybe it helps somehow ;)
cheers,
claus.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to