Bueno estoy haciendo un texto dinamico al que le quiero agregar imagenes. lei un tutorial y copie exactamente el codigo que me daba modificando el nombre de archivo de mi imagen y ni siquiera el texto aparece!!
Bueno aca pongo los codigos que utilice:<p align='center'><font color='#990000'>Prueba de HTML en Flash MX 2004</font></p>
<img src='Foto.jpg' />Esto es una <b>prueba</b> de como <i>Flash MX 2004</i> soporta HTML e imagenes
incrustadas en sus campos de texto<br />Mucho mas poderoso que <u>Flash MX</u>
y en las acciones de flash coloqueSystem.useCodePage = true;
barra.useHandCursor = false;
zona.useHandCursor = false;
//
desplazamiento = mitextField._height-barra._height;
izquierda = barra._x;
superior = barra._y;
derecha = barra._x;
inferior = desplazamiento;
//
formato = new TextFormat();
formato.font = "verdana";
formato.size = 10;
formato.align = "left";
//
miTextField.border = true;
mitextField.borderColor = "0xcccccc";
miTextField.type = "Dynamic";
miTextField.selectable = false;
miTextField.html = true;
miTextField.text = "Cargando datos..."
//
datos = new LoadVars();
datos.load("texto.txt"
;
//
datos.onLoad = function() {
miTextField.htmlText = datos.texto;
miTextField.setTextFormat(formato);
//
barra.onEnterFrame = function() {
//-- scroll
scrollvalue = barra._y/desplazamiento;
max = texto.maxscroll;
texto.scroll = Math.round((scrollvalue*(max-1))+1);
//-- drag
barra.onPress = function() {
startDrag(this, false, izquierda, superior, derecha, inferior);
};
barra.onRelease = function() {
stopDrag();
};
zona.onPress = function() {
if (_root._ymouse<desplazamiento) {
barra._y = _root._ymouse-115;
} else {
barra._y = (_root._ymouse-115)-barra._height;
}
};
};
};
bueno gracias!! a ver quien me puede ayudar si no es musha molestia...