

LINEA 70 WARNING 5553 SE UTILIZO EL VALOR DE LA FUNCIÓN DONDE SE ESPERABA EL TIPO BOLEAN. POSIBLEMENTE FALTAN LOS PARENTESIS () DETRAS DE ESTA REFERENCIA A LA FUNCION. Y BUENO EL SWF SALE BIEN PERO ESE TE AVISO SALE TAMBIEN. chicos profavor si me puede ayuadar y ME PUEDEN DECIR COMO ARREGLARLO PORQUE ESTO ME APARECIO CUANDO PUSE LA CONDICION EN LA FUNCION DEL BOTON
import flash.display.Stage;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
var swfStage:Stage = this.stage;
swfStage.scaleMode = StageScaleMode.NO_SCALE;
swfStage.align = StageAlign.TOP_LEFT;
function resizeDisplay(event:Event):void{
//escalar el swf a la pantalla
var swfWidth:int = swfStage.stageWidth;
var swfHeight:int = swfStage.stageHeight;
// escalar imagen de fondo
var newVideoHeight:Number = swfHeight;
var newVideoWidth:Number = swfWidth;
videoScreen.height = newVideoHeight;
videoScreen.width = newVideoWidth;
// posicion cinta inferior en lado inferior
cinta.y = videoScreen.height - cinta.height;
}
swfStage.addEventListener(Event.RESIZE, resizeDisplay);
var swfWidth:int = swfStage.stageWidth;
var swfHeight:int = swfStage.stageHeight;
var camina:Cinta = new Cinta;
addChild(camina);
cinta.x = 0
cinta.y = swfHeight - cinta.height;
menuDesplegable.menu1_btn.addEventListener(MouseEvent.CLICK, IrTema1);
function IrTema1(event:MouseEvent):void
{
gotoAndPlay("Diseño1");
--->LINEA 70<if (IrTema1) {
cinta.play(); // con esto el clip pasara de stop que tiene en su lina de tiempo a play cuand se pulse el boton
}
}