Previous | Next | (P-PDF) Acrobat 6.0
Topic: Acro 6 - Crash on Repeated Form Button Use
Conf: (P-PDF) Acrobat 6.0, Msg: 98388
From: dmkleiman
Date: 10/15/2003 02:00 AM
Can anyone help with the following?
I have several PDFs with form buttons setup to act like links using the following javascript:
function GoToName(cDest,cFile)
{
var cFileID
var d = app.activeDocs;
for (var i=0; i < d.length; i++)
if (d[i].info.Title.substr(0,4) == cFile) {
d[i].bringToFront()
cFileID = d[i];
break
}
else
{
cFileID = app.openDoc (cFile + ".PDF", this);
}
cFileID.gotoNamedDest(cDest);
}
In testing Acrobat Reader 6, if I click repeatedly on a succession of buttons the reader crashes and exits after about 25-30 clicks.
Is there a way to flush memory buffers? or there some other problem that I am missing? The problem does NOT occur under Acrobat 5 or Reader 5.
Thanks for any guidance.....
DMK