# Error 1136

**URL:** <https://forum.kirupa.com/t/error-1136/307961>\
**Category:** flash\
**Created:** [April 14, 2010, 7:35am UTC](https://forum.kirupa.com/t/error-1136/307961 "2010-04-14T07:35:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![WEich1213](https://avatars.discourse-cdn.com/v4/letter/w/ecb155/32.png) [@WEich1213](https://forum.kirupa.com/u/WEich1213)\
**Post date:** [April 14, 2010, 7:35am UTC](https://forum.kirupa.com/t/error-1136/307961/1 "2010-04-14T07:35:12Z")

</div>

I get Error 1136 :incorrect number of arguments, expected 1, for this code, and can’t figure out why:

public class SpaceWolf extends MovieClip {  
public function SpaceWolf() {  
StarBg();  
}  
}  
…

public function StarBg() {

var star:Star = new Star();  
for (var i:Number = 0; i \< 70; i++){  
star.x = (Math.floor(Math.random()\*650));  
star.y = (Math.floor(Math.random()\*600));

addChild(star);  
}  
}  
}

I’m kind of new to programming so It might be something basic. I don’t have any parameters or arguments in the function so I’m confused why I get that error. I’d appreciate any help from anyone, thanks.
