I am looking to allow a user (from Reader) to change the initState of a specific OCG by clicking a form button.
I'm searching for a step-by-step method for authoring this into the PDF... anyone know how to do this? I was hoping there was a way of running a javascript action when the button is clicked.
Thanks!
Kevin
Here is an article from the Learning Center on manipulating OCGs with JavaScript that should be helpful-
http://www.acrobatusers.com/tutorials/2006/create_use_layers
Hope this helps,
Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com
Dimitri Munkirs
WindJack Solutions
pdfscripting.com