1

我试图了解包和依赖项如何与 Adob​​e Flash Builder 4 一起使用。

我在这里复制了一个示例并将其放入名为 DependencyGraph 的 .as 文件中。

但是我收到错误消息:

A file found in a source-path must have the same package structure '', 
as the definition's package, 'DependencyGraph'.

我知道原始文件有一个名为package flare.apps. 我应该改变什么才能让它运行?

4

1 回答 1

2

您需要将文件放在正确的目录中,在您的情况下:

flare/apps/DependencyGraph.as
于 2010-09-13T11:39:03.813 回答