2008-12-16 13:39:50
Stretching Flash
Hi,
I'm VERY new to ATutor, and not really a coder. A tough combination. I have been having some success with it, but have run into a problem.
I would like to display a flash movie within a course. If i make the movie a fixed size, it goes in no problem. But, i would like the movie to fill the users screen (within the content area, not the entire screen).
I have a html page, which i made, which does this, but if i put that code into ATutor, nothing shows up. I'm sure there is a simple reason for this, but i have no idea what it is (maybe the external javascript file ?). 
If i am doing this wrong, does anyone have any suggestions on a better way of accomplishing this? IS this even possible?
Here is the HTML code i'm using (and yes, i've uploaded the Flash and .js files).
<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>sample3</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
	if (AC_FL_RunContent == 0) {
		alert("This page requires AC_RunActiveContent.js.");
	} else {
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
			'width', '100%',
			'height', '100%',
			'src', 'sample3',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'window',
			'devicefont', 'false',
			'id', 'sample3',
			'bgcolor', '#ffffff',
			'name', 'sample3',
			'menu', 'true',
			'allowFullScreen', 'false',
			'allowScriptAccess','sameDomain',
			'movie', 'sample3',
			'salign', ''
			); //end AC code
	}
</script>
<noscript>
	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" id="sample3" align="middle">
	<param name="allowScriptAccess" value="sameDomain" />
	<param name="allowFullScreen" value="false" />
	<param name="movie" value="sample3.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />	<embed src="sample3.swf" quality="high" bgcolor="#ffffff" width="100%" height="100%" name="sample3" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
	</object>
</noscript>
</body>
</html>
Any help is appreciated.
If you are asking for help, provide lots of detail so problems can be reproduced.
Things to describe: 
  Operating system ATutor is installed on - Vista 64
  ATutor version - 1.6.1
  Patch #s applied - 001-0012
  ATutor theme name - Classic
  PHP version -
  MySQL version -
  Webserver & version -
  Copies of error messages -
  Changes to default settings -
  Web browser being used - IE, Firefox.
  ...and anything else relevant -