# 3d scene navigation using variables

**URL:** <https://forum.kirupa.com/t/3d-scene-navigation-using-variables/242914>\
**Category:** flash\
**Created:** [October 31, 2007, 5:28pm UTC](https://forum.kirupa.com/t/3d-scene-navigation-using-variables/242914 "2007-10-31T17:28:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![James001](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@James001](https://forum.kirupa.com/u/James001)\
**Post date:** [October 31, 2007, 5:28pm UTC](https://forum.kirupa.com/t/3d-scene-navigation-using-variables/242914/1 "2007-10-31T17:28:18Z")

</div>

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:
