They happen early in SystemManager before [mixin], assuming the class you want is baked into the SWF. I think CursorMgr, PopUpMgr are, but not others. Check a link-report to be sure.
To beat them, subclass SM, override mx_internal docFrameHandler and register before calling super. One of these days, we'll clean up this aspect of startup. From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Tuesday, August 26, 2008 3:30 PM To: [email protected] Subject: [flexcoders] When do all the calls to Singleton.registerClass() happen, and can I beat it to the punch? Hey guys, I can't really use Builder to do this search due to all the [ExcludeClass] tags and such (and I don't have a builder project set up for the open source SDK atm). Where / when are the framework singletons registered? Can I beat it (chronologically) with [Mixin] (preferred) or calling a function in static (smelly)? Or would it require compile-time options or monkey-patching? Cheers, -Josh -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

