Hi Eric, have you looked at the modified CairngormServiceLocator in Prana? http://www.herrodius.com/blog/131
regards, Christophe 2008/4/23 Eric Cancil <[EMAIL PROTECTED]>: > I think a little more thought could be put into this class. Due to the > fact that it uses describeType to discover the services that have been added > to it, and it is not a dynamic class/ does not have any way to dynamically > add services at runtime...it makes it in my view impossible to add say for > example services that youve loaded in an initialization file at runtime. If > an accessor method to add service at runtime was added I think it would make > this class a lot more dynamic. Instead it relies on MXML being compiled > down to AS and variables automatically being added. > > Any thoughts? > Eric > > Ps... please dont suggest to roll my own locator, i know ;) > > -- Christophe Herreman http://www.herrodius.com http://www.pranaframework.org