Skip to main content
Participant
March 15, 2018
Question

Referenceerror Matrix4x4 is not defined

  • March 15, 2018
  • 1 reply
  • 465 views

  the js file is attached to the 1.7 PDF file.

This topic has been closed for replies.

1 reply

Thom Parker
Community Expert
Community Expert
March 15, 2018

You'll have to provide more details.  How is this JS attached? and what is it doing?

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
zeroDayAuthor
Participant
March 16, 2018

It is attached using the Haru Free PDF Library 2.4. It should set a Matrix4x4 for a node, I'm trying  to do this with this line of code:

myNewMatrix4x4= new Matrix4x4();

my3d.scene.nodes.getByIndex(0).transform.set(myNewMatrix4x4) );

Thom Parker
Community Expert
Community Expert
March 16, 2018

You didn't mention this was a 3D script. You are in the wrong forum.

Ask your question in this forum:

Rich Media & 3D

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often