Actually, I really, really like the
static attribute and hope it may find its way into lingo at some point.
It already has to a degree - certainly as far as propertes, if not
methods. See http://www.lingoworkshop.com/Articles/iloop.php?a=220
Cheers,
-Sean.
[To remove yourself from this
Hi Tom...
Ok, but can you use Lingo/JS to access pTrack regardless of the OI
issue? I'm just trying to sort out if this is a OI display bug or if
this is something more generic that's preventing even code-based access
as well.
Thanks for replying. Seemingly not. I'm testing this scenario in
19, 2005 2:27 pm
Subject: RE: lingo-l Dir -- Flash communication (static)
In Director's object inspector, sprite(swfSprite).gTools,
when expanded, doesn't show pTrack.
Ok, but can you use Lingo/JS to access pTrack regardless of the OI
issue? I'm just trying to sort out if this is a OI
The way I understand it, static variables are 'global' to a class (as
are static methods).
They get created only once (as the class is loaded), instead of
getting a separate copy with each instance.
The primary usage example of one is to have it hold a count of the instances.
the
Yes, Buzz. That's how static things operate. I read the AS2.0 book
by Colin Moock that explains it. Actually, I really, really like the
static attribute and hope it may find its way into lingo at some point.
I've found it to be quite useful. In that book, it explains that
referencing a static
I only know it from the Java world - glad it's all the same
I like them too ... )
I'll have to checkout Moock's books at some point - I've heard they're great!
glad it all worked out
-Buzz
At 6:47 PM -0400 9/19/05, you wrote:
Yes, Buzz. That's how static things operate. I read the AS2.0