Xavier Gomez: Activity About Liked Popular Images
Xavier Gomez

Member Since:
October 12th 2011
322 Posts
100 posts
Script onDraw Button 'mouseup' not triggered
by Clifford Li 1 day ago
Did anyone try to onDraw a icon button, and that 'mouseup' event not been trigger In my case, I don't want any border added on my button, so I am trying to use onDraw function. here's my script: b.onD
Re: Script onDraw Button 'mouseup' not triggered
by Xavier Gomez 24 hours ago
You can use a ui element of type 'customView' (the constructor name is : Custom) myBtn = myContainer.add("customView"); or, within a resource string: res = "group{...,\ myBtn : Custom{type: 'cust
item arrange script
by Rainier Raydán 3 days ago
Hi! I'm trying to write a script that rearrange my items but I cant get it work... I have this: app.beginUndoGroup("undo"); var proj = app.project; function findPrecompFolder(){ for(var i=1;i
Re: item arrange script
by Xavier Gomez 3 days ago
It's a bit strange that the findPrecomps function calls moveToFolder(). One would expect that the findPrecomps function returns an array of precomps (your function returns nothing), and that the moveT
Advanced Time Expresion
by Augusto Keltika Junior 3 days ago
Hi there, I'm creating a countdown at 25fps and I'd like it to spin 360 with ease on Y axis every 19 frames, how would I go with that I tried clamp, math.sin and other time expressions on the forum bu
Re: Advanced Time Expresion
by Xavier Gomez 3 days ago
This should work: t0 = inPoint; period = 19; frames spinDur = 4; frames phase = 2; frames t = timeToFrames(time-t0)-phase; n = Math.floor(t period); t%=period; if (t<0) t+= period; n*360 + ease(t,
Apply a preset to a specific layer depending on drop down selection
by Matt Volp 2 weeks ago
So, I have a drop down box created by a pseudo effect plugin. It's options are: 1. None 2. Preset 1 3. Preset 2 I want to know whether it is possible, through the use of a switch statement, to apply a
Re: Apply a preset to a specific layer depending on drop down selection
by Xavier Gomez 2 weeks ago
It's not.
Circle Chart - Expression
by Guilherme Almeida 3 weeks ago
Hello guys, i'm currently working on a Chart made of 12 strokes. As you can see in this image in the first chart it has 12 strokes and in the second one it's just 2. I already have a slider( 1 to 12)
Re: Circle Chart - Expression
by Xavier Gomez 3 weeks ago
Edit: forgot to mention that in the above expression, indexMax and radiusMax would depend on your slider control, again through a linear expression.
Shape layer hierarchy confused
by Ilya Sire 4 weeks ago
Hello, I have a question about shape layer hierarchy expression as here how to get opacity from Group 2 Rectangle 1 Opactity Please help me Thank you thisProperty.propertyGroup(3)(1).transform.opacity
Re: Shape layer hierarchy confused
by Xavier Gomez 4 weeks ago
In : thisLayer.content("Group 2").content("Rectangle 1").transform.opacity; you "get down 6 times" to go from the Layer to the Opacity. (Layer -- Contents --- "Group 2" --- Contents ---- Rectangle 1 -
+1
problem linking gaussian bluriness to other layer's slider
by Steve Sierra 4 weeks ago
Hi, I am trying to link a layers gaussian blur bluriness to another layer's slider control via scripting. Here's my code : var curLayer = curComp.selectedLayers 0 ; var curName = curLayer.name; var co
Re: problem linking gaussian bluriness to other layer's slider
by Xavier Gomez 4 weeks ago
I messed up my previous post. "var idx1 = myFx1.name;" should actually be: var name1 = myFx1.name; Xavier
toWorld.valueAtTime
by ben rollason 8 years ago
Is there a workaround to get a toWorld.valueAtTime or toWorldVec.valueAtTime Expressions don't understand the above syntax.... but I'm thinking a workaround's going to be quite a long winded process o
Re: toWorld.valueAtTime
by Dan Ebberts 8 years ago
The layer space transforms all take time as an optional second parameter: toWorld(point,time) Dan
+3
Xavier Gomez liked this 6 months ago
Finding the edges of text and shape layers just got a lot easier
by Dan Ebberts 2 years ago
With the latest AE release (CC 2014.2) expressions now have a long-awaited feature that allows them to find the edges of text and shape layers without having to do the sampleImage() hack. It's sourceR
+3
Xavier Gomez liked this 2 years ago
Re: Finding the edges of text and shape layers just got a lot easier
by Tiago Cav 2 years ago
Thank you, Dan!
Remove all keyframes by script
by Xavier Gomez 4 years ago
Hello, is there a way to remove all keyframes on a given property other than using the removeKey() method I'm thinking about the timeVary stopwatch : from off to on it adds a keyframe (same as addKey(
Re: Remove all keyframes by script
by Mitch Mann 4 years ago
Maybe have the script select all keys on the property, then delete. You could call delete as a menu command. Then you wouldn't have to loop.
+1
Xavier Gomez liked this 4 years ago
easeIn/easeOut expression question.
by Darryl Torke 4 years ago
Is there anyway to speed up or slow down the amont of 'easing' in the 'easeIn' expressions I'd like to really increase the amount of easing. Almost a stall at the beginning.
Re: easeIn/easeOut expression question.
by Xavier Gomez 4 years ago
If what you are after is expressions and not graph editor, there is this script:http: aescripts.com ease-and-wizz . It has a good collection of ease functions other than the AE default ones. But i'm n
script loading a function from text file
by Xavier Gomez 5 years ago
Hello, i've got some small problem while writing a (UI)script. The user should be able to write a js function in the AE interface (whatever way, at the moment i'm using the expression box...) The scri
+1
Xavier Gomez liked this 4 years ago
Re: script loading a function from text file
by Dan Ebberts 5 years ago
My hunch is that you have to do the close() before you do the $.evalFile(). Dan
+1
Xavier Gomez liked this 4 years ago
Scripting: Add loopOut() Expression to a selectedLayer with a script?
by Brandon Smith 4 years ago
I am beginning to learn scripting, so I am starting off with some simple shortcut scripts. One that I am having a hard time trying to make is a script that will apply the loopOut() expression to the P
Re: Scripting: Add loopOut() Expression to a selectedLayer with a script?
by Xavier Gomez 4 years ago
Assuming that : 1- your script has already identified the layer (let's call it theLayer), 2- your script has a string variable (called say expr) that contains the expression text, you can go on like t
Sine wave on effect parameter?
by Patrick Murphy 4 years ago
Hi there, On a tight deadline and looking to put an expression on an effect parameter (specifically the turbulent displacement's evolution). I'm looking to have numbers bounce back and forth from 360
Re: Sine wave on effect parameter?
by Xavier Gomez 4 years ago
amplitude = 360; period = 2; refTime = inPoint; amplitude * Math.sin(2*Math.PI*(time-refTime) period); amplitude is the amplitude of oscillations, period is the duration of a cycle (in seconds), refT
Transform a 3D motion path
by Xavier Gomez 4 years ago
Hello, there are few old posts on that topic but i'd like to check for new advices. By transform a motion path i mean translate scale rotate, not arbitrary transformation. Basically a 3D-layer already
Re: Transform a 3D motion path
by Xavier Gomez 4 years ago
hmm, answer much appreciated!!! Glad that i asked. I was feeling uncomfortable with those axis manipulations so i'd almost never use them...(!) Thank you, Xavier (beside this, i still have the feeling
View Options, motion paths
by Brian Nishii 7 years ago
Does anybody know how to lock a view of a motion path while they work on other layers I have a moving camera following a null moving in Z space. I'd like to be able to see the motion path of the movin
Re: View Options, motion paths
by Xavier Gomez 4 years ago
That would be super helpful, and very easy to implement (a small icon to click to enable motion path view even when the layer is deselected).
Strange error - SetOutputWorld called with a world of the wrong size
by Michael Garske 4 years ago
There are a couple of posts about this error but no information on what it means. Has anyone ever encountered this or know how to get rid of it Strange thing is it only happens occasionally most of th
Re: Strange error - SetOutputWorld called with a world of the wrong size
by Xavier Gomez 4 years ago
Looks like a plugin error, i bet you don't encounter this with only buildt-in AE tools. Maybe you have a parameter set that the plugin developer hasnt thought of. Just trying to help :)
CPU usage in a script process
by Xavier Gomez 5 years ago
When i run a .jsx script in AE my CPUs are very much underused (only 2 out of 8, and not even at full load) and i'm wondering if that's a normal feature. It really feels like a big waste, only 12% cpu
Load expression into script from a file
by Nick Leigh 6 years ago
Is there a way I can load an expression into a script from a file The reason I ask is because I have an expression that is about 150 lines of code and if I ever needed to make changes to it would be a
Re: Load expression into script from a file
by Nick Leigh 6 years ago
Dan, Yes that worked for me know as it is now putting the file contents in the sourceText but now my script ends as soon as that happens. It's almost like it has a return or exit. It works perfect up
+1
Xavier Gomez liked this 6 years ago
CC Cylinder and Camera
by Xavier Gomez 6 years ago
Hello, I'm having problems using CC Cylinder with a Camera. I know it's been an issue: http: forums.adobe.com thread 397649 but i'd like to know if this has been corrected in newer versions (I'm using
+1
Xavier Gomez liked this 6 years ago
Re: CC Cylinder and Camera
by Xavier Gomez 6 years ago
Thank you for the idea, i've looked through the net, freeform looks really nice, but for CS3 it is a third-party pluggin which i dont have,... I'll find my way. Thank you.
Bouncing movement
by Esteban Duperly 10 years ago
Hi! I've been trying to create a bouncing movement in AE. I tryed with a script I found in a folder named "bouncingBallSimulation", run it from inside of AE but didn't work. I need to animate a seed
Re: Bouncing movement
by Dan Ebberts 6 years ago
true is just the JavaScript boolean literal constant. So while(true) says "execute this loop forever". Encountering the break statement says "I was just kidding about the forever business, stop execut
+1
Xavier Gomez liked this 6 years ago
© 2017 CreativeCOW.net All Rights Reserved
[TOP]