# Another day, another error =\[

**URL:** <https://forum.kirupa.com/t/another-day-another-error/258429>\
**Category:** flash\
**Created:** [April 23, 2008, 9:12pm UTC](https://forum.kirupa.com/t/another-day-another-error/258429 "2008-04-23T21:12:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikomax](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nikomax/32/3664_2.png) [@nikomax](https://forum.kirupa.com/u/nikomax)\
**Post date:** [April 23, 2008, 9:12pm UTC](https://forum.kirupa.com/t/another-day-another-error/258429/1 "2008-04-23T21:12:26Z")

</div>

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.

```auto

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
