import mx.events.ModuleEvent;
import flash.events.ProgressEvent;
import mx.modules.*;
[Bindable]
public var progBar:String = "";
[Bindable]
public var progMessage:String = "";
private function progressEventHandler(e:ProgressEvent):void {
progBar += ".";
progMessage =Math.round((e.bytesLoaded/e.bytesTotal) * 100) + "%";
}
public function createModule():void {
chartModuleLoader.loadModule();
}