highlighting using the text selection does not work reliable since the
selection is gone after certain focus changes, rotations or the clip,
whatever.
you can put anything above the text using addChild and the position of the
text (textsnapshot works).
i did all you want to do long before - so it definitely is possible ... tho,
I stick to an older release. 0.9 had too many flaws concerning the internal
structure of the generated swf.

filip


On Tue, Dec 15, 2009 at 10:22 AM, DannyT <danmo...@googlemail.com> wrote:

> I've tried searching the archives and found similar posts but often these
> are outdated and refer to next releases.
>
> We are creating a tool that will present swfs from uploaded PDFs however we
> need to identify certain words/characters (product numbers) within the
> generated swf, then position a button over top of these to perform various
> tasks (add to basket, bookmark whatever).
>
> I can find and highlight the text using loader.content["textSnapshot"] as
> TextSnapshot; but is it possible to position something on top of the
> highlighted text or do I need to hook into some of the other tools such as
> swfdump for this?
>
> Apologies if this has been covered before, happy to be pointed in the right
> direction.
>
> Dan
>

Reply via email to