Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static function nextChannel():void {
  2.             trace("Removed from stage: ", DisplayObject(_stage.removeChildAt(0)).name);
  3.             tuner = Tuner.nextChannel();
  4.             tuner.width = _stage.stageWidth;
  5.             tuner.height = _stage.stageHeight;
  6.             _stage.addChildAt(tuner, 0);
  7.         }
  8.        
  9.         public static function showTuner(channelNr:int=0):void {
  10.             trace("Removed from stage: ", DisplayObject(_stage.removeChildAt(0)).name);
  11.             tuner = Tuner.getChannel(channelNr);
  12.             tuner.width = _stage.stageWidth;
  13.             tuner.height = _stage.stageHeight;
  14.             _stage.addChildAt(tuner, 0);
  15.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement