Topic: Flash & html?

If i wanted to open a page, which started with a flash movie and when it had finished to move or redirect itsself to the actual main website?

how is that possible? how do i do that?
all replys much MUCH appriciated