Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Error while compiling LCCS SDK samples using Flex SDK 4.5

Avatar

Level 1

Hi,

I am new to Flex programming and exploring the samples provided as part of LCCS SDK. I am trying to compile the available samples like SimpleChatExample.mxml into swf file using Flex SDK 4.5 compiler (mxml.exe). But I am getting following error - Could not resolve <rtc:ConnectSessionContainer> to a component implementation. Could you please help me to locate the exact cause for this? Idea is to embed the compiled swf file into an existing ASP.NET page and to check the feasibility.

Please guide. thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 4

I'd recommend the following:

http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7fcc.html

and use the following for reference:

http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a92.html

or better yet on commandline:

Normally you'll have to reference this list of available options ( same for compc ), then formulate your commandline options.


Your commandline will probably looks something like this:

mxmlc -library-path+=path_to_lccs_sdk/libs/player10 -source-path+=src src/MyApp.mxml

Depending on your needs you'll have to play around with "-include-libraries" and "-external-library-path" params as well.

Hope that helps,

Alex G.

View solution in original post

0 Replies

Avatar

Level 4

Have you linked the LCCS swc into your project?

For example:

http://help.adobe.com/en_US/flashbuilder/using/WSe4e4b720da9dedb5-1a92eab212e75b9d8b2-7ffe.html > scroll to section "Use SWC files in your projects" > scroll to "Add an SWC file to the library path"

Avatar

Level 1

Thanks DrAlexGo. Probably i missed to clarify that I am currently using Open source Flex SDK and using command line mxmlc.exe for compiling the LCCS SDK samples.If this could be of help then please fine below the mxml i am trying to compile

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:rtc="http://ns.adobe.com/rtc">
  <rtc:ConnectSessionContainer roomURL="http://collaboration.adobelivecycle.com/aardvark/YOURROOMNAME"
       width="100%" height="100%">
    <rtc:authenticator>
      <rtc:LocalAutheticator userName="YOURID" password="YOURPASSWORD"/>     
    </rtc:authenticator>
    <mx:HBox width="100%" height="100%">
      <mx:VBox width="25%" height="100%">
        <!--<rtc:WebCamera width="100%" height="50%"/>-->
        <rtc:SimpleChat width="100%" height="50%"/>
      </mx:VBox>
      <rtc:SharedWhiteBoard width="75%" height="100%"/>
    </mx:HBox>
  </rtc:ConnectSessionContainer>
</mx:Application>

Avatar

Correct answer by
Level 4

I'd recommend the following:

http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7fcc.html

and use the following for reference:

http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7a92.html

or better yet on commandline:

Normally you'll have to reference this list of available options ( same for compc ), then formulate your commandline options.


Your commandline will probably looks something like this:

mxmlc -library-path+=path_to_lccs_sdk/libs/player10 -source-path+=src src/MyApp.mxml

Depending on your needs you'll have to play around with "-include-libraries" and "-external-library-path" params as well.

Hope that helps,

Alex G.

Avatar

Employee

Dr.Alex,

Appreciate your support to other LCCS users.

Thanks

Arun