I'm trying to use swfobject to make it so that when I get visitors to
our website that do not have flash, it will display alternative
content.

I have an default.asp page that includes the file I have my flash
animation on and I put the required information within the head tags
of that file:

<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("myFlashContent", "8");
</script>

Then, in the file that I have my swf file, I have the following:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
width="932" height="250" id="myFlashContent">
<param name="movie" value="../images/slides.swf" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="../images/
slides.swf" width="932" height="250">
<!--<![endif]-->
<img src="flash_banner.gif" alt="Get Adobe Flash!" />
<!--[if !IE]>-->

</object>
<!--<![endif]-->
</object>


With this config, I get the error:

Active Server Pages error 'ASP 0139'

Nested Object

/includes/topNav_home1.asp, line 30

An object tag cannot be placed inside another object tag.

Does any one here have some experience with doing this with ASP pages?

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to