Add tooltip for Issue 221
git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@2726 af16638f-c34d-0410-8cfa-b39d5352b314
This commit is contained in:
parent
cf124f873f
commit
cc7fe5bf21
@ -1,60 +1,61 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
BigBlueButton - http://www.bigbluebutton.org
|
BigBlueButton - http://www.bigbluebutton.org
|
||||||
|
|
||||||
Copyright (c) 2008-2009 by respective authors (see below). All rights reserved.
|
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
|
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
|
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
|
Foundation; either version 3 of the License, or (at your option) any later
|
||||||
version.
|
version.
|
||||||
|
|
||||||
BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
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
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
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
|
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/>.
|
with BigBlueButton; if not, If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
$Id: $
|
$Id: $
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<mx:Button xmlns:mx="http://www.adobe.com/2006/mxml"
|
<mx:Button xmlns:mx="http://www.adobe.com/2006/mxml"
|
||||||
icon="{phoneIcon}" click="startPhone()"
|
icon="{phoneIcon}" click="startPhone()"
|
||||||
xmlns:mate="http://mate.asfusion.com/">
|
xmlns:mate="http://mate.asfusion.com/"
|
||||||
|
toolTip="Start My Microphone">
|
||||||
<mate:Listener type="{CallConnectedEvent.CALL_CONNECTED_EVENT}" method="handleCallConnectedEvent"/>
|
|
||||||
<mate:Listener type="{CallDisconnectedEvent.CALL_DISCONNECTED_EVENT}" method="handleCallDisconnectedEvent"/>
|
<mate:Listener type="{CallConnectedEvent.CALL_CONNECTED_EVENT}" method="handleCallConnectedEvent"/>
|
||||||
|
<mate:Listener type="{CallDisconnectedEvent.CALL_DISCONNECTED_EVENT}" method="handleCallDisconnectedEvent"/>
|
||||||
<mx:Script>
|
|
||||||
<![CDATA[
|
<mx:Script>
|
||||||
import org.bigbluebutton.modules.phone.events.CallDisconnectedEvent;
|
<![CDATA[
|
||||||
import org.bigbluebutton.modules.phone.events.CallConnectedEvent;
|
import org.bigbluebutton.modules.phone.events.CallDisconnectedEvent;
|
||||||
import org.bigbluebutton.modules.phone.events.JoinVoiceConferenceEvent;
|
import org.bigbluebutton.modules.phone.events.CallConnectedEvent;
|
||||||
import org.bigbluebutton.modules.phone.views.assets.Images;
|
import org.bigbluebutton.modules.phone.events.JoinVoiceConferenceEvent;
|
||||||
|
import org.bigbluebutton.modules.phone.views.assets.Images;
|
||||||
private var images:Images = new Images();
|
|
||||||
private var localDispatcher:IEventDispatcher;
|
private var images:Images = new Images();
|
||||||
|
private var localDispatcher:IEventDispatcher;
|
||||||
[Bindable] public var phoneIcon:Class = images.headset_icon;
|
|
||||||
|
[Bindable] public var phoneIcon:Class = images.headset_icon;
|
||||||
private function startPhone():void {
|
|
||||||
localDispatcher.dispatchEvent(new JoinVoiceConferenceEvent());
|
private function startPhone():void {
|
||||||
}
|
localDispatcher.dispatchEvent(new JoinVoiceConferenceEvent());
|
||||||
|
}
|
||||||
public function setLocalDispatcher(dispatcher:IEventDispatcher):void {
|
|
||||||
localDispatcher = dispatcher;
|
public function setLocalDispatcher(dispatcher:IEventDispatcher):void {
|
||||||
}
|
localDispatcher = dispatcher;
|
||||||
|
}
|
||||||
private function handleCallConnectedEvent(event:CallConnectedEvent):void {
|
|
||||||
this.enabled = false;
|
private function handleCallConnectedEvent(event:CallConnectedEvent):void {
|
||||||
}
|
this.enabled = false;
|
||||||
|
}
|
||||||
private function handleCallDisconnectedEvent(event:CallConnectedEvent):void {
|
|
||||||
this.enabled = true;
|
private function handleCallDisconnectedEvent(event:CallConnectedEvent):void {
|
||||||
}
|
this.enabled = true;
|
||||||
|
}
|
||||||
]]>
|
|
||||||
</mx:Script>
|
]]>
|
||||||
</mx:Button>
|
</mx:Script>
|
||||||
|
</mx:Button>
|
||||||
|
Loading…
Reference in New Issue
Block a user