Skip to main content
Participating Frequently
June 16, 2015
Question

Embedding Text in Dynamic Text Boxes. - I am trouble having what I have embedded to work

  • June 16, 2015
  • 1 reply
  • 484 views

No errors come up when I try to embed font format, size, colour, font, with multiline selected.

I have 4 dynamic text boxes set up which are loaded with text from an xml file.

Text loads no problem

It just will not allow me to 1 change the font or 2 embed a font and the associated elements.

Colour it there, but definitely not the size.

Also for the size flash will not let me change from pt to px

Could that be my problem?

Cheers

This topic has been closed for replies.

1 reply

funkysoul
Inspiring
June 16, 2015

Are you trying to dynamically (AS3) change the font?

If that's the case you need to create various font-assets with at least a basic latin character set and then change accordingly.
You'll need TextFormat: TextFormat - Adobe ActionScript® 3 (AS3 ) API Reference

and handy to know how to embed fonts in as3: actionscript 3 - How to embed a font in as3 using FlashDevelop? - Stack Overflow

Participating Frequently
June 16, 2015

What I have done so far is to draw text boxes(I have four in the one frame all dynamic) with my text tool and with the properties for my text set each box with font, size, colour etc... note that I have tried to embed the font via the embed button that is within the text properties

and not using actionscript.

However have tried to do this as well, will however try your options as I would love to solve this issue with my 'quiz' project.