了解Flash软件包

了解Flash软件包,flash,flex4,prefuse,Flash,Flex4,Prefuse,我正试图了解软件包和依赖项如何与AdobeFlashBuilder4一起工作 我复制了一个示例,并将其放入名为DependencyGraph的.as文件中 但是,我收到了错误消息: A file found in a source-path must have the same package structure '', as the definition's package, 'DependencyGraph'. 我知道原始文件的包名为package flare.apps。我应该更改什么以

我正试图了解软件包和依赖项如何与AdobeFlashBuilder4一起工作

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

但是,我收到了错误消息:

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

我知道原始文件的包名为
package flare.apps
。我应该更改什么以使其能够运行?

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

flare/apps/DependencyGraph.as