Hi, lately have a lot of questions
so this is next
I’m making my class
Here is the code
[AS]
package zPlayerClasses{
public class vid {
public static  var vidHeight:Number;
public static  var vidWidth:Number;
public static  var vidDuration:Number;
    public function vid(Void):void {
        trace("vid class instance");
    }
    public function traceVars(Void):void {
        trace("video duration: " + vidDuration);
        trace("video width: " + vidWidth);
        trace("video height: " + vidHeight);
    }
}
}
[/AS]
But have problem, so I trying to start function **traceVars(); **but no success so far.
A trying to create an instance of class vid,but got error
[AS]
var myTest:zPlayerClasses.vid = new zPlayerClasses.vid();
[/AS]
error:
1136: Incorrect number of arguments.
and even zPlayerClasses.vid.traceVars(); get error message
error:
1061: Call to a possibly undefined method traceVars through a reference with static type Class.
what to do… share some tips