On Tue, May 26, 2009 at 11:49 PM, luvfotography
<[email protected]> wrote:
> I've created a preloader class, and is there a way to pass a parameter into 
> my preloader?

>
> Here is my application tag:
>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
>                 applicationComplete="appInit()"
>                 layout="absolute"
>                 preloader="com.mysite.preloader.SSProgressBarNoWait"

What kind of parameter is this?

I don't see a direct way to pass any parameters. The preloader object
(which is set in your IPreloaderDisplay's preloader property) is a
child of the SystemManager, so you could maybe work your way up to the
SystemManager get the URL parameters from there.

  preloader.parent.loaderInfo.parameters.myParameter.

Manish

Reply via email to