Somebody please help me!

I am trying to create a dynamic website. Everything has been working just perfect, but I just realized that some of the files.swf are not showing in IE. This is an example of one of the pages: If you look in chrome or firefox, it will display the mini gallery (swf file), but it will not in IE (keeps thinking but does nothing). The file is programed to work in a way that the swf script pulls the path to the file from a database.

... <object type="application/x-shockwave-flash" data="<? echo $swf; ?>" width="248" height="312"> ...

Am I doing something wrong? SWF works fine for other galleries, but not for the ones being pulled from the database.