help with basic animation control


could take @ file , see missing? there 2 items in scene. have key frame animation embedded u3d file. camper door suppose open. i'm using animation controller.js attached annotation. , when click rectangular gray button above suppose play animation.

can let me know step have missed?

http://www.tbnewmedia.com/test/animation%20controller.js

http://www.tbnewmedia.com/test/camper2.pdf

-thanks!

tom,

the javascript attached button on page needs reference 3d annotation's script context in order send commands it. here's how (replace existing script following):

var a3d = getannots3d( pagenum )[0];
if ( a3d && a3d.activated && a3d.context3d )
{
var c3d = a3d.context3d;
c3d.myanimation.play();
}

grayson


More discussions in Rich Media & 3D


adobe

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code