Do you need functions in Acrobat JavaScript that aren available in LiveCycle Designer?
Acrobat and Reader include an extensive, mature JavaScript API which can access many aspects of PDF files, including content, annotations file appearance and behavior when opened, and more. If you’ve already figured out how to get everything you need using the regular Acrobat JavaScript Reference then you are probably all set, and there’s no need to go try to replicate it all in a Designer/XFA form. .