setting negative inpoint values

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
knubile
Posts: 8
Joined: May 18th, 2006, 10:25 pm

I have no problem setting the inpoint of a layer to a negative value manually. When I try to do it with the script the value is simply set to zero instead.
Is there a way to set an inpoint value to a negative number besides just setting layer.inPoint?

I'm using CS2. Can anybody quickly trying this out in CS3 please and let me know if this has been addressed?
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

it would help if you posted your code so we can see how you are trying to set the inPoint.
knubile
Posts: 8
Joined: May 18th, 2006, 10:25 pm

I narrowed it down to a single line.

once I have the layer object,

layer.inPoint = -2;

That should set the inPoint of the layer to -2 seconds. The resulting inPoint however is 0.
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

try this instead:

layer.startTime = -2;

-Lloyd
Post Reply