[Pro] SWF timed redirect

I have an SWF video file that automatically plays when my page loads. The file is about 2.5mb so it will vary from user to user, depending on their connection speed, how long it takes the file to load in the browser.

This causes a few problems for me as I want the page to redirect after 7 seconds. How can I trigger the timed re-direct to work once the file has played?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

What is the 7 seconds determined by? The best way to manage a redirect
from a Flash page (which might take aeons to load, or might be blocked
entirely) is to use a tiny redirect movie as a Flash “sniffer”. This
is a two-frame movie with no visible content and a bit of ActionScript
to load another URL as the second fraome. Use Flash to detect Flash,
in other words.

Set up the same page with and without Flash content, then set the
initial home page to be a blank or similar page containing nothing but
the Flash redirect and a backup META refresh to take visitors to the
non-flash page. So you cover all of the bases. Customer (without Flash
or with Flash disabled) arrives at a blank screen, sees nothing, a
moment later the page reloads and they see the non-flash page. Or,
customer (with Flash) arrives at a blank page, which immediately
redirects to the Flash page.

And then, once you are on the Flash page (or not) you can set the last
frame of your 7-second movie to be the same sort of redirect into your
main page.

Walter

On Apr 26, 2010, at 7:40 AM, jimmy b wrote:

I have an SWF video file that automatically plays when my page
loads. The file is about 2.5mb so it will vary from user to user,
depending on their connection speed, how long it takes the file to
load in the browser.

This causes a few problems for me as I want the page to redirect
after 7 seconds. How can I trigger the timed re-direct to work once
the file has played?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

How can I trigger the timed re-direct to work once the file has played?

Do this in the SWF rather than the HTML page. Just put a go-to link
in the last frame of the movie; it’ll be triggered when the movie
gets to the end. There’s no other way to do this reliably.

Don’t forget to include a ‘skip’ link somewhere in the page. Many
people really don’t like having to wait, even for 7 seconds.
Especially if they’ve been there before.

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options