MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Specifiche Pagina 291

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 369
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 290
100
For example, if your application requires the use of a camera, you can inform the user that they
must choose “Allow” in the Privacy Settings panel, and then issue a
System.showSettings(0)
command. (Make sure your Stage size is at least 215 by 138 pixels; this is the minimum size Flash
requires to display the panel.)
See also
Camera.get, Microphone.get, “Local disk space considerations” on page 83
Video (object)
Availability
Flash Player 6.
Flash Communication Server MX (not required).
The Video object lets you display live or recorded streaming video on the Stage without
embedding it in your SWF file. The video may be a live video stream being captured with the
Camera.get command, or a live or recorded video stream being displayed through the use of a
NetStream.play command (requires Flash Communication Server).
To display the video stream, first place a Video object on the Stage. Then use
Video.attachVideo to attach the video stream to the Video object.
To place a Video object on the Stage:
1 If the Library panel isnt visible, select Window >Library to display it.
2 Add an embedded Video object to the library by clicking the Options menu on the right side
of the Library panel title bar and choosing New Video.
3 Drag the Video object to the stage and use the Property inspector to give it a unique instance
name. (Do not name it Video.)
Note: You can also embed recorded streams (FLV files) using the File > Import or File > Import to Library commands.
For more information on embedding video files, see Using Flash.
Method summary for the Video object
Property summary for the Video object
Method Description
Video.attachVideo Specifies a video stream to be displayed within the boundaries of the Video object on
the Stage.
Video.clear Clears the image currently displayed in the Video object.
Property Description
Video.deblocking Specifies the behavior for the deblocking filter that the video compressor applies as
needed when streaming the video.
Video.height Read-only; the height in pixels of the video stream.
Video.smoothing Specifies whether the video should be smoothed (interpolated) when it is scaled.
Video.width Read-only; the width in pixels of the video stream.
Vedere la pagina 290
1 2 ... 286 287 288 289 290 291 292 293 294 295 296 ... 368 369

Commenti su questo manuale

Nessun commento