Click to See Complete Forum and Search --> : How to fwd. client to next page??
Moomancow
02-07-2003, 10:03 PM
Good day all. Alright, I have a commercial I made, and it runs for about 15 seconds. After it is over, I want to send the web surfer the the homepage. How do I loop the moive once, and when the moive is over, send them to the index.html page?!!??! I currently have a short moive with a skip button, the skip button, when pushed, jumps to frame number 149 (outta 150). But how can I make the browser automatically forward the client to the homepage?? Appreciate any help anyone can give!! Thanks guys!!
- Moomancow
khalidali63
02-08-2003, 07:12 AM
When you say "movie" I presume you are talking about falsh movie,
I am prety sure there has to be a way of knowing in flash that when a movie is done.
there is a way to call a JavaScript function in flash in that function you only have to write this line
e.g
document.location.href = "yourNextPage.html"
this will open the next page in the current window.
cheers
Khalid
Charles
02-08-2003, 07:32 AM
That should be:
window.location
or
window.location.href
See http://developer.netscape.com/docs/manuals/js/client/jsref/document.htm and http://developer.netscape.com/docs/manuals/js/client/jsref/location.htm#1193137 for details.