0 Replies Latest reply on Nov 16, 2009 6:55 AM by BastiaanWilderom

    Why Validator object does'nt work within a Component

    BastiaanWilderom

      Hy

       

      I am a newbie an started an application where I created the main application and some components.

       

      It work fine except  one of the componnents

       

      In this component I need to validate an data entry. (checking if it is a valid number)

       

      I tried creating an NumberValidator objetc in MXML, but In error Shows up saying that

       

      Component Declarions are not allowed here. and that Visual children must implment mx.core.IUI components ?

       

      Can anybody explain me what is the matter, and how can I fix this problem

       

       

      Thank in advance