The toolbar is seperate UI component that is added as a child
to the Whiteboard. So it will be forced to remain with in the
boundaries of its parent container (WhiteBoard in this case).
But if you still want it to be outside the container, this
worked for me. But dragging wasnt possible :(. I tried writing a
custom mouseevent like
wb.shapesToolBar.addEventListener(MouseEvent.MOUSE_DOWN,
dragToolBar) and couldnt do anything useful.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"layout="absolute" xmlns:rtc="AfcsNameSpace" >
<mx:Script>
<![CDATA[
protected function onClick():void
{
wb.x = 500;
wb.shapesToolBar.x = -300;
}
]]>
</mx:Script>
<rtc:ConnectSessionContainer id="cSession" roomURL="
http://connectnow.acrobat.com/username/roomname"> <rtc:authenticator>
<rtc:AdobeHSAuthenticator userName="Login" password="Pwd"
/>
</rtc:authenticator>
<rtc:SharedWhiteBoard id="wb" width="800" height="800"
/>
<mx:Button click="onClick()" label="move" />
</rtc:ConnectSessionContainer>
</mx:Application>