i asked for help on this a while ago and no one could figure out the problem and they kept ignoring the subject and ranting on about random shit, so i decided to ask again, in my player class it reads this
public class Player extends MovieClip
{
public function Player(X:Number,Y:Number)
{
// constructor code
x = X
y = Y
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDown);
stage.addEventListener(KeyboardEvent.KEY_UP, keyUp);
}
}
and in the main doc class it makes a new player like so
private var _player:Player = new Player(400,300)
and then i get this error saying
C:\Users\Casey\Dropbox\IDEProjects\mp201201\src\Main.as, Line 13 1136: Incorrect number of arguments. Expected 0.
this only happens when im using the flash IDE, i never get the error when im just using flashdevelop alone.