Flex 4 example

Avatar

Avatar

Pablo_P_

Avatar

Pablo_P_

Pablo_P_

06-04-2011

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>

View Entire Topic

Avatar

Avatar

nzezelj

Avatar

nzezelj

nzezelj

06-04-2011

Thank you all on correcting and adding to my response.  I agree with Brian, white screen could easily point to some authentication problem. I would use the debug Flash and see if you get more information on the issue. http://forums.adobe.com/thread/786297?tstart=30

Nikola