Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Pre-Loading Regular graphics on site from a Flash movie? |
| From: | John Croteau |
| Date: | Thu, 23 Dec 1999 23:58:08 GMT |
Hi Dave,
> Does anyone know if while a flash intro is playing you can pre-load graphic
> suck as .jpg, and .gif on a site that is a mix of Flash and Static graphics?
> If not, is there a solution for this?
The following will wait for Flash and everything else in the Body of a document
to load then will start loading images (Image1 and Image2) without displaying
them. Place the script in the Head of the document and add the onLoad command to
the Body.
<SCRIPT LANGUAGE="JavaScript1.1">
function preload()
{
img1 = new Image;
img1.src = "Image1.gif";
img2 = new Image;
img2.src = "Image2.gif";
}
</SCRIPT>
<BODY onLoad="preload()">
--
Co-author of Flash 4 Web Animation F/X and Design
Autographed copies now available - http://www.crownmall.com/Flash4/
----------- -----------------------
John Croteau croteau
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central (The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California
Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
Re: FLASH: Pre-Loading Regular graphics , David Doggett
Replies
FLASH: SiteCheck Please..., Marcel de Jong
Re: FLASH: SiteCheck Please..., Mark McFadden
FLASH: Pre-Loading Regular graphics on s, David Doggett
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

