New Forum | Previous | Next | (P-PDF) Beginners
Topic: Why doesn't my setAction code work ?
Conf: (P-PDF) Beginners, Msg: 117143
Date: 8/12/2004 04:42 AM
I'm stumped as to why this code won't work for me. I want to create a button that when pressed, will close the document referred to by shppro.
shppro is the DOC Object of the document I want to close.
function createCloseButton(pageNumber, shppro)
var c = shppro.addField("closeButton","button", pageNumber, [-100, 760, 0, 785]);
c.strokeColor = color.yellow;
c.display = display.noPrint;
I get this error
ReferenceError: shppro is not defined
Why is shppro not defined?? I've been using it over and over in several other functions.