AS3 错误 5001:不反映此文件的位置
AS3 Error 5001: Does not relfect the locaiton of this file
在用尽了留言板中的所有选项后,我想看看是否有人可以帮助我理解为什么我总是收到 5001 错误。
在我的 Main.as Header 我有:
package com.dustin.core
which flash可以找到但是当我发布和测试这个时,编译器由于某种原因无法定位Main.as。
我的 Flash 设置和文件夹结构可以在这里看到:
Click to View Flash Settings
我尝试了各种组合,试图让它正常工作,甚至完全删除包链接也无济于事。任何帮助或建议将不胜感激。谢谢!
Fygo 回答了这个问题:
You document class says core.Main (image 2). Should be com.dustin.core.Main - that's the package of your Main. It does not matter that you specify ...com/dustin in your sourcepath, it doesn't magically change the package, it just means it will include the source files from that path. – Fygo
在用尽了留言板中的所有选项后,我想看看是否有人可以帮助我理解为什么我总是收到 5001 错误。
在我的 Main.as Header 我有:
package com.dustin.core
which flash可以找到但是当我发布和测试这个时,编译器由于某种原因无法定位Main.as。
我的 Flash 设置和文件夹结构可以在这里看到: Click to View Flash Settings
我尝试了各种组合,试图让它正常工作,甚至完全删除包链接也无济于事。任何帮助或建议将不胜感激。谢谢!
Fygo 回答了这个问题:
You document class says core.Main (image 2). Should be com.dustin.core.Main - that's the package of your Main. It does not matter that you specify ...com/dustin in your sourcepath, it doesn't magically change the package, it just means it will include the source files from that path. – Fygo