Note: In some browsers, if you've run the other demos/tests, you may need to clear you cache and reload this page to see that the very short timeout is enough to catch that the SWF couldn't begin loading from the server in that short amount of time. Otherwise, some browsers may load the SWF immediately from the cache and the timeout alert will not trigger, even though it's only 1 millisecond long. This demo does add a random GET string to the end of the SWF's URL to try to avoid the cache making this test appear to function incorrectly.

Text before the alt content.

Text after the alt content.

These demos illustrate the 'options' parameter (formerly 'DoSWFCallback') to DoSWF.

Demo 'b' shows the 'swfTimeout' property, which specifies a number of milliseconds (in this demo, only 1, to ensure it fires) to wait after starting the SWF embed for it to start downloading. When the timeout fires, the swfCB callback is notified with the SWF_TIMEOUT event status value.