Avatar

Level 1

Hi,

I want to use LCCS and flex mobile to create a realtime collaborative whiteboard app so when I saw that LCCS provides this out of the box I was really excited. I tried it as a web app and it works like a charm.

However I can't get it to work on a tablet.

Here is the simple "hello world" type of mobile app. I am using FB 4.5.1 with lccs.swc (for flash player 10.1)

<?xml version="1.0" encoding="utf-8"?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"

        xmlns:s="library://ns.adobe.com/flex/spark"

       xmlns:rtc="http://ns.adobe.com/rtc"

      applicationDPI="160">

<fx:Declarations>

      <rtc:AdobeHSAuthenticator id="auth" userName="guest"/>

</fx:Declarations>

<rtc:ConnectSessionContainer id="moony"

                                             authenticator="{auth}"

                                             roomURL="some_url" width="100%" height="100%">

          <rtc:SharedWhiteBoard width="100%" height="100%"/>

</rtc:ConnectSessionContainer>

</s:Application>

This is making the compiler unhappy. I am getting this error:

'ConnectSessionContainer' declaration must be contained within the <Declarations> tag, since it is not assignable to the default property's type 'Array' or element type 'mx.core.IVisualElement'.

Not sure exactly what's going on here. Maybe I am making a noob mistake. But it feels like mobile lccs documentation is a bit sparse.