I wrote:
> This one may truly be for FlashCoders, but there are
some pretty sharp
> programmers here, so I'll ask.
>
> Can I have a private static var in a movie clip
subclass? e.g.
>
> class Navigator extends MovieClip
> {
> private static var pages:Array = [1, 2, 3, 4, 5,
6];
>
> I'm pretty sure I can, but how do I refer to it?
Navigator.pages ? And can
I
> access it in the init() function? It's showing up as
undefined, no matter
> how I try to access it.
I don't usually answer my own posts, but I wanted to clarify
that I
understand a private static variable is accessible only
within the class or
its subclasses. I am trying to access it from the init()
function within my
Navigator class.
Cordially,
Kerry Thompson
_______________________________________________
Flashnewbie chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashnewb
ie
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.c
om
|