Over 10 years of community discussion and knowledge are maintained here as a read-only archive.
public class UserProxy extends Proxy implements IProxy { public static const NAME:String = "UserProxy"; private var _sqlConnection:SQLConnection; private var _dbFile:File; public function UserProxy ( data:Object = null ) { super ( NAME, data ); _sqlConnection = new SQLConnection(); _sqlConnection.addEventListener(SQLEvent.OPEN, openHandler); _sqlConnection.addEventListener(SQLErrorEvent.ERROR, errorHandler); _dbFile = File.applicationStorageDirectory.resolvePath("gTT.db"); _sqlConnection.openAsync(_dbFile); }