Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.videoplayer.RELEASES.***
- {
- import com.videoplayer.GLOBALS;
- import com.videoplayer.manager.skinned.CH.Manager_INTERNAL_CH;
- import com.videoplayer.utils.Debug;
- import com.videoplayer.utils.StageHand;
- import com.videoplayer.video.ContentController_INTERNAL;
- import flash.display.DisplayObject;
- import flash.display.MovieClip;
- import flash.net.NetStream;
- public class MAIN_JUKEBOX_*** extends Main
- {
- public function MAIN_JUKEBOX_***():void
- {
- super(new Manager_INTERNAL_**());
- }
- override public function release_vars():void
- {
- GLOBALS.vars.ads_enabled = false;
- GLOBALS.vars.playerbrand = "***";
- GLOBALS.vars.playertype = "***";
- GLOBALS.vars.server = "www.***.com";
- GLOBALS.vars.stats_flags = {***: true, ***: true, ***: true};
- GLOBALS.vars.usingJukebox = true;
- }
- public function setParentref($parent:*):void
- {
- GLOBALS.vars.clipParent = $parent;
- log("setParentref");
- }
- public function destroy():void
- {
- log("destroy");
- for (var i:int = StageHand.stagelist.length - 1; i >= 0; i--)
- {
- var child:DisplayObject = StageHand.stagelist[i] as DisplayObject;
- StageHand.stagelist[i].destroy();
- StageHand.thestage.removeChild(child);
- }
- //((mainmanager.content as ContentController_INTERNAL).vidstream.stream as NetStream).close();
- }
- private function log($str:String):void
- {
- Debug.log("MAIN_JUKEBOX_*** - " + $str, 0xCCFF00);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement