Packageat.db
Classpublic class CreateDatabase

Class for creating the application database.



Public Methods
 MethodDefined by
  
Constructor.
CreateDatabase
Protected Methods
 MethodDefined by
  
init():void
Init.
CreateDatabase
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
CreateDatabase
  
onEveDBOpened(event:SQLEvent):void
Creates each table if it does not already exist in the application database.
CreateDatabase
Constructor detail
CreateDatabase()constructor
public function CreateDatabase()

Constructor.

Method detail
init()method
protected function init():void

Init. Establishes connection to the application database.

onEveDBError()method 
protected function onEveDBError(event:SQLEvent):void

Error handler method for database connection errors.

Parameters
event:SQLEventSQLEvent
onEveDBOpened()method 
protected function onEveDBOpened(event:SQLEvent):void

Creates each table if it does not already exist in the application database.

Parameters
event:SQLEventSQLEvent