开发者

Understanding Flash Packages

开发者 https://www.devze.com 2023-01-15 17:46 出处:网络
I\'m trying to understand how packages and dependencies work with Adobe Flash Builder 4. I\'ve copied an example here and put it in a .as file called DependencyGraph.

I'm trying to understand how packages and dependencies work with Adobe Flash Builder 4.

I've copied an example here and put it in a .as file called DependencyGraph.

However I 开发者_如何学Goget the error message:

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

I understand that the original file has a package name called package flare.apps. What should I change to enable this to run?


You need to put the file in the correct directory, in your case:

flare/apps/DependencyGraph.as
0

精彩评论

暂无评论...
验证码 换一张
取 消