These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Trying to change field fillColor

Marovincian
Registered: Jun 21 2007
Posts: 2

I am attempting to add javascript to our pdfs that will allow specific users to change the fillColor of fields by clicking on them. I have script in the mouse up event that seems to be changing the color ok, but the changes don't take effect until a user clicks out of the field. I need for the change to actually take place upon mouse-up.

Any ideas/suggestions?

Thanks.

lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
Thom Parker has an example of this in his Using Colors in Acrobat JavaScript tutorial at:
http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/using_colors/

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.