I really haven't looked at Adobes AutoComplete classes since they aren't really part of the general release, in fact I can't find where to download them anymore. If I recall correctly those were really ment to be examples and not drop in components. It sounds like you are really wanting to add functionality not replace a small part of it. If you could provide the code I could help you.
Paul --- In flexcoders@yahoogroups.com, jwopitz <[EMAIL PROTECTED]> wrote: > > Paul, > > I am not sure to which posting you are asking, 'why?' but I can give you a > specific case in which there have been needs to extend a particular class > and then at some point wish you could call super.super.someMethod(). > > My client needed some specialized autoComplete features that Adobe's > autoComplete did not support (from here on referred to as AC). Those needed > features where: > > 1. to be able to submit a string, add a comma, and then search for the > next string following the last comma (ie. searching for multiple symbols, > and then submitting all at once, rather than one by one) > 2. constantly update the dataProvider based on the current typedText > (again that being the one after the last comma) > > Adobe's AC had all the features needed except for a few event handler > methods that were preventing me from implementing the key features needed > for my own AC. However, the grandparent class (ComboBox) did have the > original methods that I could override. So let's presume for a moment that > you COULD do super.super.someMethod (); And now here are your choices: > > 1. extend the Adobe AC, override needed methods by bypassing super's > methods and instead targeting the functionality needed in > super.super.someMethod() OR > 2. extend comboBox, copy all the Adobe AC needed code, modifying the > needed code and scrapping the rest, thus duplicating some of your codeBase, > OR > 3. copy the Adobe AC file, and make the necessary changes internally > in that class. > > I don't know about you, but if it were a choice, I would go with #1, then #3 > and lastly #2. But alas, it is not an option. So Paul, not to sound curt, > but that's why. > > jwopitz > > > On 3/1/07, Paul DeCoursey <[EMAIL PROTECTED]> wrote: > > > > Why? I can't think of a single reason to want to do that. If you > > really wanted to do that then you should be extending the grandparent > > class. Also are you sure that the parent class is not calling super? > > generally you do that unless you don't want that functionality. > > > > Paul > > > > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, "Anthony > > Lee" <anthony.f.lee@> > > wrote: > > > > > > Hi, > > > > > > Sorry for the lame AS questions, but can anyone tell me how to call > > > the super method of the class I'm extending? ie. the grandparent and > > > not the parent. > > > > > > Thanks, > > > > > > tonio > > > > > > > > > > > > > -- > justin w. opitz > 617.771.6639 > jwopitz(at)gmail.com >