MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Spécifications Page 209

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 369
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 208
18
Camera.muted
Availability
Flash Player 6.
Flash Communication Server MX (not required).
Usage
activeCamera.muted
Description
Read-only property; a Boolean value that specifies whether the user has denied access to the
camera (
true) or allowed access (false) in the Flash Player Privacy Settings panel. When this
value changes,
Camera.onStatus is invoked. For more information, see Camera.get.
Example
In the following example, when the user clicks the button, Flash publishes and plays a live stream
if the camera is not muted.
on (press)
{
// If the user mutes camera, display offline notice.
// Else, publish and play live stream from camera.
if(myCam.muted) {
_root.debugWindow+="Camera offline." + newline;
} else {
// Publish the camera data by calling
// the root function pubLive().
_root.pubLive();
// Play what is being published by calling
// the root function playLive().
_root.playLive();
}
}
See also
Camera.get, Camera.onStatus
Camera.name
Availability
Flash Player 6.
Flash Communication Server MX (not required).
Usage
activeCamera.name
Description
Read-only property; a string that specifies the name of the current camera, as returned by the
camera hardware.
Vue de la page 208
1 2 ... 204 205 206 207 208 209 210 211 212 213 214 ... 368 369

Commentaires sur ces manuels

Pas de commentaire