object constructor
Posted: August 14th, 2013, 6:32 am
Hi everybody,
I'm having trouble with object constructors inside expressions. AE crashs every time I try to use one. Is there an explanation?
just a simple example:
(well, I could use a simple array instead, but I'd like to understand why I can't use this method).
Thx
I'm having trouble with object constructors inside expressions. AE crashs every time I try to use one. Is there an explanation?
just a simple example:
Code: Select all
function CurveItem( A, B, C, D){
this.A = A;
this.B = B;
this.C = C;
this.D = D;
}
var theCurve = new CurveItem(a,b c d);
Thx