accidentally replied off list so adding here in case anyone else can help...
Thanks filip, yes we've discovered and worked around the quirkiness of highlighting the text. "you can put anything above the text using addChild and the position of the text (textsnapshot works). " Can you tell me how you got the position of the text? Many thanks for your response, Dan 2009/12/15 filip sound <[email protected]> > 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 <[email protected]> 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 >> > > -- http://danny-t.co.uk
