Quote Originally Posted by Nightwalker83 View Post
I managed to get the flash to show without needing to use annoying javascript using this code:

HTML Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled-1</title>
</head>
<body bgcolor="#ffffff">
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400">
  <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
  <!--[if !IE]>-->
  <object type="application/x-shockwave-flash" data="Untitled-1.swf" width="550" height="400">
    <!--<![endif]-->
    <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
    <!--[if !IE]>-->
  </object>
  <!--<![endif]-->
</object>
</body>
</html>
... except that won't load anything in IE. you need to have the <param> tag present with the 'movie' attribute defined to let IE know what is being loaded; otherwise, you're telling it you have an object to load and then you never get around to telling it what to put inside of that object.

you should simply use the code I've posted above if you want the most simplistic way of loading a Flash file and care about validation. if you don't really care about validation, why are you even doing any of this? do it the old fashioned way. when you publish a flash file, the raw <object> stuff is all defined within the <noscript> stuff.