Skip to main content
Participating Frequently
November 9, 2009
Question

TLF Rich Text Editor SWC

  • November 9, 2009
  • 1 reply
  • 2470 views

Hello,

I have put together a SWC for my TLF Text Editor I am building that you can try.  The project is very early in its development and I am posting it here to give background about the project I am building as pretty much any questions I post here to this forum will be related to this effort.

The link below has a download to the SWC, a link to a sample editor, as well as a simple video I put together demonstrating the editor and using the SWC.

http://web.ucompass.com/UcompOSEditor.html

The SWC was built using the Flash Builder Beta 2 release and will probably not work with any other SDK than the 4.0.0 that is built into the release as there have been some changes to some property names in certain classes in the TLF since then.

This topic has been closed for replies.

1 reply

Participating Frequently
November 23, 2009

hi, nice demo,

weird thing is that you managed to preview the system fonts in the Font DropDown, but for some, it doesnt work in the editor. I admit that some of my fonts are special OTFs, but they should work since they do show up in the drop down.

anyway, care to share how you hooked up the dictionary from Squiggly?

Best

Raed

emansouriAuthor
Participating Frequently
November 23, 2009

Hello,

I have attached to this reply a class from my implementation called SpellChecking that is a Singleton and its checkSpelling() method is what gets invoked when the user clicks the spell check control (the control with the checkmark icon). (sorry the class has not yet been commented)

The Singleton gets instantiated with its getInstance() method once the Spark TextArea in the editor has been initialized (dispatched its CREATION_COMPLETE event).

Let me know if you have any questions.

Participating Frequently
November 24, 2009

thank you. that works well. I wrote ( http://forums.adobe.com/thread/528937?tstart=0 ) about the performance issues when checking the spelling of 800+ words and how setFormatOfRange is very memory intensive.

Care to share your opinion?

Thanks

Raed