bigbluebutton-Github/bigbluebutton-client/src/BigBlueButton.mxml

61 lines
2.2 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!--
BigBlueButton - http://www.bigbluebutton.org
Copyright (c) 2008-2009 by respective authors (see below). All rights reserved.
BigBlueButton is free software; you can redistribute it and/or modify it under the
terms of the GNU Lesser General Public License as published by the Free Software
Foundation; either version 3 of the License, or (at your option) any later
version.
BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along
with BigBlueButton; if not, If not, see <http://www.gnu.org/licenses/>.
$Id: $
-->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:mainView="org.bigbluebutton.main.view.components.*"
xmlns:maps="org.bigbluebutton.main.maps.*"
xmlns:mate="http://mate.asfusion.com/"
pageTitle="BigBlueButton"
layout="absolute"
preloader="org.bigbluebutton.main.managers.BigBlueButtonPreloader">
<mx:Script>
<![CDATA[
import org.bigbluebutton.util.i18n.ResourceUtil;
import org.bigbluebutton.main.view.components.MainApplicationShell;
import org.bigbluebutton.main.events.ConfigEvent;
/**
* Thse two lines are workaround for this. (ralam - Nov 8, 2008)
* http://gregjessup.com/flex-3-advanceddatagrid-cannot-convert-mxmanagersdragmanagerimpl-to-mxmanagersidragmanager/
* http://butterfliesandbugs.wordpress.com/2007/10/25/workaround-for-error-when-loading-popups-from-modules/
*/
import mx.managers.IDragManager;
private var iDragManager:IDragManager;
private function handleConfigLoadedEvent(e:Event):void {
trace('Got CONFIG_LOADED_EVENT');
mainShell.visible = true;
}
private function handleChatEvent(e:Event):void {
trace('Got CHAT_EVENT');
}
]]>
</mx:Script>
<maps:ApplicationEventMap />
<mate:Listener type="{ConfigEvent.CONFIG_LOADED_EVENT}" method="handleConfigLoadedEvent" />
<mainView:MainApplicationShell id="mainShell"/>
</mx:Application>