MovieClip.hx 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. package flash.display;
  2. extern class MovieClip extends Sprite #if !flash_strict implements Dynamic #end {
  3. @:flash.property var currentFrame(get,never) : Int;
  4. @:flash.property @:require(flash10) var currentFrameLabel(get,never) : String;
  5. @:flash.property var currentLabel(get,never) : String;
  6. @:flash.property var currentLabels(get,never) : Array<FrameLabel>;
  7. @:flash.property var currentScene(get,never) : Scene;
  8. @:flash.property var enabled(get,set) : Bool;
  9. @:flash.property var framesLoaded(get,never) : Int;
  10. @:flash.property @:require(flash11) var isPlaying(get,never) : Bool;
  11. @:flash.property var scenes(get,never) : Array<Scene>;
  12. @:flash.property var totalFrames(get,never) : Int;
  13. @:flash.property var trackAsMenu(get,set) : Bool;
  14. function new() : Void;
  15. function addFrameScript(restArgs : haxe.extern.Rest<Dynamic>) : Void;
  16. private function get_currentFrame() : Int;
  17. private function get_currentFrameLabel() : String;
  18. private function get_currentLabel() : String;
  19. private function get_currentLabels() : Array<FrameLabel>;
  20. private function get_currentScene() : Scene;
  21. private function get_enabled() : Bool;
  22. private function get_framesLoaded() : Int;
  23. private function get_isPlaying() : Bool;
  24. private function get_scenes() : Array<Scene>;
  25. private function get_totalFrames() : Int;
  26. private function get_trackAsMenu() : Bool;
  27. function gotoAndPlay(frame : flash.utils.Object, ?scene : String) : Void;
  28. function gotoAndStop(frame : flash.utils.Object, ?scene : String) : Void;
  29. function nextFrame() : Void;
  30. function nextScene() : Void;
  31. function play() : Void;
  32. function prevFrame() : Void;
  33. function prevScene() : Void;
  34. private function set_enabled(value : Bool) : Bool;
  35. private function set_trackAsMenu(value : Bool) : Bool;
  36. function stop() : Void;
  37. }