Page 2 of a PDF

J. Landman Gay jacque at hyperactivesw.com
Sat Apr 6 16:08:53 EDT 2013


On 4/6/13 1:00 PM, David Epstein wrote:
>>  J. Landman Gay:
>> 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
>
> Thank you, that's an improvement.  The 75 came from observing that the
> "duration" of a player with a PDF loaded seemed to be 75*(z-1) where z =
> the number of pages.

Nice observation, I wouldn't have thought of it. The next question is if 
that's a Mac-only convention or if it works universally. If it's 
universal, it becomes a handy cross platform solution.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list