Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

MalibuR9
MalibuR9
Offline

Badges

Badges
1

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
1

Discussions

Discussions
0

Questions

Questions
1

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by MalibuR9
Customize the badges you want to showcase on your profile
UserRoles problem. - Adobe LiveCycle 01-04-2010
Hello,I have a simple chat application and I want the users that enter to be promoted to owners or publishers, but not with the autopromote feature, with the UserRoles class. I'm not much of a coder. i'm a designer and I tried to write it myself but nothing worked, could you help me please ? Here is the code of my app : import mx.managers.PopUpManager; import mx.controls.SWFLoader; import com.adobe.rtc.messaging.UserRoles; import com.adobe.rtc.sharedModel.CollectionNode; protected function showLogin():void { var login:LoginDialog = new LoginDialog(); login.connectSession = cSession; PopUpManager.addPopUp(login, this); PopUpManager.centerPopUp(login); } And the LoginDialog: import mx.managers.PopUpManager; import com.adobe.rtc.session.IConnectSession; import com.adobe.rtc.messaging.UserRoles; [Bindable] public var connectSession:IConnectSession; protected function login():void { connectSession.authenticator.userName = userNameField.text; connectSession.login(); PopUpManager.removePopUp(this); } Thank you !

Views

358

Likes

0

Replies

1