• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Extendscript timeRemap values changing after changing layer startTime

New Here ,
Oct 05, 2023 Oct 05, 2023

Copy link to clipboard

Copied

layer = app.project.activeItem.layer(1)
timeRemapProp = layer.property("ADBE Time Remapping");
timeRemapProp.removeKey(2)
tvalues = [0,1,1.5];
times = [0,1,6];
timeRemapProp.setValuesAtTimes(tvalues, times);

It set time correctly, but than i want to change startTime of layer:

layer.startTime = 10;

Everyting is fine

layer.startTime = 30;

After this second keyframe time changes to 0.5 second (should remain 1) and 3rd to 5.5second (should be 6)

https://youtu.be/k3-M94R7z7s

 

Any ideas why that happening?

 

 

Bug Unresolved
TOPICS
Scripting

Views

29

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation