Re: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Alex Harui
g 2011 11:11:12 -0700 Subject: Re: [flexcoders] Inject dependency into Flex application preloader You can write your code like that, but what code would set those values? None of the MVC frameworks I know of are running when the preloader is running. That’s the point of the preloader.

RE: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Philip Smith
-0700 Subject: Re: [flexcoders] Inject dependency into Flex application preloader You can write your code like that, but what code would set those values? None of the MVC frameworks I know of are running when the preloader is running. That’s the

Re: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Alex Harui
_ To: flexcoders@yahoogroups.com From: aha...@adobe.com Date: Tue, 9 Aug 2011 10:39:41 -0700 Subject: Re: [flexcoders] Inject dependency into Flex application preloader The preloader is instantiated long before the application. The app’s preloader property isn’t used at r

RE: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Philip Smith
structure that uses dependency injection. To: flexcoders@yahoogroups.com From: aha...@adobe.com Date: Tue, 9 Aug 2011 10:39:41 -0700 Subject: Re: [flexcoders] Inject dependency into Flex application preloader The preloader is instantiated long

Re: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Alex Harui
similar to how it's done with item renderers and 'ClassFactory' properties? To: flexcoders@yahoogroups.com From: aha...@adobe.com Date: Tue, 9 Aug 2011 10:05:04 -0700 Subject: Re: [flexcoders] Inject dependency into Flex application

RE: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Philip Smith
derers and 'ClassFactory' properties? To: flexcoders@yahoogroups.com From: aha...@adobe.com Date: Tue, 9 Aug 2011 10:05:04 -0700 Subject: Re: [flexcoders] Inject dependency into Flex application preloader Public class MyDownloa

Re: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Alex Harui
example of this, Alex? To: flexcoders@yahoogroups.com From: aha...@adobe.com Date: Mon, 8 Aug 2011 22:13:34 -0700 Subject: Re: [flexcoders] Inject dependency into Flex application preloader You can inject certain kinds of dependencies as long as they don’t drag

RE: [flexcoders] Inject dependency into Flex application preloader

2011-08-09 Thread Philip Smith
> You can inject certain kinds of dependencies as long as they don’t drag in > UIComponent. Can you provide an example of this, Alex? To: flexcoders@yahoogroups.com From: aha...@adobe.com Date: Mon, 8 Aug 2011 22:13:34 -0700 Subject: Re: [flexcoders] Inject dependency into Flex appli

Re: [flexcoders] Inject dependency into Flex application preloader

2011-08-08 Thread Alex Harui
You can inject certain kinds of dependencies as long as they don’t drag in UIComponent. On 8/8/11 4:29 PM, "method_air" wrote: Is it possible? http://ns.adobe.com/mxml/2009"; xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" preloader="com.sto