swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] pdf2swf getTextSnapshot(); in AVM2 (Flash9) Movie?


From: Matthias Kramm
Subject: Re: [Swftools-common] pdf2swf getTextSnapshot(); in AVM2 (Flash9) Movie?
Date: Thu, 18 Sep 2008 18:55:55 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Thu, Sep 18, 2008 at 11:47:35AM +0600, Syed Fawad <address@hidden> 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






reply via email to

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