• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Creating a Flashbuilder App

Participant ,
Mar 15, 2011 Mar 15, 2011

Copy link to clipboard

Copied

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

ps I am not sure if I am supposed to post this request here or in the Flex forum. When I read the intro "letter" to this forum I was convinced that I should post the request in the Flex forum. I then read in the Flex forum a big announcement that the Flashbuilder forum is now open and if you are using Flashbuilder one must come here i.e. I hope this does not offend anybody if I am mistaken.

Views

372

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 25, 2011 Mar 25, 2011

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines