Re: [Flashcoders] Cannot Access Superclass Static Var from Subclass in FLA

2007-01-30 Thread ChrisRM
Thanks for the input James. I understand what you're saying but the fact that accessing inherited static variables works in another class but not on the timeline still gets me. This solution was proposed to me and seems to work. In Orange.as add: private static var __proto__:Function = mypackage

Re: [Flashcoders] Cannot Access Superclass Static Var from Subclass in FLA

2007-01-30 Thread JOR
Static variables are not inherited by subclasses in ECMAScript therefore can not be referenced through derived class objects. This differs from Java and C#. James O'Reilly — Consultant Adobe Certified Flash Expert http://www.jamesor.com Design • Code • Train [EMAIL PROTECTED] wrote: Hi

Re: [Flashcoders] Cannot Access Superclass Static Var from Subclass in FLA

2007-01-30 Thread ChrisRM
I was able to have someone test the sample code below and it worked fine for them. I had their files sent to me but couldn't open the FLA. I'm using MX2004 and I assume they have 8 or higher. I tested using the sample that was sent and still had the same errors. Has anyone heard of this before? As

[Flashcoders] Cannot Access Superclass Static Var from Subclass in FLA

2007-01-30 Thread msgboards
Hi all. It's been a LONG time since I've posted and now I need your help again. I have come across something that to me doesn't seem correct and I don't know why things are behaving this way. I have 2 classes, one a subclass of the other. Both have public static variables (AS2.0 Flash 7). class m