2 Replies Latest reply on May 29, 2009 10:42 PM by *Prashant Shelke*

    Initializer for property 'states' is not allowed here. Compile Error

    firdosh Level 1

      I am using code behind for my component and everytime i add <states> tag i get the following error

       

      Initializer for property 'states' is not allowed here.

       

      If I move the code all the way to the top level container i get this error


      Could not resolve <mx:states> to a component implementation.

       

      Thanks,

      Firdosh