Graphics

 View Only
  • 1.  Stopping a Text Line

    Posted 08-23-2018 20:53

    There are a few things I am looking for help with here. We are doing a match game promo this season. I already have answer box setup to move with the question box (but still need some tweaking). There are two things I can not quite figure out. 1. I would like the "Blank" line to stay as long as the answer text. Secondly I would like both the blank and answer layers to stop at the end of the text box of the graphic regardless of how long the question is. I have both layers set to auto squeeze currently. Unfortunately I have different staff members of different knowledge levels of Xpression operating from game to game so my hope is that I can have the operator populate the question in our excel sheet and have some scripting or visual logic setup to take of the rest.



  • 2.  RE: Stopping a Text Line

    Posted 08-27-2018 17:12

    Hello jbins,

    this can be done without scripting or Visual Logic :

    • set your "Blank Line" object as a child of your text object. Adjust his X-pivot, Width (and/or X-scale) so it match the position and size of the current text.
    • on your text object : set Auto Scale enabled , with mode "width only"




    Now If you change the text, the "blank line" should follow.

    Then enable "Auto Squeeze" on your text object and define a max. width. to make it stop growing


    See project sample attached : TYT_TextSqueeze_Underlined.zip


    #XPression


  • 3.  RE: Stopping a Text Line

    Posted 08-27-2018 19:16
    I like to over complicate simple things! Thank you for this @amignon
    #XPression