# Error 1137

**URL:** <https://forum.kirupa.com/t/error-1137/227846>\
**Category:** flash\
**Created:** [June 3, 2007, 1:09am UTC](https://forum.kirupa.com/t/error-1137/227846 "2007-06-03T01:09:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Catalist](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/catalist/32/2148_2.png) [@Catalist](https://forum.kirupa.com/u/Catalist)\
**Post date:** [June 3, 2007, 1:09am UTC](https://forum.kirupa.com/t/error-1137/227846/1 "2007-06-03T01:09:49Z")

</div>

I continually get this error no matter what I do, I don’t know why I get it either.

Error #1137, incorrect number of arguments.

My code is simple

run.as

```auto

import classes.display.text.*;

var myTextStyle:textStyle = textStyle("Veranda", "#FF0000", 18);

```

and

classes.display.text.textStyle.as

```auto

package classes.display.text {
    
    public class textStyle {
        
        public function textStyle(f:String, c:String, s:Number):void {

        ...

```

With this code alone I get that error, and Adobe gives no help [here.](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/compilerErrors.html)

Does anyone see the reason I get this error?
