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

  • 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 293
Client-Side Communication ActionScript 103
Video.height
Availability
Flash Player 6.
Flash Communication Server MX (not required).
Usage
myVideoObject.height
Description
Read-only property; an integer specifying the height of the video stream, in pixels. This value is
the same as the
Camera.height property of the Camera object that is capturing (or previously
captured) the video stream. You may want to use this property, for example, to ensure that the
user is seeing the video at the same size at which it was captured, regardless of the actual size of the
Video object on the Stage.
Example
The following example lets the user press a button to set the height and width of a video stream
being displayed in the Flash Player to be the same as the height and width at which the video
stream was captured.
// First attach the stream to the Video object
myVid.attachVideo(videoSource);
// Then attach code like the following to a button
on (release) {
_root.myVid._width = _root.myVid.width
_root.myVid._height = _root.myVid.height
}
See also
Video.width
Video.smoothing
Availability
Flash Player 6.
Flash Communication Server MX (not required).
Usage
myVideoObject.smoothing
myVideoObject.smoothing = true | false
Description
Property; specifies whether the video should be smoothed (interpolated) when it is scaled. The
player has to be in high-quality mode for this to work. The default value is
false.
Vue de la page 293
1 2 ... 289 290 291 292 293 294 295 296 297 298 299 ... 368 369

Commentaires sur ces manuels

Pas de commentaire