[flexcoders] Strange type-coercion error message! Ideas?

2009-08-12 Thread nwebb
*TypeError: Error #1034: Type Coercion failed: cannot convert Tools.dal.dataObjects::datainvestmentallocat...@2d28301 to Tools.dal.dataObjects.dataInvestmentAllocation.* This one has me a little stumped! The client's project is modular, and has a 'global' array of data objects. They access them

Re: [flexcoders] Strange type-coercion error message! Ideas?

2009-08-12 Thread Ian Thomas
Looks like your objects belong to different ApplicationDomains. By which I mean - object 1 is created from a class called Tools.dal.dataObjects.dataInvestmentAllocation defined by module 1, and object 2 is created from a class called Tools.dal.dataObjects.dataInvestmentAllocation defined by

Re: [flexcoders] Strange type-coercion error message! Ideas?

2009-08-12 Thread nwebb
Ian, you are an absolute star! Thank you so much. I get the feeling I could have been going round in circles over this one. For anyone searching these threads, just to clarify, the solution was to add the second line of code as shown below: _mainModuleLoader = new NoviaModuleLoader();