The alert box never shows "loaded second swf" either

--- In flexcoders@yahoogroups.com, "Jason B" <nos...@...> 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 flexcoders@yahoogroups.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