Avatar

Level 8

Hi all,

I'm wondering if anyone has figured out why after normally about 300-500 lines of JavaScript in a Script Object, sometimes the functions near the end are no longer recognized by the XFA processor when referenced ("TypeError: Scripts.myFunction is not a function").

When reordered, further up the script object, they work as intended. The line at which it no longer recognizes functions also isn't always the same and I have worked with some script objects that have over 800 lines with all the functions still working.

I've tested in Designer 9 and 10, Reader 8 9 and 10.

Please at least let me know I'm not the only one. I knew of one other developer that had come across the same issue.

Kyle