yes. I followed the instruction. The key is after convert pdf to swf, all my text in shows in swfstring are 1 character 1 line, and with \0x as space. Not know what cause that. But when I use iText to extrat text from pdf, all text are correct.
________________________________ From: Chris Pugh <nisse...@googlemail.com> To: swftools-common@nongnu.org Sent: Fri, July 16, 2010 1:58:31 AM Subject: Re: [Swftools-common] export swf that can allow "setSelected" in flash display color On 15 July 2010 15:15, Jonathan Lee <jlee_lee740...@yahoo.com> wrote: > Hello all: > The attached is a pdf file that I want to convert to swf file and using my > flash application to select some text as highlight. > > When I use "setSelected", I can not see any highlight color, but I can get > what I selected by using "getSelectedText", I can get what I selected. > > any way to export swf that allow to do that? > Thanks. > Have you followed these instructions? http://wiki.swftools.org/index.php/How_do_I_highlight_text_in_the_SWF%3F HTH. Regards, Chris.