开发者

Flash error 5001: name of package does not reflect location?

开发者 https://www.devze.com 2023-01-14 02:42 出处:网络
I\'m getting an error on Flash that I\'ve never run in to before. 5001: The name of package \'Document\'

I'm getting an error on Flash that I've never run in to before.

5001: The name of package 'Document' does not reflect the location of开发者_JAVA技巧 this file. Please change the package definition's name inside this file, or move the file. C:\Work\2009-2010\Flash\Tests\Document.as

The fla is called TestEvents1... and that's all the info I think is related.

What's happening here?


Are the fla and Document.as in the same folder? If not, you will need to change the package name in order to indicate where Document.as can be found.

this article may help: http://www.actionscript.org/resources/articles/698/1/Make-your-own-reusable-classes-using-Flash-and-AS3/Page1.html

0

精彩评论

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