Comunidad de diseño web y desarrollo en internet online

Ayuda con CSS

Citar            
MensajeEscrito el 26 Mar 2008 06:17 pm
hola
Quisiera cambiar el estilo de letra a un documento que agrego al flash, pero al integrrar al css los valores no los toma y no cambia el estilo de la letra y lo deja tal cual esta descrito en el texto dinámicio. Este es el código, pero creo que no se puede cargar de forma anidada, espero su ayuda.

Código :

var leer_nuevo:LoadVars    = new LoadVars();
var enviar_nuevo:LoadVars = new LoadVars();
 
var myCSS = new TextField.StyleSheet();
 
var cssURL = "estilo1.css";


tipo='fundador';
enviar_nuevo.tipo='fundador';

   enviar_nuevo.sendAndLoad("http://mi_URL",leer_nuevo,"POST");
   leer_nuevo.onLoad = function() {
       txt_fund.html =true;
   
   txt_fund.htmlText="";
   texto=this["fundador"];
      
   myCSS.load(cssURL);
   myCSS.onLoad = function(exito) {
         if (exito) {
            txt_fund.styleSheet = myCSS;
            txt_fund.text=texto;
         }
   }
   
      
};

Por Viky

8 de clabLevel



 

msie7
Citar            
MensajeEscrito el 31 Mar 2008 11:14 pm
Hola ... A mi tambien me haria falta saber esto ... Si alguien nos puede ayudar seria muy bueno ...

Gracias

Saludos !!





___________________________
Maternidad
Libros Gratis

Por llegaelbebe

0 de clabLevel



 

opera

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.