Yes, TLF is packaged separately in textLayout.swc and textLayout.swz. We'll be 
hosting this SWZ along with framework.swz, flex4.swz, etc.

Gordon Smith
Adobe Flex SDK Team


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf 
Of Manish Jethani
Sent: Monday, June 01, 2009 4:41 PM
To: [email protected]
Subject: Re: [flexcoders] How to make FTE text selectable and editable?

Thanks. I was wondering why the FTE components didn't have any option
for making the text selectable and editable, but now it makes sense.

I guess my issue with using TLF is that it adds min. 60-70K to my SWF
size. This is an ActionScript-only project with Flex 3.

I know TLF is part of Flex 4, so I get the benefit of framework
caching, but I just want to use TLF and not the rest of the Flex
framework. Is there an option to get a .swz for just TLF?

Manish

On Tue, Jun 2, 2009 at 12:51 AM, Gordon Smith <[email protected]> wrote:
>
>
> That's correct. FTE simply creates TextLines that display text and contain
> information about glyph bounds, etc. All selection and editing must be
> handled in ActionScript. Use have to use TLF or a TLF-based component,
> unless you want to roll your own text editor.
>
>
>
> - Gordon
>
>
>
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Alex Harui
> Sent: Monday, June 01, 2009 10:55 AM
> To: [email protected]
> Subject: RE: [flexcoders] How to make FTE text selectable and editable?
>
>
>
>
> 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.
>
> Blog: http://blogs.adobe.com/aharui
>
>
>
> From: [email protected] [mailto:[email protected]] 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
>
> 


------------------------------------

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links



Reply via email to