StageVideo.hx 1.3 KB

1234567891011121314151617181920212223242526
  1. package flash.media;
  2. @:require(flash10_2) extern class StageVideo extends flash.events.EventDispatcher {
  3. @:flash.property var colorSpaces(get,never) : flash.Vector<String>;
  4. @:flash.property var depth(get,set) : Int;
  5. @:flash.property var pan(get,set) : flash.geom.Point;
  6. @:flash.property var videoHeight(get,never) : Int;
  7. @:flash.property var videoWidth(get,never) : Int;
  8. @:flash.property var viewPort(get,set) : flash.geom.Rectangle;
  9. @:flash.property var zoom(get,set) : flash.geom.Point;
  10. function new() : Void;
  11. @:require(flash11_7) function attachAVStream(avStream : AVStream) : Void;
  12. @:require(flash11_4) function attachCamera(theCamera : Camera) : Void;
  13. function attachNetStream(netStream : flash.net.NetStream) : Void;
  14. private function get_colorSpaces() : flash.Vector<String>;
  15. private function get_depth() : Int;
  16. private function get_pan() : flash.geom.Point;
  17. private function get_videoHeight() : Int;
  18. private function get_videoWidth() : Int;
  19. private function get_viewPort() : flash.geom.Rectangle;
  20. private function get_zoom() : flash.geom.Point;
  21. private function set_depth(value : Int) : Int;
  22. private function set_pan(value : flash.geom.Point) : flash.geom.Point;
  23. private function set_viewPort(value : flash.geom.Rectangle) : flash.geom.Rectangle;
  24. private function set_zoom(value : flash.geom.Point) : flash.geom.Point;
  25. }