Forum Replies Created

  • Randy Davis

    February 17, 2011 at 9:28 pm in reply to: position expression for a text range selector

    Thanks Dan,
    that works great. I had to subtract some pixels on the (gotit) and else L.transform.position lines to get the cursor to start and end in the right spots, but after that it works like a charm! Thank you, thank you! that will save me a ton of time not having to keyframe the other four words I need. You my friend are awesome.

    Sincerely,
    Randy D.

    L = thisComp.layer("auto repair shop");
    gotIt = false;
    for (i = thisComp.width; i >= 0; i--){
    temp = L.sampleImage([i,thisComp.height/2],[0.5,thisComp.height/2],true,time);
    if (temp[3] > 0){
    gotIt = true;
    break;
    }
    }
    if (gotIt)
    [i + width/2,L.transform.position[1]]-635;
    else
    L.transform.position + [width/2,0]-660;

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