| <?xml version="1.0" encoding="UTF-8" ?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --> |
| <canvas width="100%" height="100%" title="OpenMeetings"> |
| <switch> |
| <when property="$as3"> |
| <passthrough> |
| import flash.net.*; |
| import flash.external.ExternalInterface; |
| import flash.events.*; |
| </passthrough> |
| </when> |
| </switch> |
| <switch> |
| <when property="$debug"> |
| <method name="doDebugInit"> |
| canvas.setAttribute('debug', true); |
| </method> |
| <debug fontsize="11" oninit="Debug.showInternalProperties = true" width="80%" y="50%" x="0" height="50%" /> |
| </when> |
| <otherwise> |
| <method name="doDebugInit"/> |
| </otherwise> |
| </switch> |
| |
| <include href="base/" /><!-- attributes,methods,datasets,are moved into /base --> |
| <include href="resources/" /> |
| <include href="modules/" /> |
| <include href="video/" /> |
| <include href="screensharing/" /> |
| <include href="lzrecorder/" /> |
| <include href="commonVideoViewContentSWF10.lzx" /> |
| <include href="dragHelper.lzx" /> |
| |
| <silverstyle name="defaultstyle" isdefault="true" canvascolor="white" /> |
| <silverstyle name="componentStyle" basecolor="0xFFFFFF" textcolor="0x000000" /> |
| <silverstyle name="itemStyle" textcolor="0xFFFFFF" /> |
| <whitestyle name="menuStyle" textcolor="0x000000" /> |
| |
| <!-- main colors: 264269 --> |
| <handler name="oninit"><![CDATA[ |
| doDebugInit(); |
| ExternalInterface.call("loadingComplete"); |
| var cmenu = new LzContextMenu(); |
| canvas.setDefaultContextMenu(cmenu); |
| cmenu.hideBuiltInItems(); |
| if($debug) Debug.write("main.lzx/oninit:",this); |
| canvas.commonVideoViewContent = new lz.commonVideoViewContentSWF10(this, {name:'_videoComponent'}); |
| canvas.currentModeratorList = []; |
| canvas.removeModeratorList = []; |
| ]]></handler> |
| |
| <handler name="onerror" args="errmsg"> |
| canvas.remoteLogWrite("error " + errmsg); |
| </handler> |
| |
| <!-- View for Contents. All Windows will be loaded on this view. --> |
| <view name="main_content" y="0" width="${canvas.width}" |
| height="${ canvas.height }" |
| visibility="hidden" showhandcursor="false"> |
| |
| <handler name="onmouseover"> |
| setCurrentMouseWheelObject(this._scrollbar); |
| </handler> |
| <handler name="onmouseout"> |
| disableCurrentMouseWheelObject(); |
| </handler> |
| |
| <view x="0" name="_content" > |
| <view name="inner" /> |
| <method name="clearAll"> |
| <![CDATA[ |
| canvas.commonVideoViewContent.clearAll(); |
| if($debug) Debug.write("main.lzx/main_content._content.inner.clearAll(): ",this.inner,this.inner.subviews.length); |
| if (this.inner.subviews != null) { |
| if (this.inner.subviews[0] != null) { |
| var baseContent = this.inner.subviews[0].close(); |
| for (var eg in this.inner.subviews) { |
| if($debug) Debug.write("main.lzx/main_content._content.inner.clearAll()-subviews: ",this.inner.subviews[eg]); |
| if (eg!=0) this.inner.subviews[eg].close(); |
| } |
| } |
| } |
| return baseContent; |
| ]]> |
| </method> |
| </view> |
| <om_hscrollbar name="_scrollbarH" id="_mainScrollHBar" visibility="hidden" /> |
| <om_vscrollbar name="_scrollbar" id="_mainScrollBar" /> |
| </view> |
| |
| <!-- View for Conference menu bar at the top side. Visible on conference --> |
| <view name="_conferencemenu" y="0" x="0" width="100%" height="20" visible="false" > |
| <method name="removeAll"> |
| <![CDATA[ |
| if($debug) Debug.write("main.lzx/_coferencemenu.removeAll(): "); |
| while (this.subviews.length > 0) { |
| this.subviews[0].destroy(); |
| } |
| parent._moderatormenu.removeAll(); |
| ]]> |
| </method> |
| </view> |
| |
| <view name="_moderatormenu" y="0" x="0" width="100%" height="20"> |
| <method name="removeAll"> |
| <![CDATA[ |
| if($debug) Debug.write("main.lzx/_moderatormenu.removeAll(): "); |
| while (this.subviews.length > 0) { |
| this.subviews[0].destroy(); |
| } |
| ]]> |
| </method> |
| </view> |
| |
| <!-- View for "Loading" --> |
| <view name="_loadingAll" visible="false" opacity="0.7" |
| width="${ canvas.width }" height="${ canvas.height }" |
| bgcolor="0xFFFFFF" clickable="true" showhandcursor="false"> |
| <method name="hideContentOnly"> |
| this.showLoadingAnni.setAttribute('started', true); |
| this.setAttribute("visibility","visible"); |
| this._text.setAttribute("visibility","hidden"); |
| </method> |
| <method name="showLoading"> |
| this.showLoadingAnni.setAttribute('started', true); |
| this.setAttribute("visibility","visible"); |
| this._text.setAttribute("visibility","visible"); |
| </method> |
| <method name="hideLoading"> |
| this.setAttribute("visibility","hidden"); |
| </method> |
| <animator name="showLoadingAnni" attribute="opacity" |
| from="0" to="0.7" started="false" duration="250" /> |
| <text name="_text" align="right" y="56" fontsize="14" fgcolor="red">Loading...</text> |
| </view> |
| |
| <view name="inner"></view> |
| </canvas> |