I am having an issue in Adobe Acrobat 8.0 that deals with adding icons and changing icons through javascript. Before I updated to the new version of Acrobat my method below worked to change out a picture but now I get a
"NotAllowedError: Security settings prevent access to this property or method.
Field.buttonImportIcon:48:Field frmLoad:Mouse Up"
I need a way to import a picture from a path and I am just beating my head against the wall to find a way.
thanks,
John
CODE:
var f = this.getField("Image");
ldPic = row.PicPath.value;
//f.buttonSetIcon(ldPic + "-1.pdf");
f.buttonImportIcon(ldPic + "-1.pdf");
"NotAllowedError: Security settings prevent access to this property or method.
Field.buttonImportIcon:48:Field frmLoad:Mouse Up"
I need a way to import a picture from a path and I am just beating my head against the wall to find a way.
thanks,
John
CODE:
var f = this.getField("Image");
ldPic = row.PicPath.value;
//f.buttonSetIcon(ldPic + "-1.pdf");
f.buttonImportIcon(ldPic + "-1.pdf");