Forum Replies Created

  • Aniello Ferrone

    December 9, 2019 at 4:13 pm in reply to: If/else array problem

    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 perfectly

    Thank you so much
    Aniello

    r1 = 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

  • In 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

  • SOLVED:

    ‘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 place

    I 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 variables

    I 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

  • Aniello Ferrone

    September 25, 2019 at 3:32 pm in reply to: If / else – source text – Expression

    Wow, Thank you so much!

    Aniello Ferrone
    Viral Video Editor
    http://www.fanpage.it

  • Aniello Ferrone

    September 25, 2019 at 3:14 pm in reply to: If / else – source text – Expression

    I solved myself, like so
    Thank you so much

    if (thisComp.layer("Text").text.sourceText.length == 0){
    0;
    } else {
    100;
    };

    Aniello Ferrone
    Viral Video Editor
    http://www.fanpage.it

  • Aniello Ferrone

    May 27, 2018 at 10:13 pm in reply to: Auto center Text Layer

    Thank you so much my friend

    Aniello Ferrone
    Viral Video Editor
    http://www.fanpage.it

  • Hi, 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.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy