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" <[email protected]> wrote:

>  
>   
> 
>   
> 
> The alert box never shows "loaded second swf" either
> 
> --- In [email protected] <mailto:flexcoders%40yahoogroups.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 [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