package com.sharewithagent.net {
    import flash.events.Event;

    public class CommunicatorEvent extends Event {
        // Availiable Events
        public static const AGENT_DATA:String = 'AGENT_DATA';
        public static const MAP_DONE:String = 'MAP_DONE';
        public static const PIN_PLACED:String = 'MAP_DONE';
        public static const NEW_ZIP:String = 'NEW_ZIP';
        public static const AGENT_SELECT:String = 'AGENT_SELECT';
        
        // Send events
        public var data:*;
        public function CommunicatorEvent(type:String, data:* = null) {
            super(type, true, true);
            this.data = data;
        }
    }
}