Section 1
//InboxTag (classes.InboxTag)
package classes {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.system.*;
public class InboxTag {
private static var timeOut:int = 600;
private static var clientId:int = 0;
private static var isDebug:Boolean = false;
private static var maxTagDepth:int = 10;
private static var tagList:Array;
private static var tagPath:String = "http://www.inboxtag.com/";
private static var tagHolder:MovieClip;
private static var curTagDepth:int = initTagDepth;
private static var initTagDepth:int = 1;
private static function configureListeners(_arg1:IEventDispatcher):void{
_arg1.addEventListener(Event.COMPLETE, completeHandler);
_arg1.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler);
_arg1.addEventListener(Event.INIT, initHandler);
_arg1.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
_arg1.addEventListener(Event.OPEN, openHandler);
_arg1.addEventListener(ProgressEvent.PROGRESS, progressHandler);
_arg1.addEventListener(Event.UNLOAD, unLoadHandler);
}
public static function init(_arg1:Stage, _arg2:int, _arg3:Array, _arg4:Boolean=false){
clientId = _arg2;
tagList = _arg3;
isDebug = _arg4;
Security.allowDomain(tagPath);
tagHolder = new MovieClip();
_arg1.addChild(tagHolder);
}
private static function completeHandler(_arg1:Event):void{
trace(("InboxTag - completeHandler: " + _arg1));
}
private static function httpStatusHandler(_arg1:HTTPStatusEvent):void{
trace(("InboxTag - httpStatusHandler: " + _arg1));
}
private static function initHandler(_arg1:Event):void{
trace(("InboxTag - initHandler: " + _arg1));
}
public static function callTag(_arg1, _arg2:int=-1){
var _local3:*;
var _local4:Loader;
var _local5:URLRequest;
var _local6:URLVariables;
var _local7:*;
var _local8:*;
if (isNaN(_arg1.pg)){
_local3 = _arg1.pg;
_arg1.pg = tagList[_arg1.pg];
};
if (_arg1.pg != undefined){
if (isDebug){
trace("InboxTag start callTag---------------------");
if (_local3 != undefined){
trace((" " + _local3));
};
for (_local8 in _arg1) {
trace((((" " + _local8) + "=") + _arg1[_local8]));
};
trace(" end callTag---------------------------------");
};
_local4 = new Loader();
configureListeners(_local4.contentLoaderInfo);
_local5 = new URLRequest((tagPath + "tag.swf"));
_local6 = new URLVariables();
if (_arg2 != -1){
_local6.cl = _arg2;
} else {
_local6.cl = clientId;
};
_local6.js = "yes";
_local6.isFlashCall = true;
_local6.ti = 600;
for (_local7 in _arg1) {
_local6[_local7] = _arg1[_local7];
};
_local6.rnd = new Date().getTime();
_local5.data = _local6;
_local4.load(_local5);
tagHolder.addChild(_local4);
} else {
trace("------InboxTag Error-----------------------------");
trace((" Page undefined - tagListID:" + _local3));
trace("---------------------------------------------------");
};
}
private static function progressHandler(_arg1:ProgressEvent):void{
trace(((("InboxTag - progressHandler: bytesLoaded=" + _arg1.bytesLoaded) + " bytesTotal=") + _arg1.bytesTotal));
}
private static function openHandler(_arg1:Event):void{
trace(("InboxTag - openHandler: " + _arg1));
}
private static function ioErrorHandler(_arg1:IOErrorEvent):void{
trace(("InboxTag - ioErrorHandler: " + _arg1));
}
private static function unLoadHandler(_arg1:Event):void{
trace(("InboxTag - unLoadHandler: " + _arg1));
}
}
}//package classes
Section 2
//MainTimeline (newgroundshyperblast_fla.MainTimeline)
package newgroundshyperblast_fla {
import flash.display.*;
import flash.events.*;
import classes.*;
import flash.net.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.printing.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var tempLoader;
public var asc;
public var url:URLRequest;
public var variables:URLVariables;
public var inboxTagClientId:Number;
public var inboxTagList:Array;
public function MainTimeline(){
addFrameScript(0, frame1);
}
function frame1(){
inboxTagClientId = 83;
inboxTagList = [];
asc = 578;
inboxTagList["quickTag"] = 2156;
InboxTag.init(stage, inboxTagClientId, inboxTagList, true);
InboxTag.callTag({pg:"quickTag", sc:asc});
Security.allowDomain("http://www.hyperblastgame.com");
url = new URLRequest("http://www.hyperblastgame.com/shell.swf");
variables = new URLVariables();
variables.rnd = new Date().getTime();
url.method = URLRequestMethod.GET;
url.data = variables;
tempLoader = new Loader();
tempLoader.load(url);
addChild(tempLoader);
}
}
}//package newgroundshyperblast_fla