Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/11/2007, 08:22
Avatar de SinguerInc
SinguerInc
 
Fecha de Ingreso: octubre-2007
Ubicación: Barcelona, España
Mensajes: 551
Antigüedad: 16 años, 7 meses
Puntos: 5
Re: Ayuda, audio en un texto.

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);
}