Fix getting flash object

type check the tagName if the object(movie_player) is correct