• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

javascript help

Community Beginner ,
Aug 05, 2021 Aug 05, 2021

Copy link to clipboard

Copied

hello all,

Im facing problem in below script.

 

function runanim(dSelectedStepStart, dSelectedStepEnd)
{
pageIndex = this.pageNum;
annotIndex = 0;
annot = getAnnots3D(pageIndex)[annotIndex];
if (annot != undefined)
{
context = annot.context3D;

context.playSequence(dSelectedStepStart, dSelectedStepEnd, funcCallbackStart,funcCallbackStop);
//context.playAnims(dSelectedStepStart, dSelectedStepStart, funcCallbackStart,funcCallbackStop);
}
}

 

vinothk92107740_0-1628162687081.png

Im getting error : context.playSequence is not a function.

which function i need to use to get a play sequence?

im using this script for 3D animation pdf to control the play sequence through interactive buttons.

 

Thanks in advance

TOPICS
JavaScript

Views

392

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 05, 2021 Aug 05, 2021

Copy link to clipboard

Copied

Where can you see playSequence in the documentation?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 05, 2021 Aug 05, 2021

Copy link to clipboard

Copied

Hi, 

I have created interactive buttons.

when im trying to run the script, im getting error like above i mentioned because of that im not able to manipulate the 3d model animation in acrobat pro dc. 

What is the function to be used to execute this code?
Please find the attachment.

Thanks in advance

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 16, 2021 Aug 16, 2021

Copy link to clipboard

Copied

Hi,

Still waiting for the answer....

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 17, 2021 Aug 17, 2021

Copy link to clipboard

Copied

LATEST

You were asked a question and your reply did not answer: "Where can you see playSequence in the documentation?"

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines