El Action Script lo manejas dentro del codigo del FLA
y luego tienes que publicar tu pelicula y tienes que definir que archivos se generan:
1) desde el menu FILE --> Publish Settings --> Pestaña Formats, escoges FLASH(.SWF) y HTML(.html) y oprimes el boton PUBLISH
este paso te genera los archivos SWF y HTML en la misma carpeta donde tienes tu archivo FLA
y con el mismo nombre que el FLA..
2) luego con el block de notas abres el archivo .html generado en el paso anterior y realizas los cambios que se te indican en el tutorial.
Ademas yo tengo un codigo HTML con Javascript para controlar que la ventana se achique hasta un límite, y es el siguiente
Código :
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Warner Channel</title>
<script type="text/javascript">
LimX = 760;
LimY = 630;
//para obtener el tamaño que necesita el flash
function getHeight(){
var limit = 630;
if(document.body.clientHeight > LimY){
return document.body.clientHeight;
} else{
return LimY;
}
}
function getWidth(){
var limit = 760;
if(document.body.clientWidth > LimX){
//return document.body.clientWidth;
return "100%";
} else{
return LimX+"px";
}
}
//para mostrar/ocultar el scroll en IE explorer de acuerdo al tamaño
function setScrollIE(){
document.body.scroll=(document.body.clientHeight <LimY || document.body.clientWidth<LimX)? "yes" : "no";
}
function setFlashSize(){
document.getElementById("VentanaFlash").style.height = getHeight()+"px";
document.getElementById("VentanaFlash").style.width = getWidth();
setScrollIE();
}
</script>
<style type="text/css">
html, body { height: 100%; margin: 0; padding: 0; }
</style>
</head>
<body onresize="setFlashSize()">
<div id=VentanaFlash>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="100%" >
<param name="movie" value="diagrama_liquido.swf" />
<param name="quality" value="high" />
<embed src="diagrama_liquido.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="100%" ></embed>
</object>
</div>
</body>
</html>