splash page with Video then direct URL

I have a .wmv file i want to play on a splash page full screen. As soon as the video is over, i would like to see it dissolve or dissappear in some way and send me directly to my homepage URL.

Can someone send me a tutorial for this or give me instructions to do this.

I do have Flash CS5 if I need to use this program.

Thank you very much!
jmparksAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
deepanjandasConnect With a Mentor Commented:
For better performance, I would suggest convert .wmv to .flv and work.
Try this:
//video is the instance name of the FLVPlayback component.
import fl.video.VideoEvent;

video.source = "vid1.flv";
video.addEventListener(VideoEvent.COMPLETE, onVideoComplete);
video.play();

function onVideoComplete(event:VideoEvent):void
{
var request:URLRequest = new URLRequest("http://www.google.com");
navigateToURL(request);
}

Warm Regards
Deepanjan Das
http://deepanjandas.wordpress.com
0
 
jmparksAuthor Commented:
This worked perfect! Thank you!
0
All Courses

From novice to tech pro — start learning today.