Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


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

69

Likes

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
Adobe Community Professional ,
Aug 05, 2021 Aug 05, 2021

Copy link to clipboard

Copied

Where can you see playSequence in the documentation?

Likes

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

Likes

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....

Likes

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?"

Likes

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