| <?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. |
| |
| --> |
| <library> |
| |
| <!-- |
| ######################################### |
| |
| Test the setup values before you enter a room => is moved to the SWF10 app |
| |
| The only thing remaining here to do, is to load the correct server |
| RTMP-host, RTMP/RTMPT-port for the session |
| |
| --> |
| |
| <class name="testSetup" extends="view" |
| x="$once{ parent.width/2 - 300 }" y="100" |
| width="600" height="400"> |
| |
| <attribute name="roomClassName" type="string" value="" /> |
| |
| <attribute name="roomObj" value="null"/> |
| |
| <attribute name="forceTest" value="false" type="boolean" /> |
| |
| <attribute name="isDirectLink" value="false" type="boolean" /> |
| |
| <!--- @keywords private if doJustClose is true the confirmation will be wait and |
| then the window just closed --> |
| <attribute name="doJustClose" value="false" type="boolean" /> |
| |
| <handler name="oninit"> |
| <![CDATA[ |
| clearStageContent(); |
| if ($debug) Debug.warn("roomClassname : ", this.roomClassName); |
| if ($debug) Debug.warn("canvas.currentRoomObj will be : ", this.roomObj); |
| canvas.currentRoomObj = this.roomObj; |
| |
| new lz[this.roomClassName](canvas.main_content._content.inner, { |
| roomobj:this.roomObj |
| }); |
| this.destroy(); |
| ]]> |
| </handler> |
| </class> |
| |
| |
| </library> |