PageRenderTime 57ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

/plugins/bwcheck/src/actionscript/org/flowplayer/bwcheck/detect/DynamicStreamEvent.as

https://github.com/longlho/flowplayer
ActionScript | 31 lines | 16 code | 7 blank | 8 comment | 0 complexity | 0ffd15fce10fdefcc3a9199742693c66 MD5 | raw file
Possible License(s): MIT, BSD-3-Clause
  1. /*
  2. * This file is part of Flowplayer, http://flowplayer.org
  3. *
  4. * By: Daniel Rossi, <electroteque@gmail.com>, Anssi Piirainen Flowplayer Oy
  5. * Copyright (c) 2008-2011 Flowplayer Oy *
  6. * Released under the MIT License:
  7. * http://www.opensource.org/licenses/mit-license.php
  8. */
  9. package org.flowplayer.bwcheck.detect {
  10. import flash.events.Event;
  11. public class DynamicStreamEvent extends Event {
  12. public static const SWITCH_STREAM:String = "switch_stream";
  13. private var _info:Object;
  14. public function DynamicStreamEvent(eventName:String) {
  15. super(eventName);
  16. }
  17. public function set info(obj:Object):void {
  18. _info = obj;
  19. }
  20. public function get info():Object {
  21. return _info;
  22. }
  23. }
  24. }