• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How can I align objects to a fixed object?

Engaged ,
Dec 19, 2023 Dec 19, 2023

Copy link to clipboard

Copied

I'd like to center align a text symbol to an existing circle symbol.

But whenever I do, the circle symbol moves but not the text symbol:

Align.png

 

How can I designate the text symbol to align to the circle symbol and not vice versa?

TOPICS
Product issue

Views

680

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 19, 2023 Dec 19, 2023

Copy link to clipboard

Copied

manually move the text, then align

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Dec 19, 2023 Dec 19, 2023

Copy link to clipboard

Copied

Where should I move it to? It's already at almost the right place.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 19, 2023 Dec 19, 2023

Copy link to clipboard

Copied

move it farther right than you want.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Dec 19, 2023 Dec 19, 2023

Copy link to clipboard

Copied

Didn't work. The circle is still moving:

Align.png

 

The circle symbol is supposed not to move.

g

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 19, 2023 Dec 19, 2023

Copy link to clipboard

Copied

yes, it will but you can then determine how much the circle moved, select both and move them both back by that amount.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 19, 2023 Dec 19, 2023

Copy link to clipboard

Copied

It's because the text field has to be smaller than the circle.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 19, 2023 Dec 19, 2023

Copy link to clipboard

Copied

Hi.

 

Animate will keep the larger one fixed.

 

So you have to either enlarge or reduce one of them.

 

Regards,

JC

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Dec 19, 2023 Dec 19, 2023

Copy link to clipboard

Copied

Are you sure? In above example (2nd image), both objects moved.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 19, 2023 Dec 19, 2023

Copy link to clipboard

Copied

ok.  (i was answering from my phone and am now at my computer.)

 

select your circle and note its x property, say 100.

 

select both and center.

 

select the circle and note its x property, say 158.8, and how much it moved (ie, 58.8)

 

now select both and note the x property, say 110.55. 

 

change that to 110.55-58.8 = 51.75

 

recheck your circle's x property. 

 

it should be back at 100 and the text should be centered relative to the circle

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 21, 2023 Dec 21, 2023

Copy link to clipboard

Copied

This is a simple but laborious thing, and I’ll share my method.
First you need to determine the reference object, such as the circular symbol you mentioned,
Open the Transform panel and select the circle to enlarge it. In order for other elements to be centered around the circle, the reference object must be wider than the other elements.
Select the text and circle to align them horizontally, then reset the zoom (or return them to their original size).
Now you have a rounded shape with centered text

001.png 

2112.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Dec 31, 2023 Dec 31, 2023

Copy link to clipboard

Copied

Very odd … Didn't any user yet complain about this nonesense align feature of Animate?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Dec 31, 2023 Dec 31, 2023

Copy link to clipboard

Copied

Personally, I don't think that there is anything to complain about. The current implementation is logical, delivers consistent results and is bug free.

 

I'd be very curious to hear your suggestions how the UX can be improved.

 

Nick - Character Designer and Animator, Flash user since 1998
Member of the Flanimate Power Tools team - extensions for character animation

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 10, 2024 Jan 10, 2024

Copy link to clipboard

Copied

Please pardon my late reply.

 

Here's an implementation that's the best and most simple and fexible solution I've ever seen so far: It aligns to the bounding box of the last multi-selected object. It's up to you which object you determine as the one to be aligned to:

 

Animate alignment improvement proposal.gif

 

This implementation was developed by Corel in their CorelDRAW suite back in 1988.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Jan 10, 2024 Jan 10, 2024

Copy link to clipboard

Copied

@KlausKi 

 

I like that!

From a user's point of view it's not bad at all.

 

If it ever gets implemented, I'd rather have it as an optional alternative to the current behaviour, which can be enabled or disabled, like the 'Align to stage' checkbox - 'Keep last-clicked in place'.

 

Nick - Character Designer and Animator, Flash user since 1998
Member of the Flanimate Power Tools team - extensions for character animation

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 31, 2023 Dec 31, 2023

Copy link to clipboard

Copied

i don't recall anyone complaining, but if you want to report bugs or ideas or wishes to adobe: for applicable apps, use https://helpx.adobe.com/ie/x-productkb/global/how-to-user-voice.html

 

for createive cloud assets:

bugs, https://community.adobe.com/t5/adobe-collaboration-experiences/ct-p/ct-adobe-collaboration-experienc...

 

requests, https://community.adobe.com/t5/adobe-collaboration-experiences/ct-p/ct-adobe-collaboration-experienc...

 

for others, use https://www.adobe.com/products/wishform.html

 

if neither show a place to report the issue, just leave it here. that's the best you can do.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 08, 2024 Nov 08, 2024

Copy link to clipboard

Copied

I asked ChatGPT how to do this. It replied that I should select the object I didn’t want to move and click the "anchor" button in the Alignment tool tab, then select the other objects and click the desired alignment. Obviously, it made that up—this button doesn’t exist. But it would be a great idea!

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 08, 2024 Nov 08, 2024

Copy link to clipboard

Copied

it's still easy to align to whatever object you want.  eg, if you want to top and left align object b, c and d to object a, move b,c and d below and to the4 right of a, then select them all and align left and top.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 14, 2024 Nov 14, 2024

Copy link to clipboard

Copied

Hey, I recently used this alignment function. After thinking about it, I wrote an auxiliary script. Put the following code into a file with the suffix name .jsfl and place it in the following path
C:\Users\<user name>\AppData\Roaming\Adobe\Adobe Animate <version number>\en_US(language)\Configuration\Commands\
This way you can use it in the command window.
Alignment.jsfl

var dom = fl.getDocumentDOM();
var selection = dom.selection;
if (selection.length < 2) {
	alert("Please select at least two objects!");
} else {
	// Sort the selected elements from left to right, with the leftmost element as the standard
	selection.sort(function (a, b) {
		return a.left - b.left;
	});
	// Record the x position of the leftmost element
	var leftmostX = selection[0].x;
	dom.align('horizontal center', false);
	// Assign the X position of the leftmost element to other elements
	for (var i = 0; i < selection.length; i++) {
		if (selection[i].x !== undefined) {
			selection[i].x = leftmostX;
		}
	}
}

The script has some usage conditions,
1. The object to be fixed must be ensured to be at the leftmost of all elements, that is, other elements must be to the right of the fixed object,
2. It can only be used for symbols with the registration point in the middle, otherwise it will not work correctly,

1.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Nov 14, 2024 Nov 14, 2024

Copy link to clipboard

Copied

Nice!

 

By chance, there is no property for retrieving the most recently selected object?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 14, 2024 Nov 14, 2024

Copy link to clipboard

Copied

LATEST

I just tried it again. If the operation objects are all groups, they can also be perfectly aligned.
You only need to ensure that the fixed object as a symbol is on the far left and the registration point is centered. The properties of other elements do not have to force the symbol type.
This function needs to be improved, because we can't see what the selected object is after selecting it. It can be used like this for now, and it needs further improvement.
It would be better if someone can add it, so let's solve this problem together.

These are the available states:

1.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines