Another day, another error =[

Hey =D,

I hope you guys don’t mind me posting too often xD. I only ever do it if I really am stuck…

Anywho…

I have written a set of functions that worked fine, and still do might I add =D, so I placed them in a new class called mainGui.as. I linked my documentClass it as shown below.


package {

    import flash.display.MovieClip;
    import com.gui.mainGui;

    public class main extends MovieClip {

        public function main() {
            mainGui();
        }
        
    }

However I keep getting:
1136: Incorrect number of arguments. Expected 1.

What argument is it expecting? I haven’t actually specified one on the main.as script. I have commented out all of the script on mainGui.as and still get the same error