Hello,

Flex newbie here.

I am using Flex 2.0 (standard version, no Data Services) and the Cairngrom 2.0 project and I don't know if this has anything to do with my problem.
Basically I have a login form. When I send my user and password for the first time I get an RefferenceError. If I go back in Flex and hit the "build" button again, it works ok.
When building in debug mode, I don't get the error at all so I reckon it's something with the flash player and/or browser cache.

Any ideas what's causing this ?
Thanks.

This is the error :

ReferenceError: Error #1065: Variable  is not defined.
    at global/flash.utils::getDefinitionByName()
    at mx.utils::DescribeTypeCache$/describeType()
    at mx.utils::ObjectUtil$/getClassInfo()
    at mx.controls::DataGrid/::generateCols()
    at mx.controls::DataGrid/mx.controls:DataGrid::collectionChangeHandler()
    at mx.controls.listClasses::ListBase/set dataProvider()
    at mx.controls::DataGrid/set dataProvider()
    at mx.core::Container/createComponentFromDescriptor()
    at mx.core::Container/createComponentsFromDescriptors()
    at mx.core::Container/mx.core:Container::createChildren()
    at mx.core::UIComponent/initialize()
    at mx.core::Container/initialize()
    at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
    at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
    at mx.core::Container/addChildAt()
    at mx.core::Container/addChild()
    at mx.core::Container/createComponentFromDescriptor()
    at mx.core::Container/createComponentsFromDescriptors()
    at mx.core::Container/mx.core:Container::createChildren()
    at mx.core::UIComponent/initialize()
    at mx.core::Container/initialize()
    at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
    at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
    at mx.core::Container/addChildAt()
    at mx.core::Container/addChild()
    at mx.core::Container/createComponentFromDescriptor()
    at mx.core::Container/createComponentsFromDescriptors()
    at mx.core::Container/mx.core:Container::createChildren()
    at mx.core::UIComponent/initialize()
    at mx.core::Container/initialize()
    at finder.view::AdsView/initialize()
    at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
    at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()
    at mx.core::Container/addChildAt()
    at mx.core::Container/addChild()
    at finder.view::ApplicationView/::_Canvas4_i()
    at finder.view::ApplicationView/::_TabNavigator1_i()
    at finder.view::ApplicationView/::_VBox1_c()
    at mx.core::DeferredInstanceFromFunction/getInstance()
    at mx.states::AddChild/createInstance()
    at mx.states::AddChild/initialize()
    at mx.states::State/http://www.adobe.com/2006/flex/mx/internal::initialize()
    at mx.core::UIComponent/::initializeState()
    at mx.core::UIComponent/::commitCurrentState()
    at mx.core::UIComponent/setCurrentState()
    at mx.core::UIComponent/set currentState()
    at MethodInfo-1512()
    at Function/http://adobe.com/AS3/2006/builtin::call()
    at mx.binding::Binding/::innerExecute()
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at mx.binding::Binding/mx.binding:Binding::wrapFunctionCall()
    at mx.binding::Binding/execute()
    at mx.binding::Binding/watcherFired()
    at mx.binding::Watcher/notifyListeners()
    at mx.binding::PropertyWatcher/eventHandler()
    at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at finder.model::ApplicationModel/dispatchEvent()
    at finder.model::ApplicationModel/set applicationState()
    at finder.commands::LoginCommand/onResult()
    at finder.business::ApplicationServices/__loginDelegate_result()
    at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractService/dispatchEvent()


Yahoo! Music Unlimited - Access over 1 million songs. Try it free. __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





YAHOO! GROUPS LINKS




__,_._,___

Reply via email to