RESOURCES

I'M HAVING A CONFLICT WITH 4D FOR FLEX AND...

 

I'm having a conflict with 4D for Flex and Adobe AIR

“I tried to create an AIR project using 4D for Flex but there seems to be a conflict. It looks like some of 4D for Flex's classes conflict with AIR's own SQL classes. SQLConnect is one of them.”


1) The approach of using what we call the Flash layer is not supported as it is explained in the manual.

 

2) If you still want to use this API, you can fully qualify this function as a workaround:

 

private var _connection:fourD.sql.SQLConnection;
private function initApp():void { _connection = new fourD.sql.SQLConnection();

That's how we built our SQLAdmin AIR demo, dervied from Christophe Coenraets' work, found at:

http://coenraets.org/blog/2008/02/sqlite-admin-for-air-10/


 

 

More resources