Forum Replies Created

Page 1052 of 1081
  • Dan Ebberts

    October 5, 2005 at 9:30 pm in reply to: Help with expression tied to Audio Keyframes

    Your minPosition and maxPosition variables need to be two dimensions, like this:

    minPosition = [0,0];
    maxPosition = [100,100];

    They could be any x and y values, they just need to be in the brackets.

    Dan

  • Dan Ebberts

    October 3, 2005 at 8:00 pm in reply to: also expression help

    It should look something like this:

    value – rotation

    Dan

  • Dan Ebberts

    October 3, 2005 at 8:00 pm in reply to: also expression help

    It should look something like this:

    value – rotation

    Dan

  • Dan Ebberts

    October 3, 2005 at 1:58 pm in reply to: Ripples from an audio file.

    It seems like an expression like this should do the trick:

    audio = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    linear(audio,0,30,0,0.7)

    Dan

  • Dan Ebberts

    October 3, 2005 at 1:58 pm in reply to: Ripples from an audio file.

    It seems like an expression like this should do the trick:

    audio = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    linear(audio,0,30,0,0.7)

    Dan

  • Dan Ebberts

    October 2, 2005 at 5:49 pm in reply to: Drop Footage at Time Zero

    You have to edit the preferences file. In [“Misc Section”]

    Change:

    “Drop Footage At Time Zero” = 00

    To:

    “Drop Footage At Time Zero” = 01

    Dan

  • Dan Ebberts

    September 30, 2005 at 10:17 pm in reply to: One More Scripting…

    This is probably not the most efficient method, but it should work for what you’re doing:

    var myCityName,myCrossHairLoc;
    var cityNames = new Array(“Atlanta”,”Boston”,”New York”,”Washington”); //etc.
    var crosshairLoc = new Array([100,100],[200,200],[300,300],[400,400]);
    for (i = 0; i < cityNames.length; i++){ if (myCityName == cityNames[i]){ myCrossHairLoc = crossHairLoc[i]; break; } } I haven't tested this - I'm just typing off the top of my head, but it should give you the idea. Dan

  • Dan Ebberts

    September 30, 2005 at 9:21 pm in reply to: Expression Won’t Render

    Yeah, it looks like you made some changes to the expression that cause start to be undefined near the beginning of the comp. If you just want random movement in the x direction, you could try this one:

    segMin = .3; //minimum segment duration
    segMax = .7; //maximum segment duration
    minVal = 0;
    maxVal = thisComp.width;

    end = 0;
    j = 0;
    while ( time >= end){
    j += 1;
    seedRandom(j,true);
    start = end;
    end += random(segMin,segMax);
    }
    endVal = random(minVal,maxVal);
    seedRandom(j-1,true);
    dummy=random(); //this is a throw-away value
    startVal = random(minVal,maxVal);
    y = position[1];
    ease(time,start,end,[startVal,y],[endVal,y])

    Dan

  • Dan Ebberts

    September 30, 2005 at 9:21 pm in reply to: Expression Won’t Render

    Yeah, it looks like you made some changes to the expression that cause start to be undefined near the beginning of the comp. If you just want random movement in the x direction, you could try this one:

    segMin = .3; //minimum segment duration
    segMax = .7; //maximum segment duration
    minVal = 0;
    maxVal = thisComp.width;

    end = 0;
    j = 0;
    while ( time >= end){
    j += 1;
    seedRandom(j,true);
    start = end;
    end += random(segMin,segMax);
    }
    endVal = random(minVal,maxVal);
    seedRandom(j-1,true);
    dummy=random(); //this is a throw-away value
    startVal = random(minVal,maxVal);
    y = position[1];
    ease(time,start,end,[startVal,y],[endVal,y])

    Dan

  • Dan Ebberts

    September 30, 2005 at 8:10 pm in reply to: Expression Won’t Render

    What do the error messages say?

    Dan

Page 1052 of 1081

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