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

Essential Graphics bug when using the same comp multiple times

Explorer ,
Jan 16, 2025 Jan 16, 2025

Copy link to clipboard

Copied

I have a problem with the essential graphics function when the same comp is used for multiple times in my project (kind of the point of the whole function :-))

 

I have made a headline comp that splits a string and animates each line.

Screenshot 2025-01-16 at 14.58.37.png

This comp recives but also provides info to its parent like the width and height of the text that is show.

Screenshot 2025-01-16 at 14.55.24.png

In the folder Work Comps you can see the problem:

 

Bug when using same headline comp 2x

Bug when using same headline comp 2x (0-00-03-12).png

The bottom text is using its own height for the position. The correct postion is shown in the transform property but this is not the postion seen in the in the comp.

Screenshot 2025-01-16 at 15.15.24.png

 

Here you can see the height used is its own

Here you can see the height used is the sub (0-00-01-18).png

When both comps are set the same you can see its using its own height and not the height of the subline above.

 

This works with 2 uniqe but idential headline comps

This works with 2 uniqe but idential headline comps (0-00-02-08).png

This is the desired result but it only works when the headline and subline are 2 unique comps in the project. They are 100% identical just duplicated.

 

I have attached the project and the script file "textFunctions.txt" that needs to be renamed to .jsx as this file type cannot be uploaded here.

 

I have also tested a version without the jsx code and just inline expressions. This does not fix the problem.

 

If anyone has any ideas on how to fix this it would be appreciated.

 

Thanks

 

Bug Unresolved
TOPICS
Scripting , Troubleshooting

Views

39

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
no replies

Have something to add?

Join the conversation