Hola a todos tengo un flash que crea ventanas todo bien,pero cuando incrusto el flash en html y utilizo firefox funciona mal, cuando creo las ventanas me las duplica me crea una con contenido y otra sin el.en cambio en iExplorer funciona.El codigo de la ventana es este:

Código :

function crearVentana(inix,iniy,ancho,alto,pelicula:String,tituloVentana:String){
   var ventana=_root.createEmptyMovieClip ("ventana_mc",_root.getNextHighestDepth() );
   with(ventana){
      moveTo(inix,iniy+30);
      lineTo(inix+ancho,iniy+30);
      lineStyle(1,0x000000,100);
      beginFill(0xCCCC99,50);
      moveTo(inix,iniy);
      lineTo(inix,iniy);
      lineTo(inix+ancho,iniy);
      lineTo(inix+ancho,iniy+alto);
      lineTo(inix,iniy+alto);
      endFill();
   }//FIN DEL WITH
///FIN DE LA VENTANA EN SI
/// CREAR UN TEXTO PARA EL TITULO
   var titulo= _root.ventana_mc.createEmptyMovieClip ("titulo_mc",_root.ventana_mc.getNextHighestDepth());
   titulo._x=inix+15;
   titulo._y=iniy+2;
      
   titulo.titulo_txt.setTextFormat(formatoTitulo);
   titulo.createTextField("titulo_txt",titulo.getNextHighestDepth (),5,5,220,20);
   var formatoTitulo:TextFormat=new TextFormat();
   with(formatoTitulo){
      font="Arial";
      size="17";
      cTextColor=0x000000;
   }

   titulo.titulo_txt.text=tituloVentana;
///FIN  CREAR EL TITULO
///CREO UN BOTON PARA CERRAR LA VENTANA
   var boton=_root.ventana_mc.createEmptyMovieClip ("cerrar_mc",_root.ventana_mc.getNextHighestDepth ());
   with(boton){
      
      //
      lineStyle(0,0x000000,100);
      beginFill(0xCCCC99,100);
      moveTo(inix+ancho-30,iniy+5);
      lineTo(inix+ancho-30,iniy+5);
      lineTo(inix+ancho-30+20,iniy+5);
      lineTo(inix+ancho-30+20,iniy+5+20);
      lineTo(inix+ancho-30,iniy+5+20);
      endFill();
      /*Esto es una x para el boton de cerrar pero no va bien 
      lineTo(inix+ancho-30+20,iniy+5+20);
      moveTo(inix+ancho-30,iniy+5);
      lineTo(inix+ancho-30,iniy+5);
      lineTo(inix+ancho-30+20,iniy+5+20);
      lineTo(inix+ancho-30+20,iniy+5+20);
      moveTo (inix+ancho-30+20,iniy+5);
      lineTo(inix+ancho-30+20,iniy+5);
      lineTo(inix+ancho-30,iniy+5+20);
      */
   }
   _root.ventana_mc.cerrar_mc.onPress=function(){
      //FUNCION QUE CIERRA LA VENTANA AL PRESIONAR EL BOTON
      delete ventana;
      delete boton;
      delete titulo;
      ventana_mc.unloadMovie ();
      bandera=false;
      
   }
///FIN DEL BOTON PARA CERRAR LA VENTANA   
///CREO UN CONTENEDOR PARA LAS PELICULA
var contenedor=_root.ventana_mc.createEmptyMovieClip ("contenedorPelicula_mc",_root.ventana_mc.getNextHighestDepth ());
contenedor._x=inix;
contenedor._y=iniy+30;
contenedor.loadMovie(pelicula);
//FIN DEL CONTENEDOR PARA LA PELICULA   
      
}//FIN DE LA FUNCION CREAR VENTANA


y la creo presionando botones con el siguiente codigo

Código :

porta_btn.onPress=function(){
     if(bandera==false){   
    crearVentana(100,40,300,300,"portafolio.swf","Portafolio ...");
    bandera=true;
  }
    seccion_txt.text="Curricullum";
}

Espero haberme explicado .Gracias por vuestro.