Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

LCCS rtc Code Completion

Avatar

Level 10

Hi,

I have downloaded version 1.2.5 of the LCCS SDK. I am using Flash Builder 4 (4.1 SDK) and attempting to create a spark LCCS application.

I have copied script into the project and can get the tutorial web app to run okay. However I am not getting code generation when I type rtc specific components.

I have added the Flash Player 10 swc and source in the project library.

I am using the new xmlns:rtc="http://ns.adobe.com/rtc".

I am missing something obvious, but can't see it.

Flash Builder1.png

Anyone got any ideas why code completion is not working?

Thanks,

Niall

4 Replies

Avatar

Former Community Member

Hi Niall,

Have you added the source and the library both ? You should just add the swc and it should be fine. Sometimes, if you add the source also, then the linkages don't work with 4.1.

So, looking at your image, I have couple of suggestions:

a) If you are you the swc in library path, try first removing the source and also you don’t need to provide individual namespaces like session, pods,authentication etc. Everything is under rtc namespace and they should be fine.

b) If you are linking to your source folder i.e. player10/src, you don’t need to link the swc and then you need to use the individual namespaces. You will need then only individual namespace code hinting, and there will be nothing called rtc. Our suggestion is to use option a.

Using both at the same time( source and library) sometimes confuses the flex builder and it may not provide you with the code hinting. Let me know if this solves your problem

Hope this helps

Thanks

Hironmay Basu

Avatar

Level 10

Thanks Hironmay,

I tried option A. I removed the original swc and saved the project. I then added the player10 swc on its own, but still no code generation. I also tried removing player10 swc and using player9 swc instead (on its own), but that didn't work either.

In both cases I tried "merged into code" and RSL.

Flash Builder1.png

Rebooting FB4 doesn't help either.

I'll keep trying. I can type the code in manually, but I rely heavily on the code hinting feature.

Thanks,

Niall

Avatar

Former Community Member

Hi,

As I look into your first image, is it that just because of LCCS your code hinting isn’t working or wasn’t working earlier ? I mean are you getting code hinting when you type rtc: or not. If you are not getting code hinting even without LCCS, then may be you can write or Flex forums. I also use 4.1 and I don’t face the issue.

Thanks

Hironmay Basu

Avatar

Level 10

Thanks Hironmay,

Code hinting works fine for all Flex components (Halo and Spark). So starting off with any of the following worked before loading the LCCS swc and continue to work after loading the LCCS swc:

<fx:

<s:

<vg(roup)

<lab(el)

Flash Builder1.png

In addition code hinting continues to work fine for other swc libraries that I use: Flexicious, AlivePDF, Yahoo Astra, etc.

So, hinting is working for all other components, just not LCCS components. The following do not give hinting:

<rtc

<conn(ectSessionContainer)

<aut(henticator)

I don't think it is a FB4 issue, but I will post to the forum in case anyone has a similar issue.

Thanks,

Niall