whew! thought i might have missed clever and cool in there! :-) though
your comment did bring up some ideas i'll try in the AM.
it's all whack in my book right now. like i told Jesse - it works, i'll keep it.
time for bed!
g.
On 12/29/05, Claus Wahlers <[EMAIL PROTECTED]> wrote:
> > > __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.
--
weblog: broadcast.artificialcolors.com
blazePDF: www.blazepdf.com
band: www.cutratebox.com
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders