Skip to main content
Inspiring
February 26, 2021
Answered

dynamic text boxes - one after the other

  • February 26, 2021
  • 1 reply
  • 555 views

I have split a sentence into 4 parts.

On every click of a button one text box appears then the next etc... after each click.

BUT

They overlap each other. I can't space them because they have to resize dynamically.

Dynamica text - instance names of w1, w2, w3 etc...

I can't see any properties to space them out properly.

 

 

    This topic has been closed for replies.
    Correct answer kglad

    Thank you very much.

    I was just reading the text is rendered differently in every browser so I don't think my idea was very good.

    But thanks for the documentation.


    embed the fonts and the text shouldn't be rendered differently.

    1 reply

    kglad
    Community Expert
    Community Expert
    February 26, 2021

    as3 or html5/canvas?

    Inspiring
    February 26, 2021

    Ah sorry. HTML5 canvas.

    kglad
    Community Expert
    Community Expert
    February 26, 2021

    you have these properties and methods (and more) with which to work, EaselJS v1.0.0 API Documentation : Text (createjs.com)