2

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?

2 Answers2

1

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

brybam
  • 5,009
  • 12
  • 51
  • 93
0

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

Frank Szilinski
  • 550
  • 1
  • 5
  • 18