- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hironmay, updated source code:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" width="550" height="550" xmlns:rtc="http://ns.adobe.com/rtc">
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;
protected function txtusername_enterHandler(event:FlexEvent):void
{
// TODO Auto-generated method stub
connectRoom.login();
}
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<rtc:ConnectSessionContainer x="10" y="10" width="530" height="530"
roomURL="https://collaboration.adobelivecycle.com/publishing1/sourceroom"
id="connectRoom"
autoLogin="false">
<rtc:authenticator>
<rtc:AdobeHSAuthenticator userName="{txtusername.text}"/>
</rtc:authenticator>
<rtc:SimpleChat x="10" y="10" sessionDependent="true" useExternalContextMenu="false" newMessageColor="0x000000" width="241" height="510"/>
<rtc:ScreenShareSubscriber id="screenShare" width="250" height="250" x="270" y="270"/>
<rtc:WebcamSubscriber x="270" y="10" displayUserBars="true" height="250" width="250"/>
</rtc:ConnectSessionContainer>
<s:TextInput x="274" y="0" id="txtusername" enter="txtusername_enterHandler(event)"/>
</s:Application>
Still getting a blank screen.
Ian
Views
Replies
Total Likes