Hi Jared,

> I generate a SWF file from a PDF containing some text rendered with a
> known TrueType 1 font. I embed the font using the -f option to have a
> DEFINEFONT2 tag in the SWF file. I have modified the swf compiler to
> insert a dynamic textfield using ST_DEFINEEDITTEXT  containing one
> glyph of the embedded font and inserting it in a Sprite using
> ST_PLACEOBJECT2. I was hoping that text selection would work on that
> text even when that SWF file is loaded at run-time in another SWF
> file. It doesn't seems to be the case. " textSnapshot.findText()"
> works on the Sprite containing that static text/dynamic text field,
> but none of the text selection methods works.

Hm, why do you need a textSnapshot, if the object containing the text
is an EditText field?

How does you Actionscript performing the text selection look like?
Do you use setSelected etc. in onMouseDown/onMouseUp in order
to adjust the selection area?

Greetings

Matthias





Reply via email to