package substance.amfphp { /** * AMFServiceEvent * * @author shaun.tinney@findsubstance.com; * @since 03.09.2009; * @desc amfservice event; */ import flash.events.Event; public class AMFServiceEvent extends Event { //-------------------------------------- // CLASS CONSTANTS //-------------------------------------- public static const NAME : String = 'substance.amfphp.AMFServiceEvent'; public static const RETURN : String = 'amfServiceDataReturn'; //-------------------------------------- // CONSTRUCTOR //-------------------------------------- public function AMFServiceEvent ( type : String, data : * ) { super( type, true ); this.data = data; } //-------------------------------------- // INSTANCE VARIABLES //-------------------------------------- public var data : *; //-------------------------------------- // PUBLIC METHODS //-------------------------------------- override public function clone () : Event { return new AMFServiceEvent( type, data ); } } }