# Using 3d motion tween and script20

**URL:** <https://forum.kirupa.com/t/using-3d-motion-tween-and-script20/285035>\
**Category:** flash\
**Created:** [March 26, 2009, 11:57am UTC](https://forum.kirupa.com/t/using-3d-motion-tween-and-script20/285035 "2009-03-26T11:57:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyclopestar](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@cyclopestar](https://forum.kirupa.com/u/cyclopestar)\
**Post date:** [March 26, 2009, 11:57am UTC](https://forum.kirupa.com/t/using-3d-motion-tween-and-script20/285035/1 "2009-03-26T11:57:38Z")

</div>

Hi there,

I’m not very experience with as3, but I made this animation using the 3d rotation tool and the motion presets, now I just want to add a simple function of one button.

I use a very simple code found on this forum for making a button is AS3,

But when I go ahead and export the movie I get a lot of errors

errror 1120

How do I work around this problem?
