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

Get name from hierarchy?

pererik
pererik's picture
Registered: Jan 2 2008
Posts: 4

Hi!

i've been reading the 3d/forms interaction tutorial, and it describes exactly the functionality we need. the only thing that worries me is the part in section 3.1 regarding writing the code to setup the layers. we will be dealing with large amounts of objects so hardcoding all the object names in javascript is not an option.

since each object already has a name in the hierarchy, is it possible to grab the selected object name directly from the hierarchy and paste this into a form?

pererik
pererik's picture
Registered: Jan 2 2008
Posts: 4
ah! found it

event.hits[0].target.name

nice