1 Reply Latest reply on Jun 15, 2007 9:43 AM by Gaurav J

    Argument Error

    utraum
      After compiling an existing 2.0.1 Application with 3.0.beta1 i got the following runtime Error

      ArgumentError: Undefined state 'up'.
      at mx.core::UIComponent/mx.core:UIComponent::getState()[E:\dev\flex\sdk\frameworks\projects\ framework\src\mx\core\UIComponent.as:6735]
      at mx.core::UIComponent/mx.core:UIComponent::findCommonBaseState()[E:\dev\flex\sdk\framework s\projects\framework\src\mx\core\UIComponent.as:6755]
      at mx.core::UIComponent/mx.core:UIComponent::commitCurrentState()[E:\dev\flex\sdk\frameworks \projects\framework\src\mx\core\UIComponent.as:6654]
      at mx.core::UIComponent/setCurrentState()[E:\dev\flex\sdk\frameworks\projects\framework\src\ mx\core\UIComponent.as:6620]
      at mx.core::UIComponent/set currentState()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:4 080]
      at mx.controls::Button/ http://www.adobe.com/2006/flex/mx/internal::viewIconForPhase()[E:\dev\flex\sdk\frameworks\ projects\framework\src\mx\controls\Button.as:1890
      at mx.controls::Button/ http://www.adobe.com/2006/flex/mx/internal::viewIcon()[E:\dev\flex\sdk\frameworks\projects \framework\src\mx\controls\Button.as:1789
      at mx.controls::Button/mx.controls:Button::commitProperties()[E:\dev\flex\sdk\frameworks\pro jects\framework\src\mx\controls\Button.as:1280]
      at mx.core::UIComponent/validateProperties()[E:\dev\flex\sdk\frameworks\projects\framework\s rc\mx\core\UIComponent.as:5386]
      at mx.managers::LayoutManager/mx.managers:LayoutManager::validateProperties()[E:\dev\flex\sd k\frameworks\projects\framework\src\mx\managers\LayoutManager.as:517]
      at mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation()[E:\dev\flex \sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:667]
      at Function/ http://adobe.com/AS3/2006/builtin::apply()
      at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2()[E:\dev\flex\sdk\framewor ks\projects\framework\src\mx\core\UIComponent.as:8102]
      at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()[E:\dev\flex\sdk\framework s\projects\framework\src\mx\core\UIComponent.as:8045]



      any Idea ?