----- Original Message ----- From: "Ajay H. Daptardar" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, November 18, 2005 4:20 PM Subject: [Swftools-common] textsnapshot behavior on converted swfs
> Hi, > > Converting a pdf file to a swf using the pdf2swf version 0.6.3 allows > one to search within the generated swfs using the ActionScript > function MovieClip.getTextSnapshot(). This function will allow you to > find all occurences of a word/text on a page by drawing a highlight > box around the word/text. > > However if you were to use version 0.7.0 to generate the swf and then > try using textsnapshot, it > will find the locations (as in the index, within the entire text > block, of the first character) but it will not highlight the bounding > box. > > One key difference in between the two swfs is the file size, some of > the swfs generated using version 0.6.3 are at least three times as the > ones generated using version 0.7.0 even after using the -z option to > compress the swf. > > I looked at the changelog but did not find any relevant information. > > What changed from version 0.6.3 to 0.7.0 that is causing this ? > > Thanks > Ajay > > > _______________________________________________ > Swftools-common mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/swftools-common Thanks for bringing MovieClip.getTextSnapshot() to my attention I did not know this function existed. As to the 0.6.3 vs 0.7.0 filesizes, I also noticed this. I had a 10MB swf drop to 5.4 MB under 0.7.0 I was also unable to find the reason but I "think" it may be a jpg change to the compression quality defaults? Chris _______________________________________________ Swftools-common mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/swftools-common
