Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects MAC OS Dock effect

  • MAC OS Dock effect

    Posted by Rick Sebeck on February 8, 2006 at 10:06 pm

    I am trying to recreate the OS dock effect of scale an position (just text though). I once created a script in Flash, but this is for video use, and to be honest, I have no idea where that flash script is!

    Anyway.. I am an intermediate AE user (not really played with action scripts) and was wondering if there is some script like way to accomplish this without had key framing all the layers.

    Again the effect would be a list of objects (text) that get “highlighted” one at a time down the list. It would “grow”. thus pushing the other items in the list accordingly.

    Thanks,
    Rick

    P.S. i also have motion if a behavioral solution is easier!

    Allison Kocar replied 14 years, 1 month ago 3 Members · 2 Replies
  • 2 Replies
  • Colin Braley

    February 8, 2006 at 10:50 pm

    Heres an expression for scale that should do the scale part for you:

    mouse_layer = thisComp.layer(“mouse layer”);//Mouse layer
    beginScale = 100;//Scale begins at this
    endScale = 250;//Scale ends at this
    beginDistance = 200;//Distance to begin magnifying in pixels
    endDistance = 0;//Distance to end magnifying in pixels
    //–Don’t modify below here
    dis = length(this.position, mouse_layer.position);
    val = ease(dis, beginDistance, endDistance, endScale, beginScale);
    [val, val]

    This question has been asked a few times, search the archives for it. Also, you say that you want to alter the position of these layers too? I could probably help you out if you provide more info about how the layers move. I use Windows so I don’t really remember exactly what the Mac Dock looks like.
    ~Colin

  • Allison Kocar

    March 27, 2012 at 6:11 pm

    This is really great- the only issue is that the layer closest to the null needs to both scale up and be in front of the other less scaled layers.

    could you create the same effect using z depth?

    thanks so much for your advice!

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