Hi all,
I need a timecode variable initialized with a short interval (about 1 frame). Initially, I tried
var tolerance = TimeCode(50);
for a 50ms interval. Unfortunately, this line results in a type mismatch error. Also using the string constructor
var tolerance = Timecode("00:00:00,01");
gives the same error. The only way I could make it work was using a system variable to initalize the variable, and then set it to the needed value, like:
var tolerance = Vegas.Cursor;
tolerance.FromString("00:00:00,01");
This works, but still, I think it is not the way it should be. Sorry if this is a trivial thing... but I couldn^t find out a direct way, what am I doing wrong?
Thanks in advance, Andy
I need a timecode variable initialized with a short interval (about 1 frame). Initially, I tried
var tolerance = TimeCode(50);
for a 50ms interval. Unfortunately, this line results in a type mismatch error. Also using the string constructor
var tolerance = Timecode("00:00:00,01");
gives the same error. The only way I could make it work was using a system variable to initalize the variable, and then set it to the needed value, like:
var tolerance = Vegas.Cursor;
tolerance.FromString("00:00:00,01");
This works, but still, I think it is not the way it should be. Sorry if this is a trivial thing... but I couldn^t find out a direct way, what am I doing wrong?
Thanks in advance, Andy