On 4/5/13 8:33 AM, dfepst...@comcast.net wrote:
I think this will work on a Mac: 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 pretty good, it works great. Where'd you get the "75" from? Based on your calculation, this one-liner also works: on goPage n set the currenttime of player 1 to (n-1)*75 end goPage -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode