It is the absence of text that will hurt your rankings. Having Flash within your website does not hurt. Think of Flash much like any other graphic image; there is no text in Flash for the search engines to read.