Daniel Pink
Daniel Pink

Reputation: 21

Adobe Stratus - GroupSpecifier and NetStream Problems

I started using Adobe Stratus yesterday and made a simple chat application. Today, I was to learn how to use the group feature.

But when I try to instantiate a GroupSpecifier variable, I get this error:

1046: Type was not found or was not a compile-time constant: GroupSpecifier.    P2P.mxml

Earlier I was getting a similar error with NetStream (in place of GroupSpecifier).

I have Flex 4.1 and it's set to Flash Player 10.1.

What am I doing wrong? How can I fix this?

Upvotes: 2

Views: 641

Answers (2)

Frank Szilinski
Frank Szilinski

Reputation: 550

Try to download Flash Player swc file from here and add "-target-player=11" to your compiler arguments in Flash Builder.

Upvotes: 0

brybam
brybam

Reputation: 5019

just making sure, you did import flash.net.GroupSpecifier; right?

Upvotes: 1

Related Questions