Forum Replies Created

Page 23 of 65
  • Andrei Popa

    September 18, 2020 at 5:24 am in reply to: Mute Audio at Markers Expression

    I think you can use the same expressions, just replace 100 and 0 with 0,-192

    m=thisComp.marker;
    n = 0;
    if (m.numKeys > 0){
    n = m.nearestKey(time).index;
    }
    if (n > 0){
    t = time - m.key(n).time;
    if (Math.abs(t) <= 5*thisComp.frameDuration) 0 else -192
    }else
    value
    if (marker.numKeys > 0){
    m = marker.nearestKey(time);
    t = m.time;
    if (m.index%2){
    ease(time,t,t+2*thisComp.frameDuration,0,-192)
    }else{
    ease(time,t,t+3*thisComp.frameDuration,-192,0)
    }
    }else{
    value
    }
  • Andrei Popa

    September 17, 2020 at 6:12 am in reply to: Control AV layer Blend Modes from scriptUI

    app.project.activeItem.selectedLayers[0].blendingMode = BlendingMode.ADD;

    List of available values. You can use either the text OR the number.

    BlendingMode.ADD – 5220

    BlendingMode.ALPHA_ADD – 5244

    BlendingMode.CLASSIC_COLOR_BURN – 5219

    BlendingMode.CLASSIC_COLOR_DODGE – 5225

    BlendingMode.CLASSIC_DIFFERENCE – 5234

    BlendingMode.COLOR – 5238

    BlendingMode.COLOR_BURN – 5218

    BlendingMode.COLOR_DODGE – 5224

    BlendingMode.DANCING_DISSOLVE – 5214

    BlendingMode.DARKEN – 5215

    BlendingMode.DARKER_COLOR – 5247

    BlendingMode.DIFFERENCE – 5233

    BlendingMode.DISSOLVE – 5213

    BlendingMode.DIVIDE – 5249

    BlendingMode.EXCLUSION – 5235

    BlendingMode.HARD_LIGHT – 5228

    BlendingMode.HARD_MIX – 5232

    BlendingMode.HUE – 5236

    BlendingMode.LIGHTEN – 5221

    BlendingMode.LIGHTER_COLOR – 5246

    BlendingMode.LINEAR_BURN – 5217

    BlendingMode.LINEAR_DODGE – 5223

    BlendingMode.LINEAR_LIGHT – 5229

    BlendingMode.LUMINESCENT_PREMUL – 5245

    BlendingMode.LUMINOSITY – 5239

    BlendingMode.MULTIPLY – 5216

    BlendingMode.NORMAL – 5212

    BlendingMode.OVERLAY – 5226

    BlendingMode.PIN_LIGHT – 5231

    BlendingMode.SATURATION – 5237

    BlendingMode.SCREEN – 5222

    BlendingMode.SUBTRACT – 5248

    BlendingMode.SILHOUETE_ALPHA – 5242

    BlendingMode.SILHOUETTE_LUMA – 5243

    BlendingMode.STENCIL_ALPHA – 5240

    BlendingMode.SOFT_LIGHT – 5227

    BlendingMode.STENCIL_LUMA – 5241

    BlendingMode.SUBTRACT – 5248

    BlendingMode.VIVID_LIGHT – 5230

    By now you may think I am a wizard :D. Actually, I use this document a lot. Just go in, search blending mode. I, however, came up with the number values with my own method. So I am half a wizard.

    Take care!

  • I got the correct answer from this post

    https://community.adobe.com/t5/after-effects/sourcerectattime-and-text-animation-unsync/td-p/10751331?page=1

    But when I tried to post the answer here I received a restriction because the forum thought it was spam.

    Apparently, sourceRectAtTime() is not in sync with comp time. I used sourceTime() instead of time. And when referring to another layer’s sourceRectAtTime(), you have to address that layer’s sourceTime().

    Like this. You can put any number you need as the sourceTime() argument. Now if I change the placement of my layer in the time line, the expression updates to the new time.

    
    
    L = thisComp.layer("Test");
    R = L.sourceRectAtTime(L.sourceTime(inPoint),false);

    Thank you both for answering.

  • Andrei Popa

    September 14, 2020 at 6:17 am in reply to: Link shapes with expressions

    You increase the space by moving the shapes up and down? Because if you do this, things are not very complicated.

    But if you move them left and right and the circle must stay in center and grow as the space gets bigger, thing get a lot more complicated.

  • Andrei Popa

    September 12, 2020 at 10:09 am in reply to: thisLayer.index For Parameter

    I tried to link my layer size to another size from another comp like this

    ReadScale=comp("Comp 1").layer(index).transform.scale[0]
    [ReadScale,ReadScale]

    It did not work, but the 2nd row was the problem. I tried adding a new array and setting its value to [ReadScale,ReadScale] and it worked. Maybe this is your problem?

    ReadScale=comp("Comp 1").layer(index).transform.scale[0]
    x = [ReadScale,ReadScale];
    x
  • Andrei Popa

    September 11, 2020 at 12:03 pm in reply to: Expression for start time and duration

    I think you should use this expression for the “Start” of the typewriter effect. You can link dur and timeToStart to your sliders

    timeToStart = 2;

    dur = 2;

    linear(time,timeToStart, timeToStart+dur,0,100)

  • Andrei Popa

    August 25, 2020 at 3:33 pm in reply to: Using Expressions to get automate animations

    This is a very nice introductory video for master properties and how to use them.

    https://www.youtube.com/watch?v=Wz_YM0l6AFo

    Andrei
    My Envato portfolio.

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

  • Andrei Popa

    August 25, 2020 at 3:31 pm in reply to: an expression to animate x position of a text layer

    I hoped for an easier solution for some curved paths.

    Andrei
    My Envato portfolio.

  • Andrei Popa

    August 24, 2020 at 2:58 pm in reply to: an expression to animate x position of a text layer

    Hey Filip, that’s a very nice expression.
    Just curious, do you think that could be made to work with multiple shapes and only a trim paths that completes them individually?

    Andrei
    My Envato portfolio.

  • Andrei Popa

    August 20, 2020 at 3:01 pm in reply to: Dynamic Type Maintaining Distances

    I don’t know if this fits perfectly with your project, but something like this on every Headline scale


    w1 = thisComp.layer("HEADLINE_01").width;
    w2 = thisComp.layer("HEADLINE_02").width;
    w3 = thisComp.layer("HEADLINE_03").width;
    w4 = thisComp.layer("HEADLINE_04").width;
    maxWidth = Math.max(w1,w2,w3,w4);
    s = Math.min((100 * 900) / maxWidth, 100);
    [s, s];

    Andrei
    My Envato portfolio.

Page 23 of 65

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