Why does it need to be done at preloader time?  You could simply make
the first screen/state of your app a UI that waits for the ASPX data.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of b_alen
Sent: Monday, June 09, 2008 12:22 AM
To: [email protected]
Subject: [flexcoders] Re: Possible to add some data to load to the
default preloader?

 

Can't do that, data is coming from aspx. In fact the only way this
could work is to add info* to swf which data has to be loaded with the
swf itself. Then the Flash Player would read that, calculate the size
of data and add it to the preloader of the main swf. Once the whole
bunsh is downloaded, data would be there in the native format on the
"root" of the app. Am I dreaming?

* How to add this info is the question. It can't be through AS that's
for sure, because AS is not running until the app is loaded. Write in
the header of the swf? Write in the HTML embed directives?

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Put the data in an RSL?
> 
> 
> 
> ________________________________
> 
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of b_alen
> Sent: Thursday, June 05, 2008 3:23 AM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Possible to add some data to load to the default
> preloader?
> 
> 
> 
> I always have some stuff to load before the app can be used. Is it
> possible to stick that loading into the default preloader? So the swf
> would know that it has to load other files also before it dispatches
> the event that it's fully loaded. Maybe some compiler directives, I
> don't know.
> 
> Thanks
>

 

Reply via email to