On Fri, Jun 5, 2009 at 2:12 AM, markflex2007 <[email protected]> wrote:
> I try to build a validation class with AS. I extends UIComponent to build the > class,but I an not use "this.addChild(stVar);" because UIComponent only can > addChild with DisplayObject. > > which class I can use to take place "UIComponent" and I can use addChild with > validator object? > StringValidator is not a visual component. Why are you trying to add it using addChild()? You can just store it in an internal array (as you're doing) and that should be it. Manish

