flash em grails
26/06/2011 00:00
<!-- Este codigo fica em grails-app/views/objetos2/10/atividade.gsp -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Agora vai</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script language="javascript" type="text/javascript" src="${resource(dir:'js',file:'swfobject.js')}" ></script>
<!--g:javascript src="swfobject.js"/-->
</head>
<body>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
width="1050" height="900" id="Untitled-1" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="index.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="${resource(dir:'swf',file:'index.swf')}" quality="high" scale="showall" bgcolor="#ffffff" width="1050"
height="900" name="index" align="middle" play="true" loop="false" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
</object>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Agora vai</title>
<script language="javascript">
location = "${resource(dir:'swf',file:'index.swf')}";
</script>
</head>
<body onload="direcionar();">
</body>
</html>
Para se registrar, clique aqui.