Thanks, Tracy's example worked fine for what i need.

Funny you mentioned Cache issue
I was just extracting the project into modules now and ran into cache issue 
where the modules are being cached but not properly updated :( 
Will your link work for modules?

so far i found
http://stackoverflow.com/questions/300757/preventing-flex-application-caching-in-browser-multiple-modules

but its not working, because i get an error on line
var moduleSection:ModuleLoaderSection;

Severity and Description        Path    Resource        Location        
Creation Time   Id
1046: Type was not found or was not a compile-time constant: 
ModuleLoaderSection.       main/src        main.mxml       line 23 
1240367390690   202994




--- In [email protected], Rick Winscot <rick.wins...@...> wrote:
>
> Any chance the second load attempt is pulling from cache?
> 
> http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14743
> 
> Rick Winscot
> 
> 
> On 4/21/09 9:21 AM, "Jason B" <nos...@...> wrote:
> 
> >  
> >   
> > 
> >   
> > 
> > The alert box never shows "loaded second swf" either
> > 
> > --- In [email protected] <mailto:flexcoders%40yahoogroups.com> ,
> > "Jason B" <nospam@> wrote:
> >> >
> >> > That sounds good so far i got this built from your suggestion, but the
> >> second swf never loads/plays now?
> >> > 
> >> > 
> >> > public function init(){
> >> > vfc_guy.autoLoad = false;
> >> > vfc_guy.source = "vfcfaq.swf";
> >> > vfc_guy.addEventListener(Event.COMPLETE, vfc_guy_play);
> >> > }
> >> > 
> >> > 
> >> > 
> >> > public function vfc_guy_play(){
> >> > Alert.show("LOADED second swf");
> >> > vfc_guy.load();
> >> > }
> >> > 
> >> > 
> >> > --- In [email protected] <mailto:flexcoders%40yahoogroups.com> ,
> >> "Kenneth Sutherland" <kenneth.sutherland@> wrote:
> >>> > >
> >>> > > Why don't you listen for the complete event. The swfloader will fire 
> >>> > > of
> >>> > > the 'complete' event when its loaded.  So you don't try to display it
> >>> > > until it has fully loaded.  At the same time you can listen to the
> >>> > > 'progress' event to see how much has loaded and maybe inform the user
> >>> > > that your app is loading something and give a % loaded message or
> >>> > > similar.
> >>> > > 
> >>> > >
> >> >
> > 
> >   
> >     
> > 
> >>
>


Reply via email to