Posts Tagged ‘ASP’

Flash Movie on a .ASP page

February 25th, 2010

When trying to add a Flash.swf movie to a .ASP page you will sometimes get the following error:

Active Server Pages error 'ASP 0139'
Nested Object
/cli/context.planning/pw/introduction/index.asp, line 88
An object tag cannot be placed inside another object tag.

This can easily be resolved by putting the flash movie into the following:

    <!--[if !IE]> <-->
      <object data="movie.swf" width="320" height="240"
              type="application/x-shockwave-flash">
        <param name="salign" value="lt" />
        <param name="quality" value="high" />
        <param name="scale" value="noscale" />
        <param name="bgcolor" value="#FFFFFF" />
        <param name="pluginurl"
               value="http://www.macromedia.com/go/getflashplayer" />
        </object>
    <!--> <![endif]-->

This would go were you normally put

<!--#include file="flash.txt"-->
if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz