![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
22/04/2008, 07:05
|
![Avatar de sirguy](http://static.forosdelweb.com/customavatars/avatar152683_2.gif) | | | Fecha de Ingreso: septiembre-2006 Ubicación: Mallorca
Mensajes: 959
Antigüedad: 18 años, 4 meses Puntos: 12 | |
Re: Parm a Variable Creando un archivo txt llamado songs:
song=cancion
Y en el fla:
var cargador_lv:LoadVars = new LoadVars();
cargador_lv.load("songs.txt");
cargador_lv.onLoad = function() {
mus=this.song
mySound = new Sound();
mySound.loadSound(mus+".mp3", true);
mySound.start();
}
Y listos
__________________ Chanante! |