I think you'll have to use TLF or write your own.  The whole point of FTE is to 
put text on the screen without each text instance needing to carry the 
capabilities of selection and interaction.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Manish Jethani
Sent: Sunday, May 31, 2009 5:18 PM
To: Flexcoders
Subject: [flexcoders] How to make FTE text selectable and editable?





I have this program (Flash Player 10):

var elementFormat:ElementFormat = new ElementFormat();
elementFormat.fontSize = 48;
var textElement:TextElement = new TextElement("Hello,
world", elementFormat)
var textBlock:TextBlock = new TextBlock(textElement);
var textLine:TextLine = textBlock.createTextLine();
textLine.y = textLine.ascent;
addChild(textLine);

How do I make the text selectable and editable?

(Note: I'm not using the Text Layout Framework.)

Manish

Reply via email to