Mervin James
Forum Replies Created
-
-
Mervin James
November 16, 2019 at 4:34 pm in reply to: Moving anchor point when rectangle is resizedIs anyone able to help with this please?
-
I’m actually looking to use slider controls because I’ve found that point control don’t work well with the Essential Graphics Panel and thats here Im heading with this project. Though I tried it with the point control but I’m getting some weird results. [Im such a beginner with expression so please bare with me]… What I did was I placed a point control on my rectangle layer and pasted the code you gave me onto it. The dimensions of my rectangle is 1480×300 so I ended up with this
S=content(1).content(1).size;
[value[0]*S[0]/1480,value[1]*S[1]/300]then on the anchor point of the rectangle I added
R = sourceRectAtTime();
S = effect(“Point Control”)(“Point”)[0];
L = effect(“Point Control”)(“Point”)[1];
[R.left-S,R.top+R.height/2+L];and on the positon
value+transform.anchorPointJust to illustrate what Im trying to do also…
The AE (2019) test file if you get some time and dont mind checking it out.
https://f1.creativecow.net/file/13878/13878_tooltipexample.zip -
Mervin James
November 7, 2019 at 12:28 am in reply to: Moving anchor point when rectangle is resizedNo problem I’m greatful for your help also. It’s all working now except for when I place the anchor point on the left or right using the codes from above, it will only follow the rectangle’s Width but will remain stable if the Height is changed. I’m guessing it has something to do with the
value+transform.anchorPoint? Anyway to fix it so it follows the height also? -
Thanks alot Julien it worked nicely and I could have really used those videos a few months ago so I will be checking out ya channel to see what other good stuff u got on there… Ne ways only other thing Id like to know is… If I want to reposition the anchor point say to a few other positions on the rectangle how would I do that e.g
I used this to get it to the center right side:
R = sourceRectAtTime();
[R.left+R.width,R.top+R.height/2];and this to kind of offset it using a slider (dunno if thats the best way to do it but it works)
R = sourceRectAtTime();
S = thisComp.layer(“Control”).effect(“Slider Control”)(“Slider”);
[R.left+R.width,R.top+R.height/2]+S;I’d like to know how to do it for the center left side and top of the rectangle please and thanks again.
-
Mervin James
November 4, 2019 at 10:40 pm in reply to: Moving anchor point when rectangle is resizedThanks for your replay Julian. I did try both ways and still isnt exactly what Im looking for. The first one the anchor point remains still which as a result the shape goes over it. Screenshot below. With your second solution the rectangle is being resized by the scale instead of the “size”.
Screenshot of Anchor Point position botton Centre
After Scaling
So I would like to go from this
To this (Anchor point needs to move with the size (in this case the height) of the rectangle.
Thanks and sorry about the images I just find it can be easier to explain with visuals.
-
Anyone has any idea how to get this done still struggling to figure out if this is possible in some way. Thanks
-
Mervin James
June 27, 2019 at 8:26 pm in reply to: Adding text with 2 different colors to the Essential Graphics PanelJust got a chance to try this. It’s working fine ????. Thanks alot for taking time out to respond Michael. Much appreciated. ????????
-
Mervin James
June 26, 2019 at 1:08 am in reply to: Adding text with 2 different colors to the Essential Graphics PanelThank you for your response. I will be trying this today.
-
Thanx for your response Tomas. Collapse transformation is definately the issue. I’ll head over to the adobe forums but still hoping some one else here can have a work around if possible. Anyone?







