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»
  • http://efecttm.wordpress.com eFeCt

    Thank you for this post and tutorial !!!

  • sunil thapa

    nice tut ………thnx a lot………

  • Mike

    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.

  • http://www.golden-orb.net Frederik
    Author

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

    • Mike

      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.

  • mohamed

    Interesting !

  • valoos

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

  • sbta

    OMG really interesting && still really hard :)
    thanks anyway !