How to fade in and fade out a Yahoo Astra Menu Component

August 29th, 2007

I was messing around w/ the Yahoo’s Astra Library, mainly the Menu Component and added a little fade on the menu so it’s not so harsh when it comes up.

It’s easy just use the show/hide events **Remember use the constants**
[as]

//import the required data class
import com.yahoo.astra.fl.controls.Menu;
import com.yahoo.astra.fl.data.XMLDataProvider;
import com.yahoo.astra.fl.events.*;
import fl.transitions.Tween;
import fl.transitions.easing.*;

//Create some XML to populate the menu don’t leave in CDATA
var colors:XML =

Leave a Comment

Required

Required, hidden

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Trackback this post  |  Subscribe to the comments via RSS Feed