<rtc:AdobeHSAuthenticator id="auth" authenticationKey="{authToken}" protocol="rtmfp" authenticationSuccess="onAuthSuccess();" authenticationFailure="onAuthFailure(event);" />
The function onAuthSuccess() function called continously
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Ashish,
Can you provide the smallest complete app possible which reproduces this
issue? I just built a simple one and it worked.
thanks
nigel
Views
Replies
Total Likes
Can you please send debug logs for this ?
Views
Replies
Total Likes
Hi Ashish,
Can you provide the smallest complete app possible which reproduces this
issue? I just built a simple one and it worked.
thanks
nigel
Views
Replies
Total Likes
Please create the Flex Project with two files below.
MXML 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"
width="1000" height="1000"
xmlns:rtc="AfcsNameSpace" >
<fx:Script source="forAdobe.as" />
<fx:Declarations>
<rtc:AdobeHSAuthenticator id="auth" userName="ashishk2010@hotmail.com" password="password" protocol="rtmfp" authenticationSuccess="onAuthSuccess(event);" authenticationFailure="onAuthFailure(event);" />
</fx:Declarations>
<rtc:ConnectSessionContainer roomURL="https://connectnow.acrobat.com/ashishk2010/myFirstRoom"
id="cSession"
authenticator="{auth}"
width="100%"
height="100%" x="0" y="0">
</rtc:ConnectSessionContainer>
</s:Application>
Action Script File:
import mx.controls.Alert;
public function onAuthFailure(event:Event) : void
{
Alert.show('There was a problem! Please refresh the Window');
}
// The Function below is executed after successful authentication from LCCS Server
public function onAuthSuccess(event:Event) : void
{
Alert.show('on Authenticate Success');
}
Views
Replies
Total Likes
I am sorry to post that. I think Nigel you are right. Its working for me too for adobe as well as External Authentication.
Thanks!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies