My code is:
package com.companyName.softwareName {
import flash.display.Sprite;
public class SoftwareName extends Sprite {
public function SoftwareName() {
trace("Testing!");
}
}
and it is located in C:/dev/com/companyName/SoftwareName as SoftwareName.as
Taking the package name out lets it compile, but when it is in it tells me it the package structure isn't right, but I'm not sure what I'm doing wrong.
Is it an error I made? Or possibly my version of mxmlc is corrupt? I compile it with
mxmlc SoftwareName.as