Expand my Community achievements bar.

Programmatically created AdobeHSAuthenticator does not work

Avatar

Level 4

if i do this:

<session:ConnectSessionContainer id="myMeetingRoom" authenticator="{authenticator}">
   
    <authentication:AdobeHSAuthenticator id="authenticator" />

etc. i can log into a room and i'm good to go. but, if i get rid of the authenticator and do it at runtime with AS3, thus:

<session:ConnectSessionContainer id="myMeetingRoom" >

...

myMeetingRoom.authenticator = new AdobeHSAuthenticator();

no cigar. 

i can do the former. but it would be neater to be able to do the latter.

r.

1 Reply

Avatar

Employee

Hi..

If you are still stuck in this,.. This might help you.

<session:ConnectSessionContainer id="myMeetingRoom" autoLogin="false" roomURL ="http://connectnow.acrobat.com/uNmae/roomName">

...

myMeetingRoom.authenticator = new AdobeHSAuthenticator();

myMeetingRoom.userName = "uName@domain.com";

myMeetingRoom.password = "pwd";

myMeetingRoom.login();

myMeetingRoom.addEventListener(SessionEvent.SYNCHRONIZATION_CHANGE, onSync);