[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] preloader

From: Chris Flowers
Subject: Re: [Swftools-common] preloader
Date: Tue, 01 Mar 2005 17:52:06 -0500


I've modified this slightly. I noticed that this.framesloaded was a typo.
The '_' was missing which would lead to an 'undefined' value.

GotoFrame(0); may also cause problems. ActionScript see frame 0 as 1.
Something I think you resolved in earlier fixes to swfc.


# ---------------------------------------------------------------------
# PreLoaderTemplate.sc
# ---------------------------------------------------------------------
.flash name=PreLoaderTemplate.swf background=white version=6
 .frame 1  
   .sprite loader # to be replaced by swfcombiner
 .put loader

 .frame 2
     if(this._framesloaded < 2) {    gotoAndPlay(1);  }

   .frame 3
   .sprite movie # to be replaced by swfcombine
   . end
    .put movie


reply via email to

[Prev in Thread] Current Thread [Next in Thread]