Expressions/Scripts/Presets

Search found 7 matches

by CodingAe
Thu Nov 16, 2017 3:39 pm
Forum: Expression Discussion
Topic: Convert Keyframe Values to Whole Numbers
Replies: 2
Views: 21

Re: Convert Keyframe Values to Whole Numbers

Before you "Convert Expression to Keyframes" in 2 array transform properties like position, anchor, or scale you can use this var x = Math.floor(value[0]); // Math.floor will round down the decimals to a whole number var y = Math.floor(value[1]); [x, y] For transform properties with no arr...
by CodingAe
Sat Nov 04, 2017 2:51 pm
Forum: Expression Discussion
Topic: Leap year calculation
Replies: 3
Views: 125

Re: Leap year calculation

No problem, I'm glad I was able to help out.
by CodingAe
Thu Nov 02, 2017 5:52 pm
Forum: Expression Discussion
Topic: Leap year calculation
Replies: 3
Views: 125

Re: Leap year calculation

By using the date object already program in Expression, it will automatically give you the leap year once you reach a year that has a leap year. var d = new Date(2016, 1); // new Date(Year, Month) You can pick any year and month you want to start with. Pick the previous month from the month you want...
by CodingAe
Tue Oct 31, 2017 8:45 pm
Forum: Expressions Tutorials
Topic: Youtube Channel for Learning Expression
Replies: 2
Views: 265

Re: Youtube Channel for Learning Expression

Thank you ckgtw,
I'm glad you was able to get something out of that video, I definitely will make more tutorials.
by CodingAe
Tue Oct 17, 2017 8:26 pm
Forum: Expression Discussion
Topic: Help setting the render duration
Replies: 2
Views: 391

Re: Help setting the render duration

You can change the speed a layer, but can't change the duration of a layer using Expression. You can change the duration using ExtendScript, so if you go to the ExtendScript part of the site somebody should be able to help you. Unfortunately, I can't help in that language because I'm still learning ...
by CodingAe
Tue Oct 17, 2017 6:08 pm
Forum: Expressions Tutorials
Topic: Easy things to do with expressions #3
Replies: 2
Views: 21355

Re: Easy things to do with expressions #3

I sometimes use value or the nothing method to use the EE shortcut, so I can pick a certain property or properties in a layer. 
by CodingAe
Wed Oct 11, 2017 4:39 pm
Forum: Expressions Tutorials
Topic: Youtube Channel for Learning Expression
Replies: 2
Views: 265

Youtube Channel for Learning Expression

Hello fellow Enhancers, I've started a Youtube channel for tutorial on expression and rigging. There will be tutorials on extendScript in the future. You can check out my channel here: https://www.youtube.com/channel/UCe77szX2n1WSKsGs-2gmbDw In this video I'd talked about data types. I hope you like...