Skip to main content
bjorne53047875
Participant
June 8, 2015
Answered

loopOut() Cycling/ping pong expression driven effect

  • June 8, 2015
  • 2 replies
  • 23615 views

Hi!

I like to loop this expression so it ping pong back and fort thru the timeline.

Is it possible to combine these two expressions? If, what's the correct sythax?

effect("Radial Wipe")(1) and loopOut("pingpong")

This topic has been closed for replies.
Correct answer bjorne53047875

effect("Radial Wipe")(1);(time <= key(1).time) ? loopIn('pingpong') : loopOut('pingpong')

This worked!

2 replies

bjorne53047875
bjorne53047875AuthorCorrect answer
Participant
June 8, 2015

effect("Radial Wipe")(1);(time <= key(1).time) ? loopIn('pingpong') : loopOut('pingpong')

This worked!

Mylenium
Legend
June 8, 2015

You need to elaborate what exactly you want to do. loopOut() is applied directly to a property stream with keyframes, so there is no reference to another effect or property. It seems you want to achieve something differerent, but without more info it's really not clear what exactly.

Mylenium

bjorne53047875
Participant
June 8, 2015

Thanx!

To put it simple, guess it's not though ;-) I wan't to loop an expression driven effect, in this case "effect("Radial Wipe")(1)".

The keyframes are set for transition completion, 0-100%. But the problem is the effect is defined in as an expression in it self. So I don't know if it's possible to use the loopOut() expression when there's another expression defined already.

So the real question may be, how to combine two expressions, how's the synthax for it, I guess?