Flasher Archive

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

Subject: Re: FLASH: Preloading a swf
From: John Dowdell
Date: Mon, 30 Oct 2000 22:54:20 GMT

At 1:39 PM 10/30/0, David Gee wrote:
>yes, but is there any way to use Javascript to cache flash movies before
>actually playing them? ie
>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.

Sorry, the various JavaScript interpreters in various browsers don't offer
an "embed" object like they do an "image" object. They can't specify an
embed programmatically.

You can, of course, have a teeny instance of it in the previous page.

But it's better to design so the thing just plays easily:
"How can I make a SWF start quickly?"


John Dowdell, Macromedia Tech Support, San Francisco CA US
Search technotes: http://www.macromedia.com/support/search/
Offlist email risks capture by the spam filters. I may not see your
email if it's not on the list. Private one-on-one email options are
available via Priority Access: http://www.macromedia.com/support/

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

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