error1136 problemo

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() {

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));


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.

Which line does the error come up ? Check the Star class if it takes any parameter.

the error comes up on the line that says:StarBg(); that calls the other function. How do I check to see if the Star Class takes any parameter? Oh and the Star class is the name of the movie clip that I linked to the AS file

It will be a bit hard to tell without looking at the code.