More information about the Underscore mailing list

[_] Simple Flash Preload Problem

Jon Bennett jmbennett at gmail.com
Wed Jan 19 15:06:32 GMT 2005

oops, forgot to delete the event and the closing brackets!!!!!!

jon

this.stop();

// preload main timeline
this.onEnterFrame = function () {
var total = this.getBytesTotal();
var amt = this.getBytesLoaded();
if (amt > 4 && amt == total) {
this.nextFrame();
delete this.onEnterFrame;
} else {
trace ("Loading movie");
}
}


On Wed, 19 Jan 2005 15:05:14 +0000, Jon Bennett <jmbennett at gmail.com> wrote:

> hi dan,
>
> Move everything to the second frame and add the following code to the
> timeline in the first frame of the movie...
>
> hth
>
> jon
>
> this.stop();
>
> // preload main timeline
> this.onEnterFrame = function () {
> var total = this.getBytesTotal();
> var amt = this.getBytesLoaded();
> if (amt > 4 && amt == total) {
> this.nextFrame();
> } else {
> trace ("Loading movie");
> }
>
> On Wed, 19 Jan 2005 11:27:12 -0000, Michael Trim <michael at ibltd.com> wrote:
> > >>I was just hoping that there would be a command that would allow the
> > application to load the attached movie into the same memory space as
> > clicking "Export at First Frame " does.
> >
> >
> > Thats exactly what you are doing putting them on the final frame of the
> > movie, same space just loaded later.
> >
> > --
> > No virus found in this outgoing message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 17/01/2005
> >
> >
> > This message has been scanned for viruses by MailController - www.MailController.altohiway.com
> >
> > --
> > underscore_ list info/archive -> http://www.under-score.org.uk
> >
>
>
> --
>
> jon bennett
> t: +44 (0) 700 809 9770 w: http://www.jben.net/
> iChat (AIM): jbendotnet
>


--


jon bennett
t: +44 (0) 700 809 9770 w: http://www.jben.net/
iChat (AIM): jbendotnet