[Flashcoders] Inheritance and Static properties

2009-10-22 Thread Helmut Granda
So I understand that I can access static properties only child-parent but not if we instantiate the subclass some where else within the application but what would be the best way to go around this? -ButtonParent -contains basic rollover/rollout/click events and does dispatchEvent (new Event

Re: [Flashcoders] Inheritance and Static properties

2009-10-22 Thread jonathan howe
Just double checking but in your trace statement you are looking for the NAME property on the event? trace(event.NAME)// undefined You probably mean event.target.NAME but I'm just checking the obvious. -jonathan On Thu, Oct 22, 2009 at 12:38 PM, Helmut Granda cont...@helmutgranda.comwrote:

Re: [Flashcoders] Inheritance and Static properties

2009-10-22 Thread Helmut Granda
Correct, i was thinking of var object = event.target object.NAME; but I was typing faster than thinking :). On Thu, Oct 22, 2009 at 1:00 PM, jonathan howe jonathangh...@gmail.comwrote: Just double checking but in your trace statement you are looking for the NAME property on the event?