views:

9

answers:

1

Hi,

I've just started learning as3 and I've been trying to find a good tutorial on dropdown menu's using just xml and as3. Most of what I've come across so far are either static menus or menus driven with heavy use of the timeline. Is it even possible to build a nice fluid drop down menu completely in code? If so and anyone has some good tutorials they would be greatly appreciated,

thanks

A: 

It wouldn't take much to come up with a fluid dropdown menu. You could create a Button object that will take its properties from your XML. When all your button instances are created and stored in an Array/Vector, you can then use a Tween class for the animation.

Some tweener classes:

Tweener: http://code.google.com/p/tweener/

TweenLite: http://www.greensock.com/

PatrickS