We still need this to close the loading bar. Added a control to avoid reconnection exception.

This commit is contained in:
Pedro Beschorner Marin 2015-07-27 18:07:41 +00:00
parent 6a1a7e796a
commit 51a7d21ddd

View File

@ -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_LOADING_STARTED}" method="moduleLoadingStarted" />
<mate:Listener type="{ModuleLoadEvent.MODULE_LOAD_PROGRESS}" method="moduleLoadProgress" /> <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.TEST_RTMP}" method="testRTMP" />
<mate:Listener type="{PortTestEvent.PORT_TEST_UPDATE}" method="testRTMPupdate" /> <mate:Listener type="{PortTestEvent.PORT_TEST_UPDATE}" method="testRTMPupdate" />
<mate:Listener type="{PortTestEvent.TUNNELING_FAILED}" method="tunnelingFailed" /> <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); //LogUtil.debug("Progress: " + totalProgress);
this.setProgress(totalProgress/numModules, 100); this.setProgress(totalProgress/numModules, 100);
} }
private function allModulesLoaded(e:ModuleLoadEvent):void{
if (parent != null) parent.removeChild(this);
}
private function testRTMP(e:PortTestEvent):void{ private function testRTMP(e:PortTestEvent):void{
//- Cannot get locale string this early in loading process //- Cannot get locale string this early in loading process