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