com.theoworlds.builder.Config

Config class - loads config from external file.  Manages access to the values.

Version

1.0

Author

© TheoWorlds.com, 2007-2009.

Summary
com.theoworlds.builder.ConfigConfig class - loads config from external file.
Functions
dispatchEvent
addEventListener
removeEventListener
Variables
socketServer
ip
port
username
password
targetRoomName
targetMapUrl
configUrl
moderator_name
moderator_pass
maxMessageLengththe maximum number of characters in a message if the previous text bubble didn’t disappear yet, and the sum of the new message and the old message characters is less then _maxTextLength, then the new message is added to the existing bubble (appended)
editMode
ignoreCharacterCollision
_isConfigSuccessed
todoTileAction
_xml
__instance
emoticonsON
emoticonsConfigUrl
Functions
Config
getInstance
getConfig
parseConfig
Variables
chatCharactersColorspredefined chat message colors borders.
Properties
isConfigSuccessed

Functions

dispatchEvent

function dispatchEvent():Void

addEventListener

function addEventListener():Void

removeEventListener

function removeEventListener():Void

Variables

socketServer

public static var socketServer: String

ip

public static var ip: String

port

public static var port: Number

username

public static var username: String

password

public static var password: String

targetRoomName

public static var targetRoomName: String

targetMapUrl

public static var targetMapUrl: String

configUrl

public static var configUrl: String

moderator_name

public static var moderator_name: String

moderator_pass

public static var moderator_pass: String

maxMessageLength

public static var maxMessageLength: Number

the maximum number of characters in a message if the previous text bubble didn’t disappear yet, and the sum of the new message and the old message characters is less then _maxTextLength, then the new message is added to the existing bubble (appended)

editMode

public static var editMode: Boolean

ignoreCharacterCollision

public static var ignoreCharacterCollision: Boolean

_isConfigSuccessed

private static var _isConfigSuccessed: Boolean

todoTileAction

public static var todoTileAction: Boolean

_xml

private var _xml: XML

__instance

private static var __instance: Config

emoticonsON

public static var emoticonsON: Boolean

emoticonsConfigUrl

public static var emoticonsConfigUrl: String

Functions

Config

private function Config()

getInstance

public static function getInstance():Config

getConfig

public function getConfig(url: String):Void

parseConfig

private function parseConfig(success: Boolean):Void

Variables

chatCharactersColors

public static var chatCharactersColors

predefined chat message colors borders. it helps differentiating the messages

Properties

isConfigSuccessed

public static function get isConfigSuccessed():Boolean
function dispatchEvent():Void
function addEventListener():Void
function removeEventListener():Void
public static var socketServer: String
public static var ip: String
public static var port: Number
public static var username: String
public static var password: String
public static var targetRoomName: String
public static var targetMapUrl: String
public static var configUrl: String
public static var moderator_name: String
public static var moderator_pass: String
public static var maxMessageLength: Number
the maximum number of characters in a message if the previous text bubble didn’t disappear yet, and the sum of the new message and the old message characters is less then _maxTextLength, then the new message is added to the existing bubble (appended)
public static var editMode: Boolean
public static var ignoreCharacterCollision: Boolean
private static var _isConfigSuccessed: Boolean
public static var todoTileAction: Boolean
private var _xml: XML
private static var __instance: Config
public static var emoticonsON: Boolean
public static var emoticonsConfigUrl: String
private function Config()
public static function getInstance():Config
public function getConfig(url: String):Void
private function parseConfig(success: Boolean):Void
public static var chatCharactersColors
predefined chat message colors borders.
public static function get isConfigSuccessed():Boolean
Close