- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi ,
I modifed your example a bit and ran the code ( i will paste what i ran) and it works . Are you using the right swc. After you install the Navigator app, unzip the content and then use the swc from inside it.
Here is what i ran (your example )
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:rtc="AfcsNameSpace" xmlns="*"
backgroundColor="#ffffff" backgroundGradientAlphas="[0, 0]"
>
<mx:Script>
<![CDATA[
/*import mx.managers.PopUpManager;
protected var loginDialog:LoginDialog;
protected function creationCompleteHandler():void
{
loginDialog = new LoginDialog();
loginDialog.connectSession = connectSession;
loginDialog.addEventListener("login", loginHandler);
PopUpManager.addPopUp(loginDialog, this);
PopUpManager.centerPopUp(loginDialog);
}
protected function loginHandler(event:Event):void
{
PopUpManager.removePopUp(loginDialog);
}*/
]]>
</mx:Script>
<rtc:AdobeHSAuthenticator id="authenticator" userName="your login" password="your password" />
<rtc:ConnectSessionContainer id="connectSession"
width="100%" height="100%"
roomURL="your room url"
authenticator="{authenticator}" >
<mx:HBox width="100%" height="100%"
horizontalAlign="center" horizontalScrollPolicy="off"
verticalAlign="middle" verticalScrollPolicy="off">
<mx:VDividedBox width="80%" height="100%"
horizontalScrollPolicy="off"
verticalScrollPolicy="off">
<rtc:SharedWhiteBoard id="whiteboard" width="100%" height="80%" />
<rtc:SimpleChat id="chat" width="100%" height="20%" />
</mx:VDividedBox>
<rtc:Roster id="roster" width="20%" height="100%" />
</mx:HBox>
</rtc:ConnectSessionContainer>
</mx:Application>
And I can't find the problem , so just check the right swc.
Hope this helps.
Thanks
Hironmay Basu
Views
Replies
Total Likes