Ver Mensaje Individual
  #3 (permalink)  
Antiguo 29/11/2007, 18:49
Flash_Man
 
Fecha de Ingreso: noviembre-2007
Mensajes: 2
Antigüedad: 16 años, 4 meses
Puntos: 0
Re: Ayuda, audio en un texto.

Muchas gracias compañero SinguerInc, le agradezco su aporte y tiempo. Lo voy a probar a ver que tal me va.

Hasta pronto

Cita:
Iniciado por SinguerInc Ver Mensaje
lo puedes hacer de la siguiente manera: el texto lo metes dentro a un TextField y en la propiedad htmlText metes el texto.
y metes la "llamada" a la function en el tag "A". ok? suerte, si lo necesitas en AS3 me lo dices, saludos.

en AS2:
Código:
this.createTextField("my_txt", 1, 100, 100, 300, 100);
my_txt.multiline = true;
my_txt.wordWrap = true;
my_txt.html = true;
my_txt.htmlText = "Hemos reliazado una <a href=\"asfunction:playSonido, track1.mp3\">entrevista</A> al Guitarrista Francisco";

function playSonido(trackName:String)
{
	trace(trackName);
}