Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: start timing question |
From: | Erik [gearik] Mattheis |
Date: | Mon, 25 Jan 1999 03:14:50 GMT |
>> ->> Is there a way to start an animation 1 or 2 seconds later than
>> when going
>> ->> to a page? As in : DHTML script that executes first and then
>> starts the flash download. Javascript solution anyone?
>> ->In JavaScript you could use the setTimeout and document.write all
>> the Flash and put in a function that is called with a setTimeout function.
>> (I'm a neophyte in Javascripting).
Why won't putting a number of blank frames at the beginning of the movie work?
Although John's solution will work in some situations, you should be aware
that if you delay a document.write() with setTimeout(), ALL the current
content of the page is replaced ... ie there will be nothing on the page
other than that which is in the document.write() statements .... body
bgcolor is lost, etc.
To achieve the effect you want using document.write(), you have to create a
string that is an entire page - everything from <html> to </html> and
replace the entire document with a single document.write().
You also should make sure the page is entirely loaded before starting
setTimeout() ...
But what you should do first is get Danny Goodman's JavaScript Bible [geez
I feel like a walking advertisement for that book] http://www.dannyg.com/.
__________________________
Erik [gearik] Mattheis
<http://www.gourmandizer.com>
__________________________
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
Replies
Re: FLASH: graphics tablets, Michael Krisher
Re: FLASH: graphics tablets, joost van Schaik
Re: FLASH: graphics tablets, David Gary
Re: FLASH: graphics tablets, joost van Schaik
FLASH: start timing question, Keith Holmes
Re: FLASH: start timing question, Keith Holmes
Re: FLASH: start timing question, John Croteau
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]