I’ve managed to get my little flash app. working by mostly building everything in the document class file. Now I’m trying to get the various functions separated out into their own class files for better organization and extensibility. This is my first time working with AS3 and I’m slowly catching on.
I currently have a function in the document class:
package {
public class presPlayer extends MovieClip {
private function navFunc():void {
}
}
}
I’ve tried to move it into its own class so it looks like this:
package {
public class navFunc extends presPlayer {
public function navFunc() {
}
}
}
In this new configuration it throws the error “1136: Incorrect number of arguments. Expected 1.”
I’ve not added arguments to the function.
What am I missing here?
Thanks,
Jeb