Plugin development – loading Javascript and Flash

you should use wp_print_scripts hook for your scripts instead of init and in your callback make sure that you are not in the administration pages something like this:

add_action('wp_print_scripts','register_libraries');
function register_libraries(){
    if (!is_admin()){
     //enqueue your scripts here
    }
}

as for adding flash, that should be a separate question just make sure to add more details about it.