tryign to debug this line of code: systemManager.dispatchEvent(new AuthEvent(AuthEvent.AUTHSUCCESS, false, false, e));
You can view the entire function that line of code resides in here: http://cfm.pastebin.com/d3fcd26de steps into the systemManager object, then I step return and we're fine. Then step into the AuthEvent class.. also fine... I step over each until it returns to the above line. Here is the AuthEvent.as package ads.events { import flash.events.Event; import mx.rpc.events.ResultEvent; public class AuthEvent extends Event { public static const AUTHSUCCESS:String = 'authsuccess'; public static const AUTHFAILURE:String = 'authfailure'; public var authResult:ResultEvent = null; public function AuthEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false, authResult:ResultEvent=null) { this.authResult = authResult; super(type, bubbles, cancelable); } override public function clone():Event { return new AuthEvent(type, false, false, authResult); } } } At this point, the debugger shows this line still highlighted: systemManager.dispatchEvent(new AuthEvent(AuthEvent.AUTHSUCCESS, false, false, e)); And I do "step into" again... generates the following error: TypeError: Error #1034: Type Coercion failed: cannot convert ads.events::[EMAIL PROTECTED] to mx.rpc.events.ResultEvent. at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at ads::LoginWindow/authByUsernameResult()[C:\src\flexProjects\Components\ads\LoginWindow.mxml:83] so my question is - what's causing this problem? dispatchEvent() expects an Event, which it gets... so exactly why is anything being converted from ads.events.AuthEvent to mx.rpc.events.ResultEvent? Many thanks. -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the scenes video at www.myspace.com/brianvanderark