3d scene navigation using variables

Hi,

PLease could someone check this script to see if i’ve made a mistake or whether i’m going about this all wrong.

I have set a function on the main timeline. Embedded the 3D scene within a movieclip. And have some navigation buttons on the main timeline.

Basically I want to use the buttons to play the 3D animation and stop when the correct point has been reached. e.g. I have 3 points in the attached animation (L, E, A).

However i don’t want use gotoAndPlay(“frame label”) as this will skip the animation.

I have attempted to pass back parameters to a variable in the function from both the buttons and the 3D animation timeline. It easier to see than describe —Please download the attchment.

:cons: