Forum Replies Created
-
Thank you Dan,
It doesn’t seems to fix it, I’m starting to think that there is something wrong with all that conditions, for example, this is working perfectlyThank you so much
Aniellor1 = comp("Rigo 1").layer("Text 01").text.sourceText;
r2 = comp("Rigo 2").layer("Text 01").text.sourceText;
r3 = comp("Rigo 3").layer("Text 01").text.sourceText;//Se -||
if ((r1 == 0) && (r2 != 0) && (r3 != 0)) {
[0,-137];
//Se --|
} else if ((r1 == 0) && (r2 == 0) && (r3 != 0)) {
[0,-30];
//Se ||-
} else if ((r1 != 0) && (r2 != 0) && (r3 == 0)) {
[0,-339];
//Se |--
} else if ((r1 != 0) && (r2 == 0) && (r3 == 0)) {
[0,-433];
//Se |||, -|-, |-|
} else { [0,-232]; }Aniello Ferrone
Viral Video Editor
http://www.fanpage.it -
Aniello Ferrone
October 10, 2019 at 3:31 pm in reply to: text alignment with expressions in Essential graphic templateIn the end, I dit it, looking at it slowly and deeply.
https://www.dropbox.com/s/sqgr3o1o7bdd08b/Text%20Alignment.mov?dl=0
A.
Aniello Ferrone
Viral Video Editor
http://www.fanpage.it -
Aniello Ferrone
October 10, 2019 at 11:31 am in reply to: Error: index 1 out of range for stream of dimension 1SOLVED:
‘Var s’ was wrong, i putted :
var s = thisComp.layer(“Controller”).effect(“Text 01 Font Size”)(“Slider”);
instead of
var s = effect(“Frame Size”)(“Point”);
I was distracted by the similar name ☺
Thanks
Aniello Ferrone
Viral Video Editor
http://www.fanpage.it -
Aniello Ferrone
October 9, 2019 at 11:21 am in reply to: Auto-resize text box -> Box doesn’t stay in placeI think this is the problem, but i can’t understand how to set it
var l= s.sourceRectAtTime().left ;
Aniello Ferrone
Viral Video Editor
http://www.fanpage.it -
Aniello Ferrone
September 30, 2019 at 4:10 pm in reply to: If/else + linear expression with variablesI dit it myself by the way, if you’re interested
r1 = comp("Rigo 1").layer("Text");
r2 = comp("Rigo 2").layer("Text");
r3 = comp("Rigo 3").layer("Text");
sum = (r1.text.sourceText.length?1:0) + (r2.text.sourceText.length?1:0) + (r3.text.sourceText.length?1:0);
slider = effect("Slider Control 2")("Slider");//effetto quando 2 righe sono piene
if(sum == 2){
linear(slider,1,3,640,115);
}
else {
// effetto quando una riga è piena
if(sum== 1){
linear(slider,1,3,704,48);
}
// effetto quando tutte le righe sono piene
else linear(slider,1,3,576,181);
}
Aniello Ferrone
Viral Video Editor
http://www.fanpage.it -
-
I solved myself, like so
Thank you so muchif (thisComp.layer("Text").text.sourceText.length == 0){
0;
} else {
100;
};Aniello Ferrone
Viral Video Editor
http://www.fanpage.it -
-
Aniello Ferrone
May 15, 2018 at 9:10 am in reply to: Animation starts to work only when another property reaches an established valueHi, Thank you so much for your help, you made me discover the linear expression, that as I’m seeing is a tremendously useful, but i don’t think that it will solve my problem.
I’ll try to explain myself better, becouse I think that something like the time expression could solve my problem, but tell me if I’m wrong:
As I told you I need to Highlight (fill with color) every text line, sequentialy, one by one. BUT I don’t want to use any keyframe in the composition to trigger each range animations. In other words, I want the range grows from 0 to 100 constantly in time (if the line contains 15 letters it will take more time than a line with 5 letters , for example). So when the first text line reach 100 (as value of the range), this event triggers the animation of the second line, and again when the second text line reach the 10 as value of the range, this event triggers the third animation.
I’m trying with the TIME expression, the only problem is that this kind of expression is linked to the time in composition, so no matter when the event happen, it will always be like the TIME expression started from the first frame of the composition, and the fill is already complite. I need that the constant grow of the range animation can start in any moment.
Thank you so much again, I wait for your answer
I think i’ll need something similar to the time expression, that is not linked at composition time.