Do you have more code or explanations about how this works? I am actually looking for a step for images in a scrolling group on iOS and Android but your email made me think that maybe a pdf might work. I need the images to 'land' fully in view even if the user has not scrolled all the way on a touch.
Thanks, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Apr 5, 2013, at 9: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 > > Ray Horsley wrote > > using a player object I can't control from a script which page of the > PDF the player object is displaying. > > > > David Epstein > _______________________________________________ > 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 _______________________________________________ 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