# Tween Classes in XML Menu tutorial code don't work?

**URL:** <https://forum.kirupa.com/t/tween-classes-in-xml-menu-tutorial-code-dont-work/210574>\
**Category:** flash\
**Created:** [December 20, 2006, 1:52am UTC](https://forum.kirupa.com/t/tween-classes-in-xml-menu-tutorial-code-dont-work/210574 "2006-12-20T01:52:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrquint15](https://avatars.discourse-cdn.com/v4/letter/m/0ea827/32.png) [@mrquint15](https://forum.kirupa.com/u/mrquint15)\
**Post date:** [December 20, 2006, 1:52am UTC](https://forum.kirupa.com/t/tween-classes-in-xml-menu-tutorial-code-dont-work/210574/1 "2006-12-20T01:52:40Z")

</div>

Hi all,

I’m working with the [XML Driven Drop Down Menu Tutorial ([URL=“http://www.kirupa.com/developer/actionscript/fla/xmlmenu.zip”]source file here](http://www.kirupa.com/developer/actionscript/xml_dropdown_menu.htm)), and having trouble using the tween class in it. I’d like to convert it so that the menu slides open rather than pops out, but I can’t get the tween classes to do anything anywhere in the script! Even static symbols created on a separate layer don’t respond, but using the same code in a different empy file works fine. I’d assume some event handler somewhere’s interfering? Any suggestions?

I’m using the source code above, and I have created a circle that’s a movieclip called item1\_mc (both name and instance). Here’s the code snippet I’m using:

```auto
ballTween = new mx.transitions.Tween(item1_mc, "_x", mx.transitions.easing.Bounce.easeOut, 20, 380, .5, true);

```

Won’t work in this source file, but works fine in another.

Thanks a lot, hopefully I’m not asking a question already addressed, but I searched around for a while and couldn’t quite find anything.

-Charlie
