Forum Replies Created

  • Stefano Cieri

    December 30, 2008 at 5:33 pm in reply to: “for” cycle not working

    Hi Dan,
    thanks for replying that soon (and thanks for your MotionScript.com, which is my favourite resource to learn expressions and scripting). I’m not at home and I can’t check this right now, but you’re probably right.
    getItemIndex(name) is a function which reads all the items in the project and returns the index of the item called as the “name” variable. I used another “for” cycle within the function and probably I called “i” the variable there, too.
    I’ll check and let you know as soon as possible. In the meantime I would ask a couple of things more:
    1. is there any other way to retrieve a certain comp’s or item’s index, knowing its name, than cycling within the entire items’ collection?
    2. you said: “the value of i, which you haven’t delcared as a local variable”. How can I declare a variable as a local one?

    Sorry for being that noob.
    Tanks again,
    s t e

    itgoesgreen.org

    me.itgoesgreen.org

  • Stefano Cieri

    November 28, 2008 at 8:38 pm in reply to: Random text position with blur

    Hi Francesco,
    what you want to do can be achieved in several ways.
    The fastest and easiest is to turn on the motion blur, both for the text layer and in the composition options, that will blur the text, in consistence with the speed and direction of the momvements given by the wiggle.
    If you want to achieve specific results, instead, you could use expressions; for instance you can apply a blur effect to the text and link the blur amount, with an expression, to the position’s speed or velocity of the same level. This lets you control much more easily the type and amount of blur you want to achieve.
    Hope this answered your question.

    Best,
    Stefano

    itgoesgreen.org

    me.itgoesgreen.org

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