Controlling PDFs in Player Object on Mac
Ken Ray
kray at sonsothunder.com
Sat Oct 14 10:45:07 CDT 2006
On 10/14/06 9:56 AM, "David Epstein" <dfepstein at gmail.com> wrote:
> In case anyone else wonders about this question, I have found a
> solution by trial and error. This may not be the best way (and the
> "play" command, according to the MC help, should be replaced in future
> development by the "start" command, although there is no mention of
> "start step"), but it seems to work:
>
> on pdfToPage n -- show page n of the pdf in player 1
> put round(n) into n -- n as passed by scrollBarDrag doesn't seem to
> -- always be an integer
> put (n-1)*75 into t
> set the playSelection of player 1 to true
> set the startTime of player 1 to t
> set the endTime of player 1 to t+1
> play step player 1
> end pdfToPage
That's great, David! Cool tip...
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
More information about the metacard
mailing list