On Thu, Sep 18, 2008 at 11:47:35AM +0600, Syed Fawad <[EMAIL PROTECTED]> wrote:
> I read previous posts on getTextSnapshot(); method and its usage to search
> and highlight strings in swfs converted to pdfs using pdf2swf. I checked and
> double checked but I am unable to find this method in the swf I'm loading. I
> need to know if this method exists in swfs exported as AVM2/Flash9.
getTextSnapShot is a function from Flash, not one inside pdf2swf
generated SWFs.
Take a look at the ActionScript at
http://www.swftools.org/flash/textsnapshot.html
for an example for how to use it.
> var my_snap:TextSnapshot = mc.getTextSnapshot();
I think this should be (notice the uppercase "S"):
mc.getTextSnapShot();
Greetings
Matthias