Actionscript package naming and directory structure
Posted
by danwoods
on Stack Overflow
See other posts from Stack Overflow
or by danwoods
Published on 2010-05-08T23:51:33Z
Indexed on
2010/05/08
23:58 UTC
Read the original article
Hit count: 254
Hello all,
I've got some actionscript which begins with:
package obfus_plugin{
import org.flowplayer.model.Plugin;
import org.flowplayer.util.Arrange;
import org.flowplayer.model.PluginModel;
import org.flowplayer.view.Flowplayer;
and when I try to publish, I get the error:
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:\Documents and Settings\***\My Documents\My Dropbox\Public\obfus_plugin\obfus_plugin.as
In my classpaths I have:
C:\Documents and Settings\***\My Documents\My Dropbox\Public
What am I doing wrong?
© Stack Overflow or respective owner