Untitled
public text v1 · immutableclass ExtButton extends MovieClip {
public var addEventListener:Function;
public var removeEventListener:Function;
private var dispatchEvent:Function;
//
// Constructor
function ExtButton() {
//initialize the event dispatcher
mx.events.EventDispatcher.initialize(this);
}
//
// Methods
public function onRelease() {
var eventObj:Object = {target:this, type:"release"};
dispatchEvent(eventObj);
}
}