Hello!
I'm having some trouble with visual logic not keeping up with the 14 frame out animation (it works just fine when animating in).
I'm making a lower third where the background quad is scaled by the length of the text, both anchored on the right.


The In and Out animation is the TLF_BKG scaled x 0 to 100 keyframed each frame to match the provided curve and to hide the text there's a mask that has this visual logic.:

Like this:

The text position is also slightly animated with position x.
When taking the graphic on air the text is not visible outside the background but when animating out the mask seems to be one step behind the background.
Like this:
This is not visible in layout. I'm thinking the fix here is to script the position of the mask, is there any other way to do it?
I've tried tinkering with a script but can't find a way to get the BoundingBox.WidthScaled or getting the "simple" calculations to run. I'm sure there's lots missing in it.
I tried VL'ing the WidthScaled to a separate text object with something like this OnOnline:
dim scene as xpScene
dim bkg as xpBaseObject
dim mask as xpBaseObject
dim bredde as xpTextObject
Self.GetObjectByName("TLF_BKG", bkg)
Self.GetObjectByName("MASK_left", mask)
Self.GetTextObjectByName("Bredde", bredde)
mask.PosX = (bredde.Text)
Any help and pointers will be much appreciated!
Best regards,
Oda
------------------------------
Oda Skavlid
------------------------------