Expressions/Scripts/Presets

Moderators: Disciple, zlovatt

 
Loepzuiver
Topic Author
Posts: 1
Joined: Thu Apr 05, 2018 1:15 pm

Reference to frame in other comp.

Thu Apr 05, 2018 1:23 pm

Hi guys,

I find this difficult to explain, so I recorded my screen to get what I'm trying to solve.



So, if you would enter 'ARG' for position 1 in the "1_RACING_INPUT" comp, it would show the Argentinian flag, freezed on that frame.

Something like 

[color=#000000][size=120][font=monospace]textLayer = comp("1_RACING_INPUT").layer("01_country");
[/font][/size][/color]
str1 = thisLayer.name.split("flag")[1];str2 = textLayer.text.sourceText;str1 = str1.toUpperCase();str2 = str2.toUpperCase();
[color=#000000][size=120][font=monospace]
if "ARG" { goto time 00:01:16 in comp("flag") and pauze
[/font][/size][/color]
[color=#000000][size=120][font=monospace]if "BRA" { goto time etc etc[/font][/size][/color]

Is that doable?

Who is online

Users browsing this forum: No registered users and 2 guests