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

How to write expression in such case- 8

Enthusiast ,
Aug 26, 2024 Aug 26, 2024

Hi,

My comp is 4000x4000, 30 fps. at 12.26 time  my frame is 386.

so I created one light flickering animation with 3 frames, first and last color same, middle is another color. gap between them is 10 frames.

 

so I want the light  flickering loop animation to stop exactly at 12.26 (time) frame (386).

after some study I came to learn that  --- loopOutDuration(type = "cycle", duration = 0)--- this is the expression I have to use in such case. and in '0' I have to write the time I want the loop animation to stop. But if I put '12.26' in '0' flickering stops. nothing happens.

 

if '0' remains flickering going on till the end.

 

what am doing wrong? Please guide me. :'(

 

Screenshot_6.jpg

 

screen 6 g.gif

 

screen 6 gg.gif

 

 

TOPICS
Expressions , How to
561
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

Community Expert , Aug 26, 2024 Aug 26, 2024

Something like this should do what you want (I think):

endtime = 12 + framesToTime(26);
if (time < endtime)
  loopOut()
else
  valueAtTime(endtime)
Translate
Community Expert ,
Aug 26, 2024 Aug 26, 2024

Something like this should do what you want (I think):

endtime = 12 + framesToTime(26);
if (time < endtime)
  loopOut()
else
  valueAtTime(endtime)
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
Enthusiast ,
Aug 26, 2024 Aug 26, 2024
LATEST

😮 😮 😮 😮 😮 😮

 

I am sooo happy. Thank you so much. It stops there exactly there where I wanted it to be. Thank you. 😮

 

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