Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

dynamic text boxes - one after the other

Participant ,
Feb 26, 2021 Feb 26, 2021

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.

 

codeBeastAdobe_0-1614345766493.png

 

473
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 26, 2021 Feb 26, 2021

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

Translate
Community Expert ,
Feb 26, 2021 Feb 26, 2021

as3 or html5/canvas?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 26, 2021 Feb 26, 2021

Ah sorry. HTML5 canvas.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 26, 2021 Feb 26, 2021

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 26, 2021 Feb 26, 2021

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 26, 2021 Feb 26, 2021
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines