I have a PDF file with U3D data placed in 3D annotation. I'm using standard AnimationController.js provided by Adobe for controlling animations. I have a "View" button to set the 3D views. The views are set properly when I press View button without playing animation before. The placement of nodes is as desired. Once I play the animation, if I try to set the view (using View button or View combobox in 3D toolbar) the node placements are wrong. It does not reset the position of nodes. I also have a rewind button. If I use rewind button after play and then set the view then it is placed properly. Now, if I try to combine the code of rewind and set view then it does not do so. On first click, it only performs rewind and on second click it sets the view. My feeling is that it is not able to redraw scene after reset and before set view. I tried to use runtime.refresh but it does not help. Strangely if I place a app.alert() in between rewind code and set view code, it somehow redraws the scene on OK button (in message bix) click and view is set properly in single click.
Any idea what is happening here?
-regards
raghuvan