Scribus Forums

Scribus => PDF Generation => Topic started by: TomasJ on April 04, 2013, 07:17:49 pm

Title: Play sound button
Post by: TomasJ on April 04, 2013, 07:17:49 pm
Hello,

I'd like to know I can set a javascript for button to play a mp3/wav sound. I've created a button -> doubleclick -> Action -> Type:  JavaScript and still can't add the scrip into the "Script:" area. And also I can't find how to write this script for playing sound in my pdf. Where should be this file saved? on my computer? on the server? Does anybody have some experience with this?

Thanks.

//edit: Even when I follow this wiki steps http://wiki.scribus.net/canvas/How_to_enhance_your_PDF_forms_with_JavaScript (http://wiki.scribus.net/canvas/How_to_enhance_your_PDF_forms_with_JavaScript) to use javascript. It doesn't work. I mean, I think there is problem i some preferences. Do you guys think you could help me?