Public class MyDownloadProgressBar extends SparkDownloadProgressBar { private var injectedClass:MyInjectClass; }
On 8/9/11 9:35 AM, "Philip Smith" <loudj...@hotmail.com> wrote: > 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 application preloader 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" <loudj...@hotmail.com <http://loudj...@hotmail.com> > wrote: Is it possible? <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" preloader="com.storefront.editorhost.app.ProgressPreloader" > Cheers, Philip -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui