Section 1
//BAG_114 (MODELHAIR_fla.BAG_114)
package MODELHAIR_fla {
import flash.display.*;
public dynamic class BAG_114 extends MovieClip {
public function BAG_114(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package MODELHAIR_fla
Section 2
//bh_153 (MODELHAIR_fla.bh_153)
package MODELHAIR_fla {
import flash.display.*;
public dynamic class bh_153 extends MovieClip {
public function bh_153(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package MODELHAIR_fla
Section 3
//BOTTOM_70 (MODELHAIR_fla.BOTTOM_70)
package MODELHAIR_fla {
import flash.display.*;
public dynamic class BOTTOM_70 extends MovieClip {
public function BOTTOM_70(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
gotoAndStop(2);
}
}
}//package MODELHAIR_fla
Section 4
//cbvdsfdsf_loader_7 (MODELHAIR_fla.cbvdsfdsf_loader_7)
package MODELHAIR_fla {
import flash.display.*;
public dynamic class cbvdsfdsf_loader_7 extends MovieClip {
public var masker:MovieClip;
}
}//package MODELHAIR_fla
Section 5
//CHAIN_104 (MODELHAIR_fla.CHAIN_104)
package MODELHAIR_fla {
import flash.display.*;
public dynamic class CHAIN_104 extends MovieClip {
public function CHAIN_104(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package MODELHAIR_fla
Section 6
//doll_64 (MODELHAIR_fla.doll_64)
package MODELHAIR_fla {
import flash.display.*;
public dynamic class doll_64 extends MovieClip {
public var dress:MovieClip;
public var bags:MovieClip;
public var glass:MovieClip;
public var earring:MovieClip;
public var bottoms:MovieClip;
public var tops:MovieClip;
public var chain:MovieClip;
public var shoes:MovieClip;
public var hair:MovieClip;
}
}//package MODELHAIR_fla
Section 7
//DRESS_39 (MODELHAIR_fla.DRESS_39)
package MODELHAIR_fla {
import flash.display.*;
public dynamic class DRESS_39 extends MovieClip {
public function DRESS_39(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
gotoAndStop(2);
}
}
}//package MODELHAIR_fla
Section 8
//EARING_119 (MODELHAIR_fla.EARING_119)
package MODELHAIR_fla {
import flash.display.*;
public dynamic class EARING_119 extends MovieClip {
public function EARING_119(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package MODELHAIR_fla
Section 9
//face_56 (MODELHAIR_fla.face_56)
package MODELHAIR_fla {
import flash.display.*;
public dynamic class face_56 extends MovieClip {
public function face_56(){
addFrameScript(0, frame1, 3, frame4);
}
function frame1(){
stop();
}
function frame4(){
gotoAndStop(1);
}
}
}//package MODELHAIR_fla
Section 10
//hairs_109 (MODELHAIR_fla.hairs_109)
package MODELHAIR_fla {
import flash.display.*;
public dynamic class hairs_109 extends MovieClip {
public function hairs_109(){
addFrameScript(0, frame1, 5, frame6);
}
function frame6(){
gotoAndStop(1);
}
function frame1(){
stop();
}
}
}//package MODELHAIR_fla
Section 11
//hairscopy_57 (MODELHAIR_fla.hairscopy_57)
package MODELHAIR_fla {
import flash.display.*;
public dynamic class hairscopy_57 extends MovieClip {
public function hairscopy_57(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package MODELHAIR_fla
Section 12
//hy_154 (MODELHAIR_fla.hy_154)
package MODELHAIR_fla {
import flash.display.*;
public dynamic class hy_154 extends MovieClip {
public function hy_154(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package MODELHAIR_fla
Section 13
//ju_61 (MODELHAIR_fla.ju_61)
package MODELHAIR_fla {
import flash.display.*;
public dynamic class ju_61 extends MovieClip {
public function ju_61(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package MODELHAIR_fla
Section 14
//MainTimeline (MODELHAIR_fla.MainTimeline)
package MODELHAIR_fla {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.text.*;
import flash.ui.*;
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.printing.*;
import flash.utils.*;
import flash.xml.*;
import fl.transitions.easing.*;
import gs.easing.*;
public dynamic class MainTimeline extends MovieClip {
public var t2:TextField;
public var t1:TextField;
public var dress_btn:SimpleButton;
public var tops_btn:SimpleButton;
public var preloader:MovieClip;
public var hair_btn:SimpleButton;
public var shoes_btn:SimpleButton;
public var nextbtn:MovieClip;
public var contestMenu:ContextMenu;
public var percentage:Number;
public var resetbtn:MovieClip;
public var logo_mc:SimpleButton;
public var BitsLoaded:TextField;
public var nextbtn1:MovieClip;
public var dress1;
public var bullet:backscore;
public var sndon:SimpleButton;
public var glass_btn:SimpleButton;
public var bottoms_btn:SimpleButton;
public var site:MovieClip;
public var doll:MovieClip;
public var top;
public var sndoff:SimpleButton;
public var play_more:MovieClip;
public var bags_btn:SimpleButton;
public var nex:MovieClip;
public var bulletChannel:SoundChannel;
public var contextmenuItem:ContextMenuItem;
public var bot;
public var chain_btn:SimpleButton;
public var studs_btn:SimpleButton;
public var pl:MovieClip;
public var ball:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
}
public function result(_arg1:Event):void{
if (t1.text == ""){
nextbtn.visible = false;
} else {
nextbtn.visible = true;
};
}
public function dress(_arg1:MouseEvent):void{
doll.dress.nextFrame();
if (doll.dress.currentFrame == doll.dress.totalFrames){
doll.dress.gotoAndStop(2);
};
trace(doll.dress.currentFrame);
resetbtn.visible = true;
Globe.dress = doll.dress.currentFrame;
Globe.tops = 0;
Globe.bottoms = 0;
doll.tops.gotoAndStop(1);
doll.bottoms.gotoAndStop(1);
dress1 = 1;
top = 0;
bot = 0;
}
public function ser(_arg1:Event){
if (dress1 == 1){
nextbtn1.visible = true;
resetbtn.visible = true;
} else {
if ((((top == 1)) && ((bot == 1)))){
nextbtn1.visible = true;
resetbtn.visible = true;
} else {
nextbtn1.visible = false;
};
};
}
function frame2(){
stop();
Globe.playback = true;
if (bulletChannel){
bulletChannel.stop();
};
pl.buttonMode = true;
pl.addEventListener(MouseEvent.CLICK, plays);
stage.tabChildren = false;
switch (this.loaderInfo.parameters.lang){
case "fr":
Globe.temp = 6;
pl.gotoAndStop(Globe.temp);
break;
case "de":
Globe.temp = 5;
pl.gotoAndStop(Globe.temp);
break;
case "it":
Globe.temp = 4;
pl.gotoAndStop(Globe.temp);
break;
case "pl":
Globe.temp = 10;
pl.gotoAndStop(Globe.temp);
break;
case "ru":
Globe.temp = 3;
pl.gotoAndStop(Globe.temp);
break;
case "tr":
Globe.temp = 7;
pl.gotoAndStop(Globe.temp);
break;
case "sv":
Globe.temp = 8;
pl.gotoAndStop(Globe.temp);
break;
case "pt-br":
Globe.temp = 11;
pl.gotoAndStop(Globe.temp);
break;
case "es":
Globe.temp = 9;
pl.gotoAndStop(Globe.temp);
break;
case "nl":
Globe.temp = 2;
pl.gotoAndStop(Globe.temp);
break;
default:
Globe.temp = 1;
pl.gotoAndStop(Globe.temp);
break;
};
pl.addEventListener(MouseEvent.ROLL_OVER, rollover);
pl.addEventListener(MouseEvent.ROLL_OUT, rollout);
pl.scaleX = (pl.scaleY = 1);
}
public function Beeclick(_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
function frame4(){
MochiBot.track(this, "99f6d017");
stop();
nextbtn.visible = false;
t1.text = "";
t1.restrict = "A-Z";
nextbtn.gotoAndStop(Globe.temp);
nextbtn.buttonMode = true;
stage.tabChildren = false;
stage.addEventListener(Event.ENTER_FRAME, result);
nextbtn.addEventListener(MouseEvent.CLICK, nextbtns);
nextbtn.addEventListener(MouseEvent.ROLL_OVER, rollover2);
nextbtn.addEventListener(MouseEvent.ROLL_OUT, rollout2);
if (loaderInfo.url.match("123peppy")){
logo_mc.visible = false;
} else {
logo_mc.addEventListener(MouseEvent.CLICK, link2);
};
}
function frame5(){
stop();
doll.hair.gotoAndStop(Globe.hair);
doll.dress.gotoAndStop(Globe.dress);
doll.tops.gotoAndStop(Globe.tops);
doll.bottoms.gotoAndStop(Globe.bottoms);
doll.shoes.gotoAndStop(Globe.shoes);
doll.chain.gotoAndStop(Globe.chain);
doll.earring.gotoAndStop(Globe.earring);
doll.bags.gotoAndStop(Globe.bags);
switch (this.loaderInfo.parameters.lang){
case "fr":
Globe.temp = 6;
break;
case "de":
Globe.temp = 5;
break;
case "it":
Globe.temp = 4;
break;
case "pl":
Globe.temp = 10;
break;
case "ru":
Globe.temp = 3;
break;
case "tr":
Globe.temp = 7;
break;
case "sv":
Globe.temp = 8;
break;
case "pt-br":
Globe.temp = 11;
break;
case "es":
Globe.temp = 9;
break;
case "nl":
Globe.temp = 2;
break;
default:
Globe.temp = 1;
break;
};
stage.tabChildren = false;
play_more.gotoAndStop(Globe.temp);
play_more.buttonMode = true;
nex.buttonMode = true;
if (loaderInfo.url.match("123peppy")){
logo_mc.visible = false;
play_more.visible = false;
} else {
play_more.visible = true;
logo_mc.addEventListener(MouseEvent.CLICK, link1);
};
play_more.addEventListener(MouseEvent.CLICK, link7);
t2.text = Globe.tex;
nex.tabEnabled = false;
doll.dress.gotoAndStop(Globe.dress);
doll.tops.gotoAndStop(Globe.tops);
doll.bottoms.gotoAndStop(Globe.bottoms);
doll.bags.gotoAndStop(Globe.bags);
doll.chain.gotoAndStop(Globe.chain);
doll.shoes.gotoAndStop(Globe.shoes);
doll.earring.gotoAndStop(Globe.earring);
doll.hair.gotoAndStop(Globe.hair);
doll.glass.gotoAndStop(Globe.glass);
nex.addEventListener(MouseEvent.CLICK, plas);
nex.addEventListener(MouseEvent.ROLL_OVER, rollover5);
nex.addEventListener(MouseEvent.ROLL_OUT, rollout5);
play_more.addEventListener(MouseEvent.ROLL_OVER, rollover5);
play_more.addEventListener(MouseEvent.ROLL_OUT, rollout5);
nex.gotoAndStop(Globe.temp);
}
function frame1(){
stop();
contestMenu = new ContextMenu();
contestMenu.hideBuiltInItems();
contextmenuItem = new ContextMenuItem("www.123peppy.com");
contextmenuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, Site);
contestMenu.customItems.push(contextmenuItem);
this.contextMenu = contestMenu;
percentage = 0;
stage.addEventListener(MouseEvent.CLICK, Beeclick);
stage.addEventListener(Event.ENTER_FRAME, BeeMoving);
site.buttonMode = true;
site.addEventListener(MouseEvent.CLICK, sitefun);
}
function frame3(){
stop();
nextbtn1.visible = false;
resetbtn.visible = false;
Globe.dress = 0;
Globe.tops = 0;
Globe.bottoms = 0;
Globe.chain = 0;
Globe.earring = 0;
Globe.shoes = 0;
Globe.bags = 0;
Globe.hair = 0;
Globe.glass = 0;
Globe.music = 0;
Globe.caps = 0;
dress1 = 0;
top = 0;
bot = 0;
doll.hair.gotoAndStop(1);
stage.tabChildren = false;
doll.dress.gotoAndStop(1);
doll.tops.gotoAndStop(1);
doll.bottoms.gotoAndStop(1);
doll.shoes.gotoAndStop(1);
doll.chain.gotoAndStop(1);
doll.earring.gotoAndStop(1);
doll.bags.gotoAndStop(1);
doll.glass.gotoAndStop(1);
stage.addEventListener(Event.ENTER_FRAME, ser);
bullet = new backscore();
bulletChannel = bullet.play(0, int.MAX_VALUE);
sndoff.addEventListener(MouseEvent.CLICK, sndop);
sndon.addEventListener(MouseEvent.CLICK, sndst);
dress_btn.addEventListener(MouseEvent.CLICK, dress);
hair_btn.addEventListener(MouseEvent.CLICK, hair);
tops_btn.addEventListener(MouseEvent.CLICK, tops);
bottoms_btn.addEventListener(MouseEvent.CLICK, bottoms);
shoes_btn.addEventListener(MouseEvent.CLICK, shoe);
chain_btn.addEventListener(MouseEvent.CLICK, chain);
studs_btn.addEventListener(MouseEvent.CLICK, earring);
bags_btn.addEventListener(MouseEvent.CLICK, bags);
glass_btn.addEventListener(MouseEvent.CLICK, glass);
resetbtn.addEventListener(MouseEvent.CLICK, rese);
nextbtn1.addEventListener(MouseEvent.CLICK, nx);
resetbtn.addEventListener(MouseEvent.ROLL_OVER, rollover123);
nextbtn1.addEventListener(MouseEvent.ROLL_OVER, rollover123);
resetbtn.addEventListener(MouseEvent.ROLL_OUT, rollout123);
nextbtn1.addEventListener(MouseEvent.ROLL_OUT, rollout123);
resetbtn.buttonMode = true;
nextbtn1.buttonMode = true;
resetbtn.gotoAndStop(Globe.temp);
nextbtn1.gotoAndStop(Globe.temp);
if (loaderInfo.url.match("123peppy")){
logo_mc.visible = false;
} else {
logo_mc.addEventListener(MouseEvent.CLICK, link);
};
}
public function earring(_arg1:MouseEvent):void{
doll.earring.nextFrame();
Globe.earring = doll.earring.currentFrame;
resetbtn.visible = true;
}
public function rollout5(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 1.8;
_arg1.currentTarget.scaleY = 1.8;
}
public function rollout2(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 0.83;
_arg1.currentTarget.scaleY = 0.83;
}
public function chain(_arg1:MouseEvent):void{
doll.chain.nextFrame();
Globe.chain = doll.chain.currentFrame;
resetbtn.visible = true;
}
public function rollover(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 1.1;
_arg1.currentTarget.scaleY = 1.1;
}
public function sitefun(_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function rollout123(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 1;
_arg1.currentTarget.scaleY = 1;
}
public function shoe(_arg1:MouseEvent):void{
doll.shoes.nextFrame();
resetbtn.visible = true;
Globe.shoes = doll.shoes.currentFrame;
}
public function sndop(_arg1:MouseEvent):void{
bulletChannel.stop();
sndon.visible = true;
sndoff.visible = false;
}
public function nextbtns(_arg1:MouseEvent):void{
Globe.tex = t1.text;
nextFrame();
stage.removeEventListener(Event.ENTER_FRAME, result);
}
public function plas(_arg1:MouseEvent){
gotoAndStop(2);
}
public function BeeMoving(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local2 = (mouseX - ball.x);
_local3 = (mouseY - ball.y);
ball.x = (ball.x + (_local2 * 0.2));
ball.y = (ball.y + (_local3 * 0.2));
_local4 = loaderInfo.bytesLoaded;
_local5 = loaderInfo.bytesTotal;
percentage = Math.round(((_local4 / _local5) * 100));
BitsLoaded.text = (((Math.round((_local4 / 0x0400)) + "kBs /") + Math.round((_local5 / 0x0400))) + "kBs");
if (_local4 == _local5){
stage.removeEventListener(MouseEvent.CLICK, Beeclick);
stage.removeEventListener(Event.ENTER_FRAME, BeeMoving);
if (this.loaderInfo.parameters.bg){
gotoAndStop(5);
} else {
gotoAndStop(2);
};
};
}
public function bags(_arg1:MouseEvent):void{
doll.bags.nextFrame();
Globe.bags = doll.bags.currentFrame;
resetbtn.visible = true;
}
public function Site(_arg1:Event):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function link1(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function link2(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function glass(_arg1:MouseEvent):void{
doll.glass.nextFrame();
Globe.glass = doll.glass.currentFrame;
resetbtn.visible = true;
}
public function link7(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
public function rollover2(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 1;
_arg1.currentTarget.scaleY = 1;
}
public function rollover5(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 2;
_arg1.currentTarget.scaleY = 2;
}
public function sndst(_arg1:MouseEvent):void{
bulletChannel = bullet.play(0, int.MAX_VALUE);
sndoff.visible = true;
sndon.visible = false;
}
public function link10(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.games2girls.com");
navigateToURL(_local2, "_blank");
}
public function bottoms(_arg1:MouseEvent):void{
doll.bottoms.nextFrame();
Globe.bottoms = doll.bottoms.currentFrame;
resetbtn.visible = true;
Globe.dress = 0;
doll.dress.gotoAndStop(1);
dress1 = 0;
bot = 1;
}
public function rollout(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 1;
_arg1.currentTarget.scaleY = 1;
}
public function tops(_arg1:MouseEvent):void{
doll.tops.nextFrame();
Globe.tops = doll.tops.currentFrame;
Globe.dress = 0;
resetbtn.visible = true;
doll.dress.gotoAndStop(1);
dress1 = 0;
top = 1;
}
public function rese(_arg1:MouseEvent):void{
doll.hair.gotoAndStop(1);
doll.dress.gotoAndStop(1);
doll.tops.gotoAndStop(1);
doll.bottoms.gotoAndStop(1);
doll.shoes.gotoAndStop(1);
doll.chain.gotoAndStop(1);
doll.earring.gotoAndStop(1);
doll.bags.gotoAndStop(1);
doll.glass.gotoAndStop(1);
resetbtn.visible = false;
dress1 = 0;
top = 0;
bot = 0;
Globe.dress = 0;
Globe.tops = 0;
Globe.bottoms = 0;
Globe.chain = 0;
Globe.earring = 0;
Globe.shoes = 0;
Globe.bags = 0;
Globe.hair = 0;
}
public function rollover123(_arg1:MouseEvent):void{
_arg1.currentTarget.scaleX = 1.1;
_arg1.currentTarget.scaleY = 1.1;
}
public function nx(_arg1:MouseEvent):void{
stage.removeEventListener(Event.ENTER_FRAME, ser);
nextFrame();
}
public function plays(_arg1:MouseEvent):void{
nextFrame();
}
public function hair(_arg1:MouseEvent):void{
doll.hair.nextFrame();
Globe.hair = doll.hair.currentFrame;
resetbtn.visible = true;
}
public function link(_arg1:MouseEvent){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.123peppy.com");
navigateToURL(_local2, "_blank");
}
}
}//package MODELHAIR_fla
Section 15
//OP_134 (MODELHAIR_fla.OP_134)
package MODELHAIR_fla {
import flash.display.*;
public dynamic class OP_134 extends MovieClip {
public function OP_134(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package MODELHAIR_fla
Section 16
//OPcopy_135 (MODELHAIR_fla.OPcopy_135)
package MODELHAIR_fla {
import flash.display.*;
public dynamic class OPcopy_135 extends MovieClip {
public function OPcopy_135(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package MODELHAIR_fla
Section 17
//peppydfgfsds_loader_19 (MODELHAIR_fla.peppydfgfsds_loader_19)
package MODELHAIR_fla {
import flash.display.*;
public dynamic class peppydfgfsds_loader_19 extends MovieClip {
public function peppydfgfsds_loader_19(){
addFrameScript(46, frame47);
}
function frame47(){
stop();
}
}
}//package MODELHAIR_fla
Section 18
//SHOES_65 (MODELHAIR_fla.SHOES_65)
package MODELHAIR_fla {
import flash.display.*;
public dynamic class SHOES_65 extends MovieClip {
public function SHOES_65(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
gotoAndStop(2);
}
function frame1(){
stop();
}
}
}//package MODELHAIR_fla
Section 19
//TOP_87 (MODELHAIR_fla.TOP_87)
package MODELHAIR_fla {
import flash.display.*;
public dynamic class TOP_87 extends MovieClip {
public function TOP_87(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
gotoAndStop(2);
}
}
}//package MODELHAIR_fla
Section 20
//backscore (backscore)
package {
import flash.media.*;
public dynamic class backscore extends Sound {
}
}//package
Section 21
//Globe (Globe)
package {
public class Globe {
public static var chain:Number = 0;
public static var tops:Number = 0;
public static var earring:Number = 0;
public static var temp:Number = 0;
public static var playback:Boolean = false;
public static var caps:Number = 0;
public static var hair:Number = 0;
public static var music:Number = 0;
public static var tex:String = "";
public static var shoes:Number = 0;
public static var bags:Number = 0;
public static var bgss:Number = 0;
public static var bottoms:Number = 0;
public static var glass:Number = 0;
public static var dress:Number = 0;
}
}//package
Section 22
//MochiBot (MochiBot)
package {
import flash.display.*;
import flash.net.*;
import flash.system.*;
public dynamic class MochiBot extends Sprite {
public static function track(_arg1:Sprite, _arg2:String):MochiBot{
var _local3:MochiBot;
var _local4:String;
var _local5:URLVariables;
var _local6:String;
var _local7:URLRequest;
var _local8:Loader;
if (Security.sandboxType == "localWithFile"){
return (null);
};
_local3 = new (MochiBot);
_arg1.addChild(_local3);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
_local4 = "http://core.mochibot.com/my/core.swf";
_local5 = new URLVariables();
_local5["sb"] = Security.sandboxType;
_local5["v"] = Capabilities.version;
_local5["swfid"] = _arg2;
_local5["mv"] = "8";
_local5["fv"] = "9";
_local6 = _local3.root.loaderInfo.loaderURL;
if (_local6.indexOf("http") == 0){
_local5["url"] = _local6;
} else {
_local5["url"] = "local";
};
_local7 = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
_local7.method = URLRequestMethod.POST;
_local7.data = _local5;
_local8 = new Loader();
_local3.addChild(_local8);
_local8.load(_local7);
return (_local3);
}
}
}//package