Forum Replies Created

  • Jetcityj

    March 5, 2007 at 3:05 pm in reply to: Expression language to say “any layer”

    woah! thanks, this might take me a while to decipher, thanks for getting me started.

  • Jetcityj

    March 5, 2007 at 4:26 am in reply to: Expression language to say “any layer”

    well I am trying to write this in expression langauge:

    if any layer’s scale is greater than 100
    then move left if, any layer on the right is larger,
    if not, then move right if any layer on the left is larger

  • Jetcityj

    March 1, 2007 at 2:19 am in reply to: mimicking AppleDock with expressions

    this is a Frankenstein version of another expression I found on this forum.

    BaseSize = thisComp.layer(“Scale #s”).effect(“Base size”)(“Slider”)
    maxScale = thisComp.layer(“Scale #s”).effect(“Enlarge size”)(“Slider”)
    MaxDist = thisComp.layer(“Scale #s”).effect(“MaxDist”)(“Slider”)
    d = toWorld(anchorPoint) – thisComp.layer(“scaling Null”).toWorld([0,0]);
    distance=length(d);
    linear(distance, 0, MaxDist, [maxScale, maxScale], [BaseSize, BaseSize]);

    so the top 3 lines are just Expression Sliders so I quickly fine-tune certain variable amounts

    MaxDist=distance in pixels to begin scaling
    maxScale=largest percentage to scale item
    BaseSize=starting out size

    https://headsquared.com/temp/AppleDock_v01.mov

    I was working on a hi-bred of this expression and the one Mylenium offered up but nothing concrete yet…

    Thanks,
    JCJ

  • Jetcityj

    February 28, 2007 at 4:05 pm in reply to: mimicking AppleDock with expressions

    Thanks Mylenium,

    That is definitely on the right track but the icons seem to jump to their new positions instead of “sliding”. Any ideas on how to get the sliding factor?
    I am still very new to the expression coding so I will see if I can build off yours to get what I need. Off to Motionscript to start the learning process…

    Thanks again,
    JetcityJ

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