【发布时间】:2015-05-23 01:22:01
【问题描述】:
这似乎是一个相当常见的错误,但我无法为我的确切问题找到解决方案。我最初在 FlashBuilder 中工作,但我的免费试用期已过期,因此我试图切换到 flashDevelop。一切都可以在 FlashBuilder 中构建得很好,但我在 FlashDevelop 中不断收到错误我有一个名为 MyCustomClass 的自定义类,它扩展了 EventDispatcher。我不允许对代码过于具体,因为这是为了工作,但我有类似的东西:
package myPackage{
import myPackage.MyCustomClass;
public class SecondClass extends EventDispatcher{
private var _fields:Vector.<MyCustomClass>;
[Bindable("fieldsChanged")]
public function get fields(): Vector.<MyCustomClass> { return _fields.slice(); }
}
}
我收到错误Type was not found or was not a compile-time constant: MyCustomClass
在第四行代码。有什么想法吗?
【问题讨论】:
标签: actionscript-3 apache-flex flex4 flash-builder flashdevelop