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

set start time of sequence

Explorer ,
Nov 20, 2015 Nov 20, 2015

Hello,

Is there any way to set the start time of a sequence?

thanks,

Kelly

TOPICS
SDK
910
Translate
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

correct answers 1 Correct answer

Adobe Employee , Nov 23, 2015 Nov 23, 2015

Sure; change the sequence's zeroPoint.

var startTimeOffset  = activeSequence.zeroPoint;

Translate
Adobe Employee ,
Nov 23, 2015 Nov 23, 2015

Sure; change the sequence's zeroPoint.

var startTimeOffset  = activeSequence.zeroPoint;

Translate
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
Explorer ,
Nov 23, 2015 Nov 23, 2015

Hey Bruce, thanks for the reply.

Unfortunately, I'm still unsure how to apply this.

I don't see zeroPoint in the Data Browser. 

Maybe more context is needed.  Say I want to set the start time of the active sequence to 00;59;50;00

thanks so much for you help,

Kelly

Translate
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
Adobe Employee ,
Nov 23, 2015 Nov 23, 2015

var seq = app.project.activeSequence;

if (seq){

  var newStartTime = seq.end - seq.timebase;

  seq.setZeroPoint(newStartTime);

}

setZeroPoint takes a time in ticks; 254016000000 ticks per second.

Translate
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
Explorer ,
Nov 23, 2015 Nov 23, 2015
LATEST

Success.  Thanks so much.

Translate
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