Hello friends,
I’m building a CDRom based projector/interactive to be loaded on a Windows PC. I’m using an XML driven menu that has several items that are intended to link to (and open) PDFs. Unfortunately, when I test the projector, the PDFs do not open at all.
Here’s my code:
XML:
<item title="Download PDF 1" function = "pdf1()" /></item>
<item title="Download PDF 2" function = "pdf2()" /></item>
<item title="Download PDF 3" function = "pdf3()" /></item>
AS2:
stop();
function pdf1(){
fscommand("exec","pdf1.bat");
}
function pdf2(){
fscommand("exec","pdf2.bat");
}
function pdf3(){
fscommand("exec","pdf3.bat");
}
.bat:
start ../content/pdfs/whatever_PDF_name.pdf
Can anyone tell me what I should do to get this to work, or what I am doing wrong? This is a slightly urgent problem that requires my immediate attention. I’m really stuck and frustrated and would appreciate all the help you can lend.
Thank you,
-g