Hi

I have a class in which a mc is used as a button.

I want to use this button to remove from the stage its parent instance.
Here is a small part of the class called LightBox
Code:
public var _lbClose:BtnSSClose;
:
:
function createCloseBtn():void{
				_lbClose = new BtnSSClose;
				_lbClose.name="lbClose";
				_lbClose.x=875; _lbClose.y=24;
				this.addChild(_lbClose);
			}
on the main time line I do:

Code:
:
var lightBoxCont:LightBoxContainer = new LightBoxContainer;
var lbx:LightBox = new LightBox;
lbx.name="lightBox";
:
Is it possible to set an event listener of some sort onto this button, but have it listened for out on the maintime line?

That way, when its pressed I can react to it from the main timeline and delete it?

Or am I going about this the wrong way?

As ever thanks for your help

E