Avatar

Level 3

Hi

It seems that all the sample apps use Flex 3 (http://www.adobe.com/2006/mxml)

I'm trying to create a simple Flex 4 example but when pods are inside the ConnectSessionContainer I'm getting a white screen

after the swf loads. I do see requests and connection to lccs.

When I put the pods outside of the ConnectSessionContainer it works fine.

Do I have some basic bug or does Flex 4 require different code?

Is it important to put the pods inside the  ConnectSessionContainer?

Does the  ConnectSessionContainer intialize its children or do the pods listen to events from the  ConnectSessionContainer to start?

Please see below the code that does work when the pods are separated from the ConnectSessionContainer with the recent sdk:

<?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:mx="library://ns.adobe.com/flex/mx"
               xmlns:rtc="http://ns.adobe.com/rtc">
   
    <fx:Declarations>
        <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
   
    <rtc:ConnectSessionContainer width="100%" height="100%" roomURL="https://collaboration.adobelivecycle.com/myusername/testroom">
        <rtc:authenticator>
            <rtc:AdobeHSAuthenticator
                protocol="RTMFP"
                userName="tester">
            </rtc:AdobeHSAuthenticator>
        </rtc:authenticator>
    </rtc:ConnectSessionContainer>
   
    <mx:HBox width="100%" height="100%">
        <mx:VBox width="25%" height="100%">
            <rtc:Roster width="100%" height="50%"/>
            <rtc:WebCamera width="100%" height="50%"/>
        </mx:VBox>
        <rtc:SharedWhiteBoard width="75%" height="100%"/>
    </mx:HBox>
   
</s:Application>