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.
Have you linked the LCCS swc into your project?
http://help.adobe.com/en_US/flashbuilder/using/WSe4e4b720da9dedb5-1a92 eab212e75b9d8b2-7ffe.html > scroll to section "Use SWC files in your projects" > scroll to "Add an SWC file to the library path"
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
I'd recommend the following:
and use the following for reference:
or better yet on commandline:
mxmlc -help list details
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,