So I have three files in the same package: com.foo
The directory to these files is:
then inside I have foo.as and bar.as
When I try to run mxmlc C:\..\mylibrary\src\com\foobar\foo.as I get the error:
A file found in a source-path must have the same package structure ' ', as the definition's package, 'com.plupload'.
To that I say: it does.
I've found a few other forum posts about this error, and it seemed like the user had to make the directory matching the package name, which I already have. What am I missing?
Thanks in advance for any help you can give!
I can provide more information if necessary- should be an easy 10 points up for grabs!
Turns out I had to use the following command:
mxmlc -compiler.source-path=.\src -static-link-runtime-shared-libraries=true .\src\com\foobar\foo.as -output .\test.swf
Do I understand why? No, not really. A coworker helped me for a while. Hope this helps anyone who has the same problem in compiling an actionscript package.