我已经有了一些动作,其开头:
package obfus_plugin{
的ActionScript包命名和目录结构
import org.flowplayer.model.Plugin;
import org.flowplayer.util.Arrange;
import org.flowplayer.model.PluginModel;
import org.flowplayer.view.Flowplayer;
public class obfus extends Sprite implements Plugin {
,当我尝试发布,我得到的错误:
5001: The name of package 'obfus_plugin' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. C:\flowplayer\url_secure\src\actionscript\obfus_plugin\obfus.as
的位置。如文件是:
C:\flowplayer\url_secure\src\actionscript\obfus_plugin\obfus_plugin.as
在我的类路径,我有:
C:\flowplayer\url_secure\src\actionscript\obfus_plugin
我在做什么错?我有没有错过目录?所有帮助非常感谢。
的。至于文件的位置是“C:\ Documents和Settings \ *** \ My Documents \我的Dropbox \ PUBLIC \ obfus_plugin \ obfus_plugin.as“,我在某处丢失了一个目录吗? (编辑器不断删除“文档和设置”和“***”之间的斜线) – danwoods 2010-05-09 00:11:27
错误说这是我应该移动文件的位置,或者这是错误的位置? – danwoods 2010-05-09 00:15:42
文件中类的类名是什么?这应该匹配文件名。 – spender 2010-05-09 01:13:04