Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Icons through javascript

Status
Not open for further replies.

woodrasj

IS-IT--Management
Jun 17, 2002
27
0
0
US
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");
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top