Environment:
Windows XP, Flash Builder 4.0
Flex SDK 4.1
LCCS SDK Version 1.1 (the one including p2p support)
Flash Player 10.1.53.64
I first had problems compiling, fixed by adding afsc.swc and playerglobal.swc in the Build Paths.
Here is the sample I try building:
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
xmlns:rtc="AfcsNameSpace">
<rtc:ConnectSession id="session"/>
<mx:Panel width="70%" verticalCenter="0" horizontalCenter="0" paddingBottom="10" paddingLeft="10" paddingRight="10" paddingTop="10">
<mx:Text id="display" text="The last message sent will display here" width="100%" fontSize="24" fontWeight="bold"/>
<mx:TextInput id="input" width="100%" fontSize="18"/>
</mx:Panel>
</mx:Application>
When running it , I get a white screen.
If I remove xmlns:rtc and rtc:ConnectSession , as in the code below, I am able to view the interface, but obviously it's not actually working.
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
>
<mx:Panel width="70%" verticalCenter="0" horizontalCenter="0" paddingBottom="10" paddingLeft="10" paddingRight="10" paddingTop="10">
<mx:Text id="display" text="The last message sent will display here" width="100%" fontSize="24" fontWeight="bold"/>
<mx:TextInput id="input" width="100%" fontSize="18"/>
</mx:Panel>
</mx:Application>
This happens for any application in the examples directory or various articles about LCCS.
What am I doing wrong?
Thank you