ok then where are you calling all your classes from? where are you calling
PHP Code:
var config:ConfigManager = new ConfigManager(); 
????

put root.loaderInfo.parameters["xmlfile"] in var config:ConfigManager = new ConfigManager(); as a parameter.

why do you need ["xmlfile"] ???? is ConfigManager being called more than one time per application?