Revision: 2386
Author: seba.wagner
Date: Wed Oct 7 09:52:35 2009
Log: Issue 303
http://code.google.com/p/openmeetings/source/detail?r=2386
Modified:
/trunk/openmeetings_lps411/main.lzx.swf8.swf
/trunk/openmeetings_lps411/maindebug.lzx.swf8.swf
/trunk/openmeetings_lps411/modules/conference/testsetup/testSetup.lzx
=======================================
--- /trunk/openmeetings_lps411/main.lzx.swf8.swf Sun Oct 4 09:15:19 2009
+++ /trunk/openmeetings_lps411/main.lzx.swf8.swf Wed Oct 7 09:52:35 2009
Binary file, no diff available.
=======================================
--- /trunk/openmeetings_lps411/maindebug.lzx.swf8.swf Wed Oct 7 06:58:09
2009
+++ /trunk/openmeetings_lps411/maindebug.lzx.swf8.swf Wed Oct 7 09:52:35
2009
File is too large to display a diff.
=======================================
--- /trunk/openmeetings_lps411/modules/conference/testsetup/testSetup.lzx
Wed Oct 7 06:58:09 2009
+++ /trunk/openmeetings_lps411/modules/conference/testsetup/testSetup.lzx
Wed Oct 7 09:52:35 2009
@@ -8,6 +8,26 @@
-->
+<class name="simpleLabelRoundButtonIcon" extends="simpleLabelRoundButton"
+ height="24" fontstyle="bold" >
+
+ <attribute name="ressourceIcon" value="" type="string" />
+ <attribute name="tlabelid" value="0" type="number" />
+
+ <view name="_iconView" x="10" y="2" resource="$once{
parent.ressourceIcon
}" />
+
+ <labelText y="4" x="30" labelid="$once{ parent.tlabelid }"
resize="true"
/>
+
+ <handler name="onmouseover">
+ this._iconView.setAttribute("opacity",0.5);
+ </handler>
+
+ <handler name="onmouseout">
+ this._iconView.setAttribute("opacity",1);
+ </handler>
+
+</class>
+
<class name="testSetup" extends="labelExplorerBox" labelid="757" x="$once{
parent.height/2 - 250 }"
y="100" docking="true" resizeable="false" closable="true" width="600"
height="400">
@@ -98,7 +118,7 @@
var videoview = this._publisher._chatvideoinner._videostream;
if ($debug) Debug.write("videoview: ",videoview);
- if ($debug) Debug.write(valCam,valMic,settings);
+ if ($debug) Debug.write(valCam,valMic);
var _micro = Microphone.get(valMic);
var _camera = Camera.get(valCam);
@@ -198,24 +218,72 @@
<videoObjectTestBroadcast name="_publisher" x="340" y="40" width="240"
height="180" />
- <simpleLabelRoundButton name="_start" y="190" x="350" width="105"
labelid="763" height="24" fontstyle="bold" >
- <view x="12" y="2" resource="test_setup_record_rsc" />
+ <simpleLabelRoundButtonIcon name="_start" y="190" x="350"
+ ressourceIcon="test_setup_record_rsc"
+ width="70" tlabelid="763" >
<handler name="onclick">
+ parent._level_meter.startLevel();
parent.doninitalize();
</handler>
- </simpleLabelRoundButton>
-
- <simpleLabelRoundButton name="_stop" y="190" x="465" width="105"
labelid="766" height="24" fontstyle="bold" >
- <view x="12" y="2" resource="test_setup_stop_rsc" />
+ </simpleLabelRoundButtonIcon>
+
+ <simpleLabelRoundButtonIcon name="_stop" y="190" x="425"
+ ressourceIcon="test_setup_stop_rsc"
+ width="70" tlabelid="766" >
<handler name="onclick">
+ parent._level_meter.resetNewLevel();
parent.doStop();
</handler>
- </simpleLabelRoundButton>
-
- <simpleLabelRoundButton name="_play" y="190" x="465" width="105"
labelid="764" visibility="hidden"
- height="24"
fontstyle="bold" >
- <view x="12" y="2" resource="test_setup_play_rsc" />
- </simpleLabelRoundButton>
+ </simpleLabelRoundButtonIcon>
+
+ <simpleLabelRoundButtonIcon name="_play" y="190" x="500"
+ ressourceIcon="test_setup_play_rsc"
+ width="70" tlabelid="764"
+ enabled="false">
+ <handler name="onclick">
+ parent.doPlay();
+ </handler>
+ </simpleLabelRoundButtonIcon>
+
+ <labelText labelid="767" x="340" y="220" />
+
+ <view name="_level_meter" x="340" y="240" width="240" height="20"
clip="true" bgcolor="0x000000">
+
+ <!--- Level delegate, used to track level changes.
+ @keywords private -->
+ <attribute name="_leveldel" value="$once{new
LzDelegate(this, '_updateLevel')}"/>
+
+ <method name="_updateLevel" args="no">
+ <![CDATA[
+ //if ($debug)
Debug.write("activityLevel",parent._publisher._chatvideoinner._videostream.micro.activityLevel);
+
this.setNewLevel(parent._publisher._chatvideoinner._videostream.micro.activityLevel);
+ ]]>
+ </method>
+
+ <method name="startLevel">
+ this._leveldel.register(lz.Idle, "onidle");
+ </method>
+
+ <method name="resetNewLevel">
+ this._leveldel.unregisterAll();
+ this.setNewLevel(0);
+ </method>
+
+ <method name="setNewLevel" args="no">
+ <![CDATA[
+
+ var newLevel = (238/100) * no;
+
+ this._over.setAttribute("width",238-newLevel);
+ this._over.setAttribute("x",1+(newLevel));
+
+ ]]>
+ </method>
+
+ <view name="_bg" width="238" height="18" x="1" y="1"
bgcolor="0xFFFFFF" />
+ <view name="_grip" resource="level_meter_rsc" x="1" y="1" />
+ <view name="_over" width="238" height="18" x="1" y="1"
bgcolor="0xFFFFFF" />
+ </view>
<view y="300" resource="test_setup_info_rsc" x="10" />
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OpenMeetings developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/openmeetings-dev?hl=en
-~----------~----~----~----~------~----~------~--~---