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

3D Content Function Public?

alphadash0
alphadash0's picture
Registered: Nov 4 2009
Posts: 5

I just included some javascript via properties on a 3D Content. My Problem is i have included a function called rotation_left() in that script and wanted to use this function on a button in the same document. I get an execption that the function is not defined :(
how do i mark a function as public which is included in a script bound to 3D content?

thanks

alphadash0
alphadash0's picture
Registered: Nov 4 2009
Posts: 5
Yeah i've got a solution. Just define a function which points to the function on the content. Easy :)
getAnnots3D(0)[0].context3D.myFunction();