title: syncConnector and role in use with Collaboration Builder sdk
body: <p>I am trying to get the user's role in Adobe Connect, and then use that in my pod to restrict access to buttons in an embedded swf file. So I created this in my mxml:</p>
  
  <pre><code>&lt;mx:SWFLoader id="mySWFLoader" source="GameShow.swf" complete="setSwfMc()"/&gt;
  &lt;sync:SyncConnector id="syncConnector" syncMessageReceived = "syncMessageReceived(event)" caughtUp="caughtUp(event)" /&gt;
  </code></pre>
  
  <p>Then I added this complete method for the loaded swf:</p>
  
  <pre><code>private function setSwfMc():void{
      mySwfMc = mySWFLoader.content as MovieClip;
      mySwfMc.addEventListener(FFTalkEvent.TALK_TO_FLEX,listenToFlash);
      this.addEventListener(FFTalkEvent.TALK_TO_FLASH,mySwfMc.mainFrame_mc.listenToFlex);
      dispatchEvent(new FFTalkEvent(FFTalkEvent.TALK_TO_FLASH, true, true, syncConnector.role));
  }
  </code></pre>
  
  <p>The dispatch event at the end triggers this listener inside my embedded swf:</p>
  
  <pre><code>function listenToFlex(e:FFTalkEvent):void{
      trace("listening to Flex "+e.said);
      role = e.said;
      role_txt.text = e.said;
  }
  </code></pre>
  
  <p>When I test this locally, i can get the embedded swf to spit back information. But when I put it into Adobe Connect, nothing shows up in the role_txt file, so it is not getting my syncConnector.role into my embedded swf. So I am wondering how do I know I have a value for syncConnector.role, and when can I trigger it off to my embedded flash file to know that a user has a role?</p>