Guest User

Untitled

a guest
Jun 20th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. package osbit.util
  2. {
  3. import flash.events.Event;
  4.  
  5. public class myEvents extends Event
  6. {
  7. public static const STOP_EVENT:String = "Stop";
  8. public static const PLAY_EVENT:String = "Play";
  9. public static const PAUSE_EVENT:String = "Pause";
  10. public static const LOOP_EVENT:String = "Loop";
  11.  
  12. public static const VOLUME_EVENT:String = "Volume";
  13.  
  14. public static const PROGRESS_EVENT:String = "Progress";
  15.  
  16. public static const CUEPOINT_EVENT:String = "CuePt";
  17.  
  18. // public static const CUE_EVENT:String = "Cue";
  19.  
  20.  
  21. public function myEvents(type:String, bubbles:Boolean = true,
  22. cancelable:Boolean = false)
  23. {
  24. super(type, bubbles, cancelable);
  25. }
  26.  
  27. override public function clone():Event
  28. {
  29. return new myEvents(type, bubbles, cancelable);
  30. }
  31. }
  32.  
  33.  
  34. }
Add Comment
Please, Sign In to add comment