Hello,
I'm testing the DataService with LCDS and I'm experiencing some problems.
I built an AIR application and it works fine.I used this same code to built a Flex application but when I compile the Flex app the player throws me an error:
ReferenceError: Error #1065: Variable mx.data::LocalStoreFactory is not defined.
at mx.data::DataStore()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\Dat aStore.as:219]
at mx.data::DataStore$/http://www.adobe.com/2006/flex/mx/internal::getSharedDataStore()[C:\depot\DataServices\tru nk\frameworks\projects\data\src\mx\data\DataStore.as:1866]
at mx.data::ConcreteDataService/get dataStore()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\ConcreteData Service.as:522]
at mx.data::ConcreteDataService/set channelSet()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\ConcreteDat aService.as:285]
at mx.data::DataService/set channelSet()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\DataService .as:354]
at <anonymous>()[D:\Trabalho\Pesquisa\CRM\src\Teste.mxml:14]
at Function/http://adobe.com/AS3/2006/builtin::call()
at mx.binding::Binding/innerExecute()[C:\autobuild\3.2.0\frameworks\projects\framework\src\m x\binding\Binding.as:375]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.binding::Binding/wrapFunctionCall()[C:\autobuild\3.2.0\frameworks\projects\framework\s rc\mx\binding\Binding.as:287]
I didn't find in the Google some problem like this.Someone can help me?
How can I use the DataService with the Flex without errors?