Publicado el 11.02.09, por Susana
Reproducir sonido de la Biblioteca
El ejemplo siguiente asocia el sonido “ring” al objeto de sonido “mi_sonido”. Un sonido en la biblioteca tiene el identificador de vinculación “ring”.
var mi_sonido:Sound = new Sound();
mi_sonido.attachSound (”ring”);
mi_sonido.start ();
Artículos relacionados:
- Reproducir sonido desde una URL Reproducir sonido desde una URL var mi_sonido:Sound = new Sound...
- Clase Tween Clase Tween Import mx.transitions.Tween; Import mx.transitions.easing.*; var NombreTw:Tween = new...
Related posts brought to you by Yet Another Related Posts Plugin.


Deje un comentario