Introduction To Writing Scripts Day 2 – Expressions

Introduction To Writing Scripts Day 2 – Expressions

Tutorial Details
  • Requirements: After Effects and Particular for visual aid.
  • Difficulty: Advanced
  • Run Time: 29:38 min
Download Source Files

Final Product What You'll Be Creating

This entry is part 2 of 5 in the series Introduction to Writing Scripts

This is the second tutorial on the road to generating script files for After Effects. I read the comments from Part 1 stating that those are expressions, not actual Javascripts. I figured, to learn what Javascript does from scratch, you have to understand expressions first, because you can immediately see what the changes do. There will be one more tutorial on placing layers with expressions, then we’ll move on to actual scripts. In this tutorial you will learn how for-loops can help analyzing several frames in order to customize effects.


Tutorial

Download Tutorial .flv

File size 109MB

The Whole Series

Series Navigation«Introduction To Writing Scripts Day 1 – ExpressionsIntroduction To Writing Scripts Day 3 – Javascript»
Add Comment

Discussion 7 Comments

  1. eFeCt says:

    Thank you for this post and tutorial !!!

  2. sunil thapa says:

    nice tut ………thnx a lot………

  3. Mike says:

    Thanks for the tutorial.

    One question…at around 6:40, you are discussing the linear interpolation and created a variable “val.” However, you never actually used it. Did you mean to change the array below it from [temp, temp] to [val, val] to call those modified values to be used? Just making sure I didn’t miss something.

  4. Frederik says:
    Author

    @Mike
    You’re correct, that should have been [val, val]. I guess it escaped me since it worked anyways.
    good catch.
    Cheers

    • Mike says:

      thanks. I play with expressions a little myself. Speaking of that, I am attempting to write a script to effectively duplicate a selected or group of selected layers and link all possible keyable parameters to the original layer. I have worked through pieces of the script but cant put it all together. Any way you could help? I think it is pretty simple problem, but for the life of me, I cant figure out where.

      anyway, thanks for the tutorial. I always enjoy learning new tricks.

  5. mohamed says:

    Interesting !

  6. valoos says:

    Very nice tutorial, but still nothing about AE Script. :(
    It’s very very long introduction to Scripting ;)

Add a Comment

To add a code snippet to your comment, please wrap your code like so: <pre name="code" class="html">YOUR CODE</pre>. You can replace the class name with "js," "css," "sql," or "php." If there are any "<" or ">" within your code, please search and replace them with: &lt; and &gt; respectively.