Previous | Next | (P-PDF) Developers
Topic: Help with PDF based Animation?
Conf: (P-PDF) Developers, Msg: 33477
From: noelcasey
Date: 1/24/2002 03:59 AM
Thanks for the reply.
Sorry, But I did not understand about how to put
the code you gave me previously as a DocVars function. How is it done. What and how do create a DocVars function instead of a Doc Level function?
Please forgive me if it is a stupid qustion.
But thanks for explaining adding the code again.
Bye,
Noel
>As per my last post, you need to add the
>three extra lines to the DocVars function
>of your original form.
>On this PDF just put them into a naked doc level
>function - i.e. create a doc level fucntion with
>any name and DELETE the
>function MadeUpName()
>{
>}
>and paste in the following
>this.flashingOn = 0;
>this.FirstYellowFld = this.getField("Yellow1");
>this.SecondYellowFld = this.getField("Yellow2");
>What this does is effectively define and initiate
>these doc level variables when the doc level
>javascripts load - i.e. on page open (or thereabouts).
>Without them 'flashinOn' is not defined,
>which is exactly the error message you were seeing.
>Jub