Re: [Flashcoders] Q:Inheritance and Dynamically assign methods using static vars

2006-11-23 Thread T. Michael Keesey
Why wouldn't the events just be "press", "rollOver", and "rollOut"? The listener could tell the dispatchers apart using event.target, if necessary. Usually that's not even necessary, since different listener functions can listen to the "press" events of different dispatchers. At any rate, whereve

[Flashcoders] Q:Inheritance and Dynamically assign methods using static vars

2006-11-23 Thread moveup
Hi I want to be able to dynamically assign handlers by passing static string variables to the superclass. Shouldn't this work?? In my 'Super' class: private static var classgroup:String; private static var cmd_evtPress:String;//defined in subclass private static var cmd