We still need this to close the loading bar. Added a control to avoid reconnection exception.
This commit is contained in:
parent
6a1a7e796a
commit
51a7d21ddd
@ -24,6 +24,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
<mate:Listener type="{ModuleLoadEvent.MODULE_LOADING_STARTED}" method="moduleLoadingStarted" />
|
||||
<mate:Listener type="{ModuleLoadEvent.MODULE_LOAD_PROGRESS}" method="moduleLoadProgress" />
|
||||
<mate:Listener type="{ModuleLoadEvent.ALL_MODULES_LOADED}" method="allModulesLoaded" />
|
||||
<mate:Listener type="{PortTestEvent.TEST_RTMP}" method="testRTMP" />
|
||||
<mate:Listener type="{PortTestEvent.PORT_TEST_UPDATE}" method="testRTMPupdate" />
|
||||
<mate:Listener type="{PortTestEvent.TUNNELING_FAILED}" method="tunnelingFailed" />
|
||||
@ -70,6 +71,10 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
//LogUtil.debug("Progress: " + totalProgress);
|
||||
this.setProgress(totalProgress/numModules, 100);
|
||||
}
|
||||
|
||||
private function allModulesLoaded(e:ModuleLoadEvent):void{
|
||||
if (parent != null) parent.removeChild(this);
|
||||
}
|
||||
|
||||
private function testRTMP(e:PortTestEvent):void{
|
||||
//- Cannot get locale string this early in loading process
|
||||
|
Loading…
Reference in New Issue
Block a user