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
import classes.display.text.*;
var myTextStyle:textStyle = textStyle("Veranda", "#FF0000", 18);
and
classes.display.text.textStyle.as
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.
Does anyone see the reason I get this error?