I'm trying to make a flash opening that when done playing or if skipped goes to the index.html file of the site.
Thank you for that bit of news. And your
question is?

(kidding)
Since you did not ask one - I'm going to speak for alot of people on here (not all) who in the past have posted replies over and over stating that a SPLASH PAGE, which is what you're describing, is a bad choice in design. First off, it's a nuisance, people want to get right to content. Secondly, although it is a way to ensure the Flash plugin is installed prior to navigating your internal site, you are forcing Flash on users. It does not matter that 95% of the users have Flash, it's just not a "best practice" based on user feedback here and also my personal experience. Take that as you see fit, of course. Then consider iPhone users and users with other PDA's that might not support Flash, we're talking serious problems getting to your content, and considering for developing for such devices is more important today than it was even a few years ago.
Finally, and this is much more serious, this is bad for SEO. Search engines these days don't just examine your HTML, they index based on content and of course all your important content is hidden behind this page when crawled.
Subjectively, some people think Flash splash screens are "so yesterday" i.e. it's more than just an obstacle, but old school. I don't agree with that entirely, but there is alot of sentiment about. There is one thing that is common to almost all, and that is the Flash must be of the highest quality and extremely well designed and produced. Bad Flash, especially on a splash page, will turn visitors away before the page even fully loads.
But don't let me stop you from asking whatever is you wish to ask.
-jim