afmook
04-25-2010, 05:41 PM
/////////////
// FIXED:
// Added constructor
// Moved .as file
/////////////
Hiya.
Fixed old problems, found new ones:
I cannot for the life of me get a custom class to work. I make it VERY simple, but Flash/AS3 will NOT import no matter what I do.
in Main .fla file:
import jloader;
jloader.as
package {
import flash.display.Loader;
public class jloader extends Loader {
public var url = "";
}
}
That's it. Every time I still get a:
1172: Definition jloader could not be found.
Any help is GREATLY appreciated. :confused:
// FIXED:
// Added constructor
// Moved .as file
/////////////
Hiya.
Fixed old problems, found new ones:
I cannot for the life of me get a custom class to work. I make it VERY simple, but Flash/AS3 will NOT import no matter what I do.
in Main .fla file:
import jloader;
jloader.as
package {
import flash.display.Loader;
public class jloader extends Loader {
public var url = "";
}
}
That's it. Every time I still get a:
1172: Definition jloader could not be found.
Any help is GREATLY appreciated. :confused: