Forum Replies Created

Page 3 of 4
  • Vasyl Iskovych

    July 9, 2020 at 5:10 pm in reply to: reading text from a file

    Now, the text reaches a certain width, and begins to decrease.
    I wanted to make it so that the text reached the set width, and wrap on the second line.
    And it began to decrease when both lines reached this width.

  • Vasyl Iskovych

    July 9, 2020 at 5:06 pm in reply to: reading text from a file

    I can not use sourceRectAtTime () because the text jumps up and down, depending on the characters that are entered.
    And the position of the text, which should be located on one line – will be different, depending on the characters.
    I wanted to make sure that the text did not go beyond certain limits horizontally.
    I did this with a snap to null.
    But I would like to add the ability to automatically wrap text on a new line and shift the text up after a new line appears.
    I thought I would do this by restricting the text to text box, and add expressions to correct the vertical position, depending on the number of lines.
    https://youtu.be/6uE6iFjJ7Bs

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

  • Vasyl Iskovych

    July 9, 2020 at 4:38 pm in reply to: reading text from a file

    Unfortunately, I can’t achieve the desired result, since the expression for the number of lines is not taken into account automatic line breaks (when the text is limited to text boxing).
    1_.png
    Is it possible to take into account such breaks?
    Thank.

  • Vasyl Iskovych

    July 9, 2020 at 3:53 pm in reply to: reading text from a file

    Thank you very much.
    I thought that if the data is not displayed on the timeline, then they will not work in the expression.
    I did not check it then.
    Now I checked it and it works.
    Thank you again.

  • Vasyl Iskovych

    July 9, 2020 at 3:27 pm in reply to: reading text from a file

    Thank you very much.
    You helped me a lot.
    But I want to ask more.
    Hope this will be the last question.
    I am trying to work with a .json file.
    But when, after I accidentally corrupt the file, I cannot resume its work, even after I fix the file.
    I tried to clear the memory, replace the footage, and even deleted and imported the file again. but he refuses to work.
    Please watch the video to better understand what I mean.
    And this does not always happen, but only sometimes.
    I recorded a video several times to catch this error.
    https://www.youtube.com/watch?v=7U6soc6_sRM

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

  • Vasyl Iskovych

    July 9, 2020 at 12:57 pm in reply to: reading text from a file

    Thanks so much for your detailed answers.
    Please tell me why the \n character is used?
    I did not measure the difference if using \n or not using it.
    Unfortunately, I did not find information on the Internet.
    If possible, please tell me where to read about these values.
    Thank.

  • Vasyl Iskovych

    July 9, 2020 at 11:16 am in reply to: reading text from a file

    [Filip Vandueren] “using \”these kinds of quotes\””
    Thank you very much.
    You helped me a lot.
    [Filip Vandueren] “$.evalFile() was officially not supported”
    May I ask why this is not suitable?
    Can you advise another solution?
    I am not very experienced in this.
    I am trying to make a template.
    If this does not work or there are errors, then they will not accept it from me.

    I would like to ask one more question.
    Can I find out the number of lines in the text?
    I want to make the text align vertically if a new line is added to it.
    If I write the expression text.sourceText.length, then I get the number of characters.
    I would like to know the number of lines.
    Thank.

  • Vasyl Iskovych

    July 9, 2020 at 11:15 am in reply to: reading text from a file

    [Filip Vandueren] “using \”these kinds of quotes\””
    Thank you very much.
    You helped me a lot.
    [Filip Vandueren] “$.evalFile() was officially not supported”
    May I ask why this is not suitable?
    Can you advise another solution?
    I am not very experienced in this.
    I am trying to make a template for VideoHive.
    If this does not work or there are errors, then they will not accept it from me.

    I would like to ask one more question.
    Can I find out the number of lines in the text?
    I want to make the text align vertically if a new line is added to it.
    If I write the expression text.sourceText.length, then I get the number of characters.
    I would like to know the number of lines.
    Thank.

  • Vasyl Iskovych

    June 1, 2020 at 4:59 pm in reply to: How to highlight one word in the text?

    Thank you so much.
    You helped me a lot.

  • Vasyl Iskovych

    April 13, 2020 at 5:28 pm in reply to: Eval(‘@JSXBIN…’); no longer working?

    Thank you very much.
    You helped me a lot.

Page 3 of 4

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy