Hi Pete, Am 24.03.2012 um 01:36 schrieb Pete:
> Hi Klaus, > Haven't used revBrowser before but I got the example from runrev's web site > at > http://lessons.runrev.com/s/lessons/m/4071/l/15963-how-do-i-display-a-pdf-in-rev > > However, nothing displays in the browser image no matter what pdf file I > select. Also tried it with a straightforward http:// url and nothing > displayed. > > Any tips on how to get this to work? I think you need to add "file://" at the beginning of the url which is missing in that tutorial. Try this slightly modified mouseup script from the example mentioned above: ............................................... on mouseUp local tFile answer file "Please choose the file you would like to display" with type "PDF document|pdf|PDF" if it is not empty then put it into tFile ##!!! replace " " with "%20" in tFile put "file://" before tFile ## !!! browserSetURL tFile end if end mouseUp ........................................................ Tested on my Mac and works :-) > Pete Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.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