Expand my Community achievements bar.

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

Error while setting up Flash + LCCS

Avatar

Level 1

Hi there!

I'm trying to setting up Flash Pro CS5 + LCCS but I'm having a hard time.

I already downloaded SDK, and it's currently installed on $HOME/Documents/Adobe/com.adobe.lccs (I'm running a Mac Lion here).

I went to Flash and configured the shared library as the following image:

https://img.skitch.com/20110819-b5f1qx1rw7h2wpi15xee65nudw.jpg

After starting a new Flash project, I added the following lines:

import com.adobe.rtc.collaboration.ScreenSharePublisher;
var publisher:ScreenSharePublisher = new ScreenSharePublisher();

When I try to publish this file I receive the following error:

1046: Type was not found or was not a compile-time constant: [mx.core]::IMXMLObject.

I've searched a lot and tried different advices without success.

Anything I'm missing here?

Thanks a lot!

1 Accepted Solution

Avatar

Correct answer by
Level 3

I believe the issue here is that you are linking to a SWC that's intended

for Flex use. I think you actually want to link to

.../com.adobe.lccs/libs/flashOnly/player10.3/lccsFlash.swc

Give that a try. I believe it should solve the problem you're seeing.

View solution in original post

7 Replies

Avatar

Correct answer by
Level 3

I believe the issue here is that you are linking to a SWC that's intended

for Flex use. I think you actually want to link to

.../com.adobe.lccs/libs/flashOnly/player10.3/lccsFlash.swc

Give that a try. I believe it should solve the problem you're seeing.

Avatar

Level 1

Damn... I really skipped that directory. It's working now! Thanks a lot!

Avatar

Level 1

Hmmmm. almost.

These two lines gives me an error:

import com.adobe.rtc.collaboration.ScreenSharePublisher;
var publisher:ScreenSharePublisher = new ScreenSharePublisher();

VerifyError: Error #1014: Class com.adobe.rtc.collaboration::ScreenSharePublisher could not be found.

Thanks!

Avatar

Level 3

Looks like it might be a SWC linking issue. When you added the SWC, did you

set the linkage type to Merged Into Code or as Runtime Shared Library? I

think you'll need to do the former (at least to get started).

Avatar

Level 1

I tried both ways and both threw that error. :/

Avatar

Level 1

Never mind. I removed the file I created, created a new as Merged Into Code and started working.

Thanks a lot for your help!