How to rename index.php to home.php

how to correct example.com/home.php?

First, put things back the way you found them. Both index.php and home.php are reserved file names. And index.php is special not only to WordPress but to the server itself– look into DirectoryIndex. You should not be manipulating them in this way. Unless you really know what you are doing you will cause trouble for yourself.

If you want to force your user to watch your Flash animation, which I strongly discourage– I would leave your site and never return, plus iOS does not support Flash and Adobe has stopped making the mobile player for Android— you probably want something like:

function force_feed_flash() {
    if (is_home() || is_front_page()) {
        wp_safe_redirect(home_url('your_flash_page'));
    }
}
add_action('template_redirect','force_feed_flash');

Your Flash player can redirect back to the proper site when it is done. I am not sure I have the condition for the redirect right, but you should be able to work out when you want the redirect to occur and when you don’t.