I am able to put a YouTube video into a flash page. My flash movie is only two frames. Frame 1 is a button which will move the movie to frame 2 where the youtube video plays. The following is the code to put the youtube video into the movie.
this.createEmptyMovieClip(“video_mc”, 10000); this.video_mc.loadMovie(“http://www.youtube.com/v/6uh4OS1lFUI&hl=en&fs=1&autoplay=1”);
What I would like to do is unload the youtube video and move the movie back to frame 1 when the youtube video is finished. But I do not know how to tell when the youtube video is finished. I was thinking that using _currentframe would be a way of telling. Any help would be greatly appreciated.
Thanks … Michael