How to find the position of a specific word in multiline text?
I wanna find and then create a display.newLine.
blah blah blah. Have
a nice day~! blah bla
h blah blah blah blah
Jump to content
If you mean <x,y> position, not possible, unless you have all of the metrics for each letter in the font.
Text (multi-line or otherwise) is a single display object. There are no letters as objects.
The easiest way I can see to do this is to use a bitmapped font and library. In that case each letter can be a discrete object, or at least each word.