Skip to main content
Inspiring
March 17, 2011
Question

Using Flashbuilder to build an app for Adobe Connect 8

  • March 17, 2011
  • 1 reply
  • 356 views

I am in the process of creating a Flashbuilder application that will log onto Adobe Connect 8 and draw a whole lot of info off of the server.

I am able to log onto Adobe Connect from my application.

Now I would like to have some text that says "Welcome Dimitri Merritt" (obviously whatever the users name is). If I have read the documentation correctly I should be able to us x-user-id. I have tried this but without luck. Can somebody please help me out?

Dimtiri

    This topic has been closed for replies.

    1 reply

    DHMerrittAuthor
    Inspiring
    March 25, 2011

    Ok I figured this one out with help form Kapil (thanks Kapil).

    Here are a few lines of code that is needed:

    <s:HTTPService id="myPersonalInfo" fault="faultHandler(event) resultFormat="e4x" result"personalInfo(event)"/>

    Then create a function e.g.

    private function requestPersonalInfo():void{

    domainUrl="your url.com";

    personalInfoRequest="";

    personalInfoRequest=domainUrl+api_xml_string;

    personalInfoRequest+="common-info";

    myPersonalInfo.url=personalInfoRequest;

    myPersonalInfo.send();

    }

    private funtion personalInfo(event:ResultEvent):void{

    personalName=event.result.common.user.name;

    Username.text="Welcome" + personalName;

    }

    Thats it.