I recently went through this  - and am still building one now for a
project.  You can use the TextFormat class - works nicely for the text.
However, it doesn't handle img tags - so it's very difficult to insert
an IMG tag and then manually delete it later because in so doing, it
screws up Flash's internal reference table for the TextFormat tags.
What I ended up doing  instead was keep text separate for images -
putting images on their own movieclip and then letting the user position
that.  I put handles on the text areas and movie clips to move them,
move them to the front (depth management) and delete, and also resize
for the text.

Jason Merrill
Bank of America 
Learning & Organization Effectiveness - Technology Solutions 
 
 
 
 
 

>>-----Original Message-----
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Catalin Negrila
>>Sent: Monday, August 21, 2006 12:12 PM
>>To: [email protected]
>>Subject: [Flashcoders] Word processor in Flash
>>
>>I've been looking for a while for a word processor component that
would
>>extend the functionality of the basic rich text editor from Flash but
I
>>couldn't find any. We are in the planning stages for a new project and
>>one of the key things that we would need is a text editor able to
handle
>>at least pictures and tables if not more.
>>
>>The first question would be, is there such a component already written
>>by somebody else? I don't think the Flex Framework has anything like
>>this but even a third party thing that we could license would do.
>>
>>I'm somewhat familiar with ActionScript with a strong background in
C++
>>so I could undertake writing such a component. However the run time
>>speed tests that I've made to try to manually compute the layout and
>>then cache everything in a bitmap didn't prove too encouraging. Once
>>everything is cached in a bitmap you can scroll it just fine but the
>>speed at which the layout gets rendered to that bitmap - when the user
>>presses a key and causes a word wrap, let's say - is not at all
>>"interactive".
>>
>>Any thoughts on this? Is FP9 fast enough but just my approach is
wrong?
>>Is it possible to develop such a component?
>>
>>I'd gladly appreciate any suggestions in this matter since our choice
of
>>Flash kind of hangs on this issue right now...
>>
>>Thank you in advance!
>>
>>Catalin
>>_______________________________________________
>>[email protected]
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>Brought to you by Fig Leaf Software
>>Premier Authorized Adobe Consulting and Training
>>http://www.figleaf.com
>>http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to