Forum Replies Created

  • Liam Campbell

    April 19, 2018 at 2:10 pm in reply to: Push Typing Effect to Left at Limit

    If you could explain the code a little bit that would be greatly appreciated. It worked to finish the project but I want to understand to help with situations later on. Thanks again Dan, helpful as always.

    Liam

  • Liam Campbell

    April 19, 2018 at 2:23 am in reply to: Push Typing Effect to Left at Limit

    Thank you, the only thing I had to change was the very last line I made it “value + d” or else it would move to the right.

    So is this essentially comparing the width of the bounding box of the search bar to the width of the bounding box of the text minus the margin to determine when the bounding box of the text exceeds that of the search box and therefore should start moving left?

  • Liam Campbell

    March 11, 2018 at 9:11 pm in reply to: Randomize Specific Set of Characters

    Thanks for the reply! This is where I am:

    chars = [“º” , “_” , “-” , “•” , “Ë™” , “|”];
    seedRandom(5,true)
    n = Math.floor(random(0,6))
    chars[n] + chars[n] + chars[n] + chars[n] + chars[n] + chars[n]

    but obviously all of the “chars[n]” are the same character. What’s a clean way to make them all different?

  • I’m assuming that that is sarcasm and that there is no way to do that? I could’ve sworn that whenever I install 3rd party plugins they are able to divide the UI or is that a custom made UI for the plugin?

  • Liam Campbell

    October 7, 2017 at 7:28 pm in reply to: Specific word in paragraph be a different color

    The only part of this that I don’t understand is the [textIndex -1] what exactly is this searching for?

  • Liam Campbell

    October 4, 2017 at 9:20 pm in reply to: Specific word in paragraph be a different color

    Works perfectly even on multiple lines. What are the various slashes and “s’s” doing and would I only have to change “class” in the expression to change the word?

  • Liam Campbell

    October 4, 2017 at 9:02 pm in reply to: Specific word in paragraph be a different color

    I was using random text but I simplified it to “hello class hello” and I was still getting the error.

  • Liam Campbell

    October 4, 2017 at 8:28 pm in reply to: Specific word in paragraph be a different color

    When I try it, I get an error that reads “Error at line 2. property or method named 37 in Class ‘Array’ is missing or does not exist. It may have been renamed, moved, deleted, or the name may have been mistyped”

    Could you explain what some of the code is doing so I can better understand where this error could be coming from?

    Thanks for your help

  • Thank you for answering, could you document what some of the lines are doing for me just to help me understand a little bit more what’s going on?

    Thanks

  • Thank you, works perfectly, could you please explain what the different parts of the expression do just for my own clarification and understanding?

    Thanks!

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