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

How to initialize a Time object with expected seconds/ticks

Explorer ,
Jun 21, 2022 Jun 21, 2022

Copy link to clipboard

Copied

Hi,

 

So I want to run this addKey method, the method requires a time object, which can be initialized with

timeObject = new Time()

 

However, the timeObject above starts at the beginning of the clipitem (timeObject.seconds = 0). How can I create a time object that points to 3rd second of the clip?

 

Many thanks!

TOPICS
SDK

Views

125

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

correct answers 1 Correct answer

Adobe Employee , Jun 21, 2022 Jun 21, 2022
var myTime = new Time();
if (myTime){
     myTime.seconds = 3.0;
}

Votes

Translate

Translate
Adobe Employee ,
Jun 21, 2022 Jun 21, 2022

Copy link to clipboard

Copied

LATEST
var myTime = new Time();
if (myTime){
     myTime.seconds = 3.0;
}

Votes

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