Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US :: FAQ
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE AFTER EFFECTS:HomeForumBasicsExpressionsTutorialsPodcastsAE TechniquesCreative Cloud DebateFAQ

Re: Incrementing position of a layer using Trapcode Sound Keys

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


james baronRe: Incrementing position of a layer using Trapcode Sound Keys
by on Jan 8, 2012 at 10:20:10 am

thanks for the replies...

Ok I tried using a while loop but am still stumped... I cant get the position to keep on incrementing

SK = thisComp.layer("Soundkeys").effect("Sound Keys")("Output 1").valueAtTime(time+0.1);
xPos = value[0] ;
yPos = value[1] ;
frame = Math.round(time / thisComp.frameDuration);

while (frame >= 0){
t = frame * thisComp.frameDuration;
if (SK > 80){
xPos = xPos+20;

}else {
xPos = xPos;
}
frame--
}

[xPos, yPos]


Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSFEATURESVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2014 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]