•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Graphics and Multimedia section within the Web Development category of DaniWeb, a massive community of 402,376 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,083 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Graphics and Multimedia advertiser: Programming Forums
Views: 5876 | Replies: 2 | Solved
![]() |
I was wondering if anyone knows how to get flash to open another html page after the movie has played.
im trying to make an opening page to my website which plays a short movie with the company logo on etc. When the movie has loaded and finished playing I want it to redirect the users browser to the homepage.
I have embedded the flash movie on a html page, and tried to use JavaScript to redirect the user after a set amount of time. However this doesn't really work because people with a slower connection take longer to download the movie, and then the page changes before the movie has finished playing.
I understand coding can be done in flash but I don't really have a clue how to do this as I am new to flash.
So basically what im asking is:
- Should the flash movie be embedded in a html document (I.E. domain.com/index.html), or should it be loaded directly (I.E. domain.com/movie.swf) for this to work?
- And how would I go about redirecting the user to the homepage after the movie has played?
Thanks for your time,
NuGG
im trying to make an opening page to my website which plays a short movie with the company logo on etc. When the movie has loaded and finished playing I want it to redirect the users browser to the homepage.
I have embedded the flash movie on a html page, and tried to use JavaScript to redirect the user after a set amount of time. However this doesn't really work because people with a slower connection take longer to download the movie, and then the page changes before the movie has finished playing.
I understand coding can be done in flash but I don't really have a clue how to do this as I am new to flash.
So basically what im asking is:
- Should the flash movie be embedded in a html document (I.E. domain.com/index.html), or should it be loaded directly (I.E. domain.com/movie.swf) for this to work?
- And how would I go about redirecting the user to the homepage after the movie has played?
Thanks for your time,
NuGG
Last edited by NuGG : Oct 22nd, 2006 at 10:09 am.
Pubonwheels - Mobile Bar Services for the South West of England.
The Kings Head Inn - The Kings Head, Underhill, Coleford, Somerset, UK.
South West Ravers - Going out to all you jungle drum and bass ravers.
UFB Live Radio - Keep It Locked.
The Kings Head Inn - The Kings Head, Underhill, Coleford, Somerset, UK.
South West Ravers - Going out to all you jungle drum and bass ravers.
UFB Live Radio - Keep It Locked.
In the last keyframe of your movie, write following code in action panel:
getURL("http://www.domain.com/index.html"); aaha makes sense.
Thanks for that. great help,
NuGG
Thanks for that. great help,
NuGG
Pubonwheels - Mobile Bar Services for the South West of England.
The Kings Head Inn - The Kings Head, Underhill, Coleford, Somerset, UK.
South West Ravers - Going out to all you jungle drum and bass ravers.
UFB Live Radio - Keep It Locked.
The Kings Head Inn - The Kings Head, Underhill, Coleford, Somerset, UK.
South West Ravers - Going out to all you jungle drum and bass ravers.
UFB Live Radio - Keep It Locked.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Graphics and Multimedia Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
adobe animations beta dell development downloads explorer files flash flash flv gradient graphics hard drive hardware ie7 intel interactivity. internet laptop linux media memory microsoft movie multimedia news nvidia open-source opengl peripherals photoshop preview sandisk scripting security sony streaming video web web development youtube
- How do i load a image on the same page ? (Site Layout and Usability)
- Can I place an image into the Flash movie box so appears when Flash blocked by browse (Graphics and Multimedia)
- expanding flash movie (Graphics and Multimedia)
- Simple ASP.Net Login Page (Using VB.Net) (ASP.NET)
- How to insert a Flash movie in html and maintain w3c standards? (HTML and CSS)
Other Threads in the Graphics and Multimedia Forum
- Previous Thread: swfObject unloads when i call javascript
- Next Thread: Trying to get e-commerce working in Flash MX



Linear Mode