Video.hx 760 B

123456789101112131415161718
  1. package flash.media;
  2. extern class Video extends flash.display.DisplayObject {
  3. @:flash.property var deblocking(get,set) : Int;
  4. @:flash.property var smoothing(get,set) : Bool;
  5. @:flash.property var videoHeight(get,never) : Int;
  6. @:flash.property var videoWidth(get,never) : Int;
  7. function new(width : Int = 320, height : Int = 240) : Void;
  8. function attachCamera(camera : Camera) : Void;
  9. function attachNetStream(netStream : flash.net.NetStream) : Void;
  10. function clear() : Void;
  11. private function get_deblocking() : Int;
  12. private function get_smoothing() : Bool;
  13. private function get_videoHeight() : Int;
  14. private function get_videoWidth() : Int;
  15. private function set_deblocking(value : Int) : Int;
  16. private function set_smoothing(value : Bool) : Bool;
  17. }