【问题标题】:Adobe Stratus - GroupSpecifier and NetStream ProblemsAdobe Stratus - GroupSpecifier 和 NetStream 问题
【发布时间】:2010-11-08 19:12:03
【问题描述】:

我昨天开始使用 Adob​​e Stratus,并制作了一个简单的聊天应用程序。今天,我要学习如何使用群组功能。

但是当我尝试实例化一个 GroupSpecifier 变量时,我得到了这个错误:

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

之前我在使用 NetStream(代替 GroupSpecifier)时遇到了类似的错误。

我有 Flex 4.1,它设置为 Flash Player 10.1。

我做错了什么?我该如何解决这个问题?

【问题讨论】:

  • 这就是我的设置。你运行的 Flash Player 是 10.1 吗?

标签: apache-flex flash stratus adobe-stratus


【解决方案1】:

只是确定,你做了import flash.net.GroupSpecifier; 对吗?

【讨论】:

    【解决方案2】:

    尝试从here 下载 Flash Player swc 文件,并将“-target-player=11”添加到 Flash Builder 中的编译器参数。

    【讨论】:

      猜你喜欢
      • 2011-02-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-09-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多