package com.xaxisadlabs.utils { import flash.events.Event; public class XaxisNotificationEvent extends Event { public static const XAL_NOTOBJ:String = "notobj"; // cusutom object to pass with event public var notObj:Object; public function XaxisNotificationEvent(type:String, notObj:Object, bubbles:Boolean=false, cancelable:Boolean=false) { super(type, bubbles, cancelable); this.notObj = notObj; } // Create a clone() method for events in case you want to redispatch them. public override function clone():Event { return new XaxisNotificationEvent(type, notObj, bubbles, cancelable); } } }