Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Preloading a swf
From: David Gee
Date: Mon, 30 Oct 2000 21:56:02 GMT

yes, but is there any way to use Javascript to cache flash movies before
actually playing them? ie

i have a flash movie three levels deep into my website, but i don't want
people to have to look at a "loading..." screen when they link to it. There
is a lot of content on my homepage, and chances are people will spend some
time viewing it before moving along. is there any way to cache the movie
from the homepage? for images, you just put this between the head tags:

if (document.images) {
cached_image = New Image();
cached_image.src = "image.gif";
}

I haven't tried it yet, but I think replacing "image.gif" with "movie.swf"
should work fine. I don't think Javascript checks file extensions.

You'd probably want to put the code inside a function and call it from an
OnLoad event, so that it loads the page before caching the movie.

david

----- Original Message -----
From: "Gregg Caines" <gcatneometrixsystems [dot] com>
To: <flasheratchinwag [dot] com>
Sent: Monday, October 30, 2000 4:00 PM
Subject: Re: FLASH: Preloading a swf


> No. Here's a preloader tutorial for Flash:
> Flash 5:
> http://www.macromedia.com/support/flash/ts/documents/wait_for_frame01.htm
> Flash 4:
> http://www.macromedia.com/support/flash/ts/documents/preloadmovie_f3.htm
>
> ---------------------------------------------------
> Gregg Caines
> n e o m e t r i x systems inc.
> http://www.neometrixsystems.com
> gcainesatneometrixsystems [dot] com
>
> > If I wanted to preload a swf file, would I do it just as I would
> preloading
> > an image using JavaScript?
> >
> >
> > >Ken Grygienc
> > Agency R
> > 312.670.0177 x228
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and the Flash(tm) Film Festival
> November 27-29, 2000, LONDON, National Film Theatre
>
> Produced by United Digital Artists and lynda.com
> -Sponsored by Macromedia, Adobe Systems and Apple Computer
> -http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
> Register before November 10 and save 200
> http:// www.flashforward2000.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save 200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Preloading a swf, Gregg Caines

Replies
  FLASH: Preloading a swf, Ken Grygienc
  Re: FLASH: Preloading a swf, Gregg Caines

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]