Hi there,
I've been given a flash movie to add to my DNN site - it all sounds fairly easy however I've been told I have to use the AC_FL_RunContent JavaScript function to play the movie. I have placed the script into an external JS which links to my page I then add the following to my HTML module using the basic editor in RAW render mode. Here's the code
<script language="JavaScript" type="text/javascript">
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
'width', '725',
'height', '305',
//'src', 'CCC_AS2',
'src','http://localhost/dnncccsdev/Portals/0/Flash/CCC_AS2',
'quality', 'high',
'pluginspage', 'http://www.adobe.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'CCC_AS2',
'bgcolor', '#ffffff',
'name', 'CCC_AS2',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'CCC_AS2',
'salign', ''
); //end AC code
</script>
I've placed the same code into a HTML page and it's fine but when I save my HTML module the item won't play!?! It doesn't show, there's just a white block the dimensions of my flash movie (if I right click I get the Flash right click menu)? There's no JS conflict with AC_FL_RunContent not beiong found as it is - I've noticed after saving my HTML module and going back to edit the Render mode seems to go back to HTML rather than Raw - any ideas anyones?