swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] Text Selection


From: Sean Laurent
Subject: [Swftools-common] Text Selection
Date: Tue, 17 Nov 2009 10:49:46 -0600

I seem to be encountering a similar problem to Valentin Simonov. I'm using 
pdf2swf 0.9.0 and I can successfully convert and display a large variety of 
PDFs. However, I can't seem to select any text:

---snip---
var clip:MovieClip = ldr.content as MovieClip;
clip.textSnapshot.setSelected(10, 20, true);
trace("selectedText: " + clip.textSnapshot.getSelectedText(false));
---snip---

The trace output from the snippet above is always empty - nothing is selected. 
I've tried all kinds of variations, but nothing works.

Any suggestions would be greatly appreciated.

-Sean

On Thu, 05 Nov 2009 at 01:29:20 +0700, Valentin Simonov wrote:

I got a problem with fonts in pdf2swf.
Checked every thread in archives but couldn’t solve the problem. Though solved 
many other ones q:

The swf is created just fine. I can load it, search it and select text though 
the problem is that this text selection is not shown whatever I do.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]