Reproducir sonido de la Biblioteca

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:

  1. Reproducir sonido desde una URL Reproducir sonido desde una URL var mi_sonido:Sound = new Sound...
  2. 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

* Nombre, Email y Comentario son requeridos


Get Adobe Flash playerPlugin by wpburn.com wordpress themes