Using Listeners With Motion Tweens In Custom Components

Hi all,

I’m creating several cutom components. Within each I’m setting up scripted tweens with the Tween class. I have listeners setup within the components to fire internal events. My question is how can one component on the stage listen to the others tween events? Currently I’m setting up internal listeners like so:

MenuListener = new Object();
var easeType = mx.transitions.easing.Regular.easeOut;
ButtonTween = new mx.transitions.Tween(…);
ButtonTween.addListener (MenuListener);

My issue is that “MenuListener” is a local object. How does some other component subscribe to this event? Thanks and sorry if this is a stupid question. I know it’s going to be something easy.