1 Reply Latest reply on Mar 25, 2011 3:23 AM by DHMerritt

    Creating a Flashbuilder App

    DHMerritt Level 1

      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.

        • 1. Re: Creating a Flashbuilder App
          DHMerritt Level 1

          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.