I have an issue using external as files. I'm working with a Flash Professional project in Flash Builder
Here is some code on the timeline (I got the code like this, don't have the time to abandon this practice because of deadlines):
import com.companyname.AwesomeClass;
include "external.as";
And here's external.as
function doSomething(value:AwesomeClass) {
trace("value="+value.toString());
}
I'm getting an error on line 1 (function signature) in external.as: "1046: Type was not found or was not a compile time constant: AwesomeClass"
There's no error on the import statement, and if I put that import statement in external.as, I still get the error on the function signature line (but not on the import line, it has no problem with that)
Any reason some of these linkages are getting screwed up?