Developing Flash Lite 2.x and 3.0 Applications

Controlling device video with ActionScript

To control device video playback, you use the ActionScript Video object. There are several differences between the Video object in Flash Lite 2.0 and later and the Video object in the desktop version of Flash Player.

The following methods of the Video object are available only in Flash Lite 2.0 and later and not in the desktop version of Flash Player:

  • Video.play()
  • Video.stop()
  • Video.pause()
  • Video.resume()
  • Video.close()
  • Video.attachVideo() (Flash Lite 3.0 only)

    NOTE

     

    These methods of the Video object correspond roughly to the same methods available in the NetStream object in the desktop version of Flash Player.

The following methods and properties of the Video object in the desktop version of Flash Player are not supported by Flash Lite 2.0:

  • Video.clear()
  • Video.deblocking
  • Video.height
  • Video.smoothing
  • Video.width
  • Video._visible

For more information about using the Video object in Flash Lite, see the Video object entry in Flash Lite 2.x and 3.0 ActionScript Language Reference.