It started as a legal issue I understand.
Here's MSDN's info: http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/activating_activex.asp
And Adobe's info: http://www.adobe.com/devnet/activecontent/articles/devletter.html
And my notes on the matter for fixing a skin that contains a flash graphic:
To replace typical Flash object such as this:
(generic bits in blue)
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="xx" height="yy">
<param name="movie" value="<%= SkinPath %>flashfile.swf">
<param name="quality" value="High">
<embed src="<%= SkinPath %>flashfile.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="xx" height="yy"></object>
Place this at top or in skin header, but alter the path to suit where it resides on the portal:
<script src="http://www.yourdomain.com/Portals/portal-number/Skins/skin-name/flash.js" type="text/javascript"></script>
Place this in the skin ascx file where the Flash object is supposed to go:
<script type="text/javascript">Runflash();</script>
Add <noscript></noscript> tags around the original flash object so it displays when Javascript is disabled.
<noscript>
<object classid=.... flash stuff>
.....
</object>
</noscript>
Then create a blank file, in this case called flash.js and place it in the skin folder. Add the following to the file and add your own flash info in the blue bits where needed. Note: Do not use <%= SkinPath %> in this js file - use the full path to the swf.
function Runflash()
{
document.write('<object classid="………">\n');
document.write('<param name="movie………" />\n');
document.write('<param name="quality………" />\n');
document.write('<embed src="http……"></embed>\n');
document.write('</object>\n');
}
Further parameters may be added in the same manner e.g:
document.write('<param name="xxxx" value="xxxx" />\n');
There is another simpler method around the web that can be used for content that is not permanently in the skin. I've found it to be less reliable and so I use the above method for skinning.
Regards,
Rob