en el frame 1, he colocado:
Código :
tf.htmlText = ""; textos = "<img src='img01.jpg' hspace='0' width='405' height='148' /> son this afternoon described</b> as 'a pity' Rio Ferdinand's exclusion from Saturday's Euro 2004 qualification"; _root.tf_max = textos.length; speed = 10;
en el cuadro 2:
Código :
onEnterFrame = function() { if (_root.tf_max <= 1) { output = substring(textos, 1, -1); tf.htmlText = output; break; } else { tfLength = _root.tf_max - speed; _root.tf_max = tfLength; output = substring(textos, tfLength, speed); tf.htmlText = output + tf.htmlText; } }; function reset() { tf.htmlText = ""; _root.tf_max = textos.length; }; stop();
Se ve que se reserva el espacio de la imagen en el bloque de texto, pero la imagen no se ve.