I'm not sure that this information is given by any of the swftools commands.

When you use pdt2swf to convert a pdf, then the resulting swf usually has
one frame per page.  So, the total number of pages equals the total number
frames.

In actionscript you can get the total number of frames in a movie by using
totalframes, as in,

    myMovie.totalframes

where the 'myMovie' bit refers to your .swf file.

Does this help at all?

Regards,


Chris.
2009/11/12 Serdar Sahin <[email protected]>:
> Hi,
> I am using this great tool, and it's really wonderful (I have some common
> problems though, but it's not important at this point). Thanks for this
> great tool!
> My question is, I need to get total page count from the SWF file. I can get
> the page count from the PDF file and it is easier for me but I wonder are
> there any possibilities that may produce different page count than PDF file.
> If it's possible, how can I get the page count from the SWF file?
> Thanks in advance,
> Serdar


Reply via email to