You need to alter your flash file to set a cookie of sorts, with perhaps a 1-hour expiry, and check the cookie to see whether it should play the music or not. Could apply to animation as well.