Frame 1
stop();
gamename = "xmas_tree_design";
domain_parts = _url.split("://");
real_domain = domain_parts[1].split("/");
hostingdomain = real_domain[0];
if (hostingdomain == "") {
hostingdomain = "unknown";
}
savedomain1 = "gamedev.dev.spilgames.com";
savedomain2 = "www8.agame.com";
if ((hostingdomain == savedomain1) || (hostingdomain == savedomain2)) {
spilnetwerk = "internal";
} else {
spilnetwerk = "external";
}
_root.localization_url1 = (((("http://www.girlsgogames.com/?utm_medium=brandedgames_" + spilnetwerk) + "&utm_campaign=") + gamename) + "&utm_source=") + hostingdomain;
_root.localization_language_nr = 1;
_root.localization_branding_nr = 29;
_root.localization_portal = "girl";
if (_root.localization_portal == "game_com_cn") {
this.mainscreen_moregames.onRelease = function () {
getURL (_root.localization_url1, "_blank");
};
} else {
this.mainscreen_moregames.onRelease = function () {
getURL (_root.localization_url1 + "&utm_content=button_mainscreen_moregames", "_blank");
};
}
_root.van = 0;
_root.vantemp = 0;
stop();
Frame 2
_root.van = 0;
_root.vantemp = 0;
stop();
Instance of Symbol 146 MovieClip [Xray Connector 8-OS] in Frame 2
//component parameters
onClipEvent (construct) {
classPackages = [];
classPackages[0] = "com";
classPackages[1] = "mx";
classPackages[2] = "flash";
showFPS = false;
}
Symbol 2 MovieClip [snowFlake_mc] Frame 1
#initclip 18
Object.registerClass("snowFlake_mc", SnowFlake);
#endinitclip
Symbol 7 Button
on (press) {
startDrag (tl);
_root.rezise = "tl";
}
on (release) {
_root.rezise = "";
cambiarTamano("tl");
stopDrag();
}
on (releaseOutside) {
_root.rezise = "";
cambiarTamano("tl");
stopDrag();
}
Symbol 8 Button
on (press) {
startDrag (l, false, -10000, l._y, 100000, l._y);
_root.rezise = "l";
}
on (release) {
_root.rezise = "";
cambiarTamano("l");
stopDrag();
}
on (releaseOutside) {
_root.rezise = "";
cambiarTamano("l");
stopDrag();
}
Symbol 9 Button
on (press) {
startDrag (t, false, t._x, -10000, t._x, 100000);
_root.rezise = "t";
}
on (release) {
_root.rezise = "";
cambiarTamano("t");
stopDrag();
}
on (releaseOutside) {
_root.rezise = "";
cambiarTamano("t");
stopDrag();
}
Symbol 10 Button
on (press) {
startDrag (tr);
_root.rezise = "tr";
}
on (release) {
_root.rezise = "";
cambiarTamano("tr");
stopDrag();
}
on (releaseOutside) {
_root.rezise = "";
cambiarTamano("tr");
stopDrag();
}
Symbol 11 Button
on (press) {
startDrag (r, false, -10000, r._y, 100000, r._y);
_root.rezise = "r";
}
on (release) {
_root.rezise = "";
cambiarTamano("r");
stopDrag();
}
on (releaseOutside) {
_root.rezise = "";
cambiarTamano("r");
stopDrag();
}
Symbol 12 Button
on (press) {
startDrag (br);
_root.rezise = "br";
}
on (release) {
_root.rezise = "";
cambiarTamano("br");
stopDrag();
}
on (releaseOutside) {
_root.rezise = "";
cambiarTamano("br");
stopDrag();
}
Symbol 13 Button
on (press) {
startDrag (b, false, b._x, -10000, b._x, 100000);
_root.rezise = "b";
}
on (release) {
_root.rezise = "";
cambiarTamano("b");
stopDrag();
}
on (releaseOutside) {
_root.rezise = "";
cambiarTamano("b");
stopDrag();
}
Symbol 14 Button
on (press) {
startDrag (bl);
_root.rezise = "bl";
}
on (release) {
_root.rezise = "";
cambiarTamano("bl");
stopDrag();
}
on (releaseOutside) {
_root.rezise = "";
cambiarTamano("bl");
stopDrag();
}
Symbol 23 MovieClip Frame 5
stop();
Symbol 24 Button
on (press) {
unloadMovie (_root.paisaje.ximprimir[_root.moviendo]);
}
Symbol 27 Button
on (press) {
if (_root.moviendo == _parent._name) {
_parent.startDrag();
} else {
_root.moviendo = _parent._name;
reset();
}
}
on (release) {
_parent.stopDrag();
}
on (keyPress "<Left>") {
_root.vestido[_root.moviendo]._x = _root.vestido[_root.moviendo]._x - 1;
}
on (keyPress "<Right>") {
_root.vestido[_root.moviendo]._x = _root.vestido[_root.moviendo]._x + 1;
}
on (keyPress "<Up>") {
_root.vestido[_root.moviendo]._y = _root.vestido[_root.moviendo]._y - 1;
}
on (keyPress "<Down>") {
_root.vestido[_root.moviendo]._y = _root.vestido[_root.moviendo]._y + 1;
}
on (keyPress "<Delete>") {
unloadMovie (_root.vestido[_root.moviendo]);
}
on (keyPress "<Escape>") {
_root.moviendo = "";
ocultar();
}
Symbol 28 MovieClip Frame 1
function ocultar() {
tl._x = 10000;
t._x = 10000;
tr._x = 10000;
l._x = 10000;
r._x = 10000;
bl._x = 10000;
b._x = 10000;
br._x = 10000;
del._x = 10000;
}
function reset() {
ancho = this._parent.objeto._width;
alto = this._parent.objeto._height;
mover._x = -5;
mover._y = -5;
mover._width = ancho + 10;
mover._height = alto + 10;
this._x = this._parent.objeto._x - 5;
this._y = this._parent.objeto._y;
tl._x = -5;
tl._y = -10;
t._x = ancho / 2;
t._y = -10;
tr._x = ancho + 4;
tr._y = -10;
l._x = -5;
l._y = (alto / 2) - 5;
r._x = ancho + 5;
r._y = (alto / 2) - 5;
bl._x = -5;
bl._y = alto;
b._x = ancho / 2;
b._y = alto;
br._x = ancho + 5;
br._y = alto;
del._x = tr._x + 20;
del._y = tr._y;
}
function cambiarTamano(cual) {
this._parent.objeto._x = (this._parent.objeto._x + tl._x) + 5;
this._parent.objeto._y = (this._parent.objeto._y + tl._y) + 5;
anch = r._x - l._x;
alt = b._y - t._y;
this._parent.objeto._width = anch;
this._parent.objeto._height = alt;
reset();
cero._x = 0;
cero._y = 0;
}
this._x = -1;
this._y = -1;
ancho = this._parent.objeto._width;
alto = this._parent.objeto._height;
mover._x = 0;
mover._y = 0;
mover._width = ancho;
mover._height = alto;
rezise_ck.onEnterFrame = function () {
switch (_root.rezise) {
case "t" :
tl._y = t._y;
tr._y = t._y;
l._y = (b._y + t._y) / 2;
r._y = (b._y + t._y) / 2;
break;
case "l" :
tl._x = l._x;
bl._x = l._x;
t._x = (r._x + l._x) / 2;
b._x = (r._x + l._x) / 2;
break;
case "b" :
bl._y = b._y;
br._y = b._y;
l._y = (b._y + t._y) / 2;
r._y = (b._y + t._y) / 2;
break;
case "r" :
tr._x = r._x;
br._x = r._x;
t._x = (r._x + l._x) / 2;
b._x = (r._x + l._x) / 2;
break;
case "tl" :
t._y = tl._y;
tr._y = tl._y;
l._x = tl._x;
bl._x = tl._x;
t._x = (tr._x + tl._x) / 2;
b._x = (tr._x + tl._x) / 2;
l._y = (bl._y + tl._y) / 2;
r._y = (bl._y + tl._y) / 2;
break;
case "bl" :
b._y = bl._y;
br._y = bl._y;
l._x = bl._x;
tl._x = bl._x;
t._x = (br._x + bl._x) / 2;
b._x = (br._x + bl._x) / 2;
l._y = (bl._y + tl._y) / 2;
r._y = (bl._y + tl._y) / 2;
break;
case "tr" :
tl._y = tr._y;
t._y = tr._y;
br._x = tr._x;
r._x = tr._x;
t._x = (br._x + bl._x) / 2;
b._x = (br._x + bl._x) / 2;
l._y = (bl._y + tl._y) / 2;
r._y = (bl._y + tl._y) / 2;
break;
case "br" :
bl._y = br._y;
b._y = br._y;
r._x = br._x;
tr._x = br._x;
t._x = (br._x + bl._x) / 2;
b._x = (br._x + bl._x) / 2;
l._y = (bl._y + tl._y) / 2;
r._y = (bl._y + tl._y) / 2;
}
if (_root.transforma != 1) {
mover.enabled = true;
mover._x = 0;
if (_parent._name != _root.moviendo) {
ocultar();
} else if (yaseseacomodo != 1) {
yaseseacomodo = 1;
reset();
}
} else {
mover.enabled = false;
mover._x = 1000;
ocultar();
}
};
Symbol 146 MovieClip [Xray Connector 8-OS] Frame 1
#initclip 17
com.blitzagency.xray.Xray.init();
this.onLoad = function () {
com.blitzagency.xray.Xray.initConnections(this);
};
#endinitclip
if (!_global.isLivePreview) {
label._visible = false;
if (this.classPackages.length > 1) {
com.blitzagency.xray.Xray.addPackages(this.classPackages);
}
if (this.showFPS) {
com.blitzagency.xray.Xray.createFPSMeter(this);
}
}
Symbol 203 Button
on (press) {
gotoAndStop ("juego");
}
Symbol 209 Button
on (press) {
getURL ("http://nix.com.mx", "_blank");
}
Symbol 213 Button
on (press) {
stopAllSounds();
gotoAndStop (2);
}
Symbol 216 MovieClip Frame 1
stop();
Symbol 218 Button
on (press) {
gotoAndStop (1);
}
Symbol 219 MovieClip Frame 1
stopAllSounds();
loops.gotoAndStop(2);
loops.gotoAndStop(1);
stop();
Symbol 219 MovieClip Frame 2
stopAllSounds();
stop();
Symbol 236 MovieClip Frame 1
gotoAndStop(_root.localization_language_nr);
Symbol 314 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 323 MovieClip Frame 90
Symbol 323 MovieClip Frame 91
stop();
Symbol 325 MovieClip Frame 1
if (_root.localization_portal == "game_com_cn") {
this.logo_intro.onRelease = function () {
getURL (_root.localization_url1, "_blank");
};
} else {
this.logo_intro.onRelease = function () {
getURL (_root.localization_url1 + "&utm_content=logo_intro", "_blank");
};
}
Symbol 325 MovieClip Frame 90
stop();
Symbol 331 MovieClip Frame 89
stop();
Symbol 338 MovieClip Frame 89
stop();
Symbol 341 MovieClip Frame 89
stop();
Symbol 342 MovieClip Frame 1
if (_root.localization_portal == "family") {
gotoAndStop (1);
}
if (_root.localization_portal == "tweens") {
gotoAndStop (2);
}
if (_root.localization_portal == "girl") {
gotoAndStop (3);
}
if (_root.localization_portal == "game_com_cn") {
gotoAndStop (4);
}
Symbol 473 MovieClip [__Packages.SnowFlake] Frame 0
class SnowFlake extends MovieClip
{
var speed, speedVariation, _y, _x, drift, filters, _xscale, _yscale, onEnterFrame;
function SnowFlake () {
super();
speed = Math.random() * speedMultiplier;
speedVariation = (Math.random() * speedVariMultiplier) + 1;
setSpeed(speed);
readyFlake();
moveMe();
}
function setSpeed(n) {
speed = (n * speedVariation) + 1;
}
function readyFlake() {
getDrift();
_y = (Math.random() * viewHeight) * -1;
_x = Math.random() * viewWidth;
var _local2 = new flash.filters.BlurFilter(drift * 2, speed / 2, 2);
filters = [_local2];
if ((speed / 2) < speedVariation) {
_xscale = (_yscale = 50);
}
}
function getDrift() {
drift = Math.random() * 3;
var _local2 = Math.random() * 10;
if (_local2 < 5) {
drift = drift * -1;
}
}
function moveMe() {
onEnterFrame = everyFrame;
}
function everyFrame() {
_y = _y + speed;
_x = _x + drift;
if (((_y > viewHeight) || (_x < 0)) || (_x > viewWidth)) {
readyFlake();
}
}
var speedMultiplier = 2;
var speedVariMultiplier = 3;
var viewWidth = Stage.width;
var viewHeight = Stage.height;
}
Symbol 143 MovieClip [__Packages.com.blitzagency.xray.Xray] Frame 0
class com.blitzagency.xray.Xray
{
static var recursionControl, xrayTrace, pointConverter, fpsMeter, functionName, lc_info, lc_exec;
function Xray () {
}
static function init() {
recursionControl = 0;
xrayTrace = com.blitzagency.xray.XrayTrace.getInstance();
_global.view = function () {
com.blitzagency.xray.Xray.xrayTrace.trace.apply(com.blitzagency.xray.Xray.xrayTrace, arguments);
};
_global.tt = function () {
com.blitzagency.xray.Xray.xrayTrace.trace.apply(com.blitzagency.xray.Xray.xrayTrace, arguments);
};
pointConverter = com.blitzagency.util.PointConverter.getInstance();
fpsMeter = com.blitzagency.xray.FPSMeter.getInstance();
fpsMeter.addEventListener("onFpsUpdate", com.blitzagency.util.Delegate.create(com.blitzagency.xray.Xray, updateFps));
functionName = com.blitzagency.xray.FunctionName.getInstance();
_global.tf = function () {
com.blitzagency.xray.Xray.functionName.traceFunction.apply(com.blitzagency.xray.Xray.functionName, arguments);
};
if (!_global.isLivePreview) {
if (lc_info) {
return(undefined);
}
lc_exec = new com.blitzagency.xray.ControlConnection();
lc_info = new com.blitzagency.xray.LoggerConnection();
}
}
static function addPackages(ary) {
var _local1 = 0;
while (_local1 < ary.length) {
if (ary[_local1] != "") {
com.blitzagency.xray.ClassPath.registerPackage(ary[_local1]);
}
_local1++;
}
com.blitzagency.xray.ClassPath.registerPackage();
}
static function trace() {
xrayTrace.trace.apply(_global.AdminTool, arguments);
}
static function tt() {
xrayTrace.trace.apply(xrayTrace, arguments);
}
static function tf() {
_global.FunctionName.traceFunction.apply(_global.FunctionName, arguments);
}
static function updateFps(obj) {
lc_exec.sendFPS(obj);
}
static function createFPSMeter(target_mc) {
target_mc = ((!target_mc) ? (_level0) : (target_mc));
var _local2 = target_mc.createEmptyMovieClip("fpsContainer", target_mc.getNextHighestDepth());
_local2.cacheAsBitmap = true;
_local2.createTextField("fps", 1, 0, 0, 40, 22);
_local2.embedFonts = false;
_local2.textFormat = new TextFormat();
_local2.textFormat.font = "_sans";
_local2.textFormat.size = 10;
_local2.fps.setNewTextFormat(_local2.textFormat);
_local2.fps.setTextFormat(_local2.textFormat);
_local2.updateFps = function (obj) {
this.fps.text = obj.fps;
};
fpsMeter.__set__runFPS(true);
fpsMeter.addEventListener("onFpsUpdate", com.blitzagency.util.Delegate.create(_local2, _local2.updateFps));
return(_local2);
}
static function initConnections() {
var _local2 = lc_exec.initConnection();
var _local3 = lc_info.initConnection();
if (_local2) {
lc_exec.send("_xray_conn", "checkFPSOn");
}
_global.tt("Connections", (_local2 + " | ") + _local3);
}
}
Symbol 147 MovieClip [__Packages.com.blitzagency.util.Delegate] Frame 0
class com.blitzagency.util.Delegate
{
function Delegate () {
}
static function create(target, handler) {
var extraArgs = arguments.slice(2);
var delegate;
delegate = function () {
var _local2 = arguments.concat(extraArgs, [delegate]);
return(handler.apply(target, _local2));
};
return(delegate);
}
}
Symbol 148 MovieClip [__Packages.com.blitzagency.xray.Watch] Frame 0
class com.blitzagency.xray.Watch
{
function Watch () {
}
static function createCallBack(obj, prop_str, callBack) {
var _local1 = obj[prop_str];
obj.watch(prop_str, _functionChanged, callBack);
obj[prop_str] = undefined;
if (_local1) {
obj[prop_str] = _local1;
}
}
static function removeCallBack(obj, prop_str, callBack) {
obj.unwatch(prop_str);
var _local2 = obj[prop_str];
var _local6;
var _local3;
var _local5 = new Array();
while (true) {
_local3 = _local2.callBack;
if (typeof(_local3) == "function") {
_local6 = _local2.newVal;
_local2.callBack = undefined;
if ((_local3 == callBack) || (callBack == undefined)) {
break;
}
_local5.push(_local3);
_local2 = _local6;
} else {
break;
}
}
if (_local6) {
obj[prop_str] = _local6;
} else {
delete obj[prop_str];
}
var _local1 = 0;
while (_local1 < _local5.length) {
callBack = _local5[_local1];
createCallBack(obj, prop_str, callBack);
_local1++;
}
}
static function _functionChanged(prop_str, oldVal, newVal, callBack) {
var _local3 = function () {
var _local3 = arguments.callee;
var _local5 = _local3.newVal;
var _local4 = _local3.callBack;
_local5.apply(this, arguments);
_local4.apply(this, arguments);
};
_local3.newVal = newVal;
_local3.callBack = callBack;
return(_local3);
}
}
Symbol 149 MovieClip [__Packages.com.blitzagency.xray.DragableMovieClip] Frame 0
class com.blitzagency.xray.DragableMovieClip extends MovieClip
{
static var _instance;
var startDrag, ___onMouseMove, onMouseMove, stopDrag;
function DragableMovieClip () {
super();
}
static function initialize(mc, restriction_obj) {
if (!_instance) {
_instance = new com.blitzagency.xray.DragableMovieClip();
}
var _local2 = arguments.slice(2);
_instance._enable.apply(_instance, [mc, restriction_obj].concat(_local2));
}
function _customOnPress(restriction_obj) {
var _local4 = arguments.slice(1);
if (restriction_obj) {
startDrag(false, restriction_obj.left, restriction_obj.top, restriction_obj.right, restriction_obj.bottom);
} else {
startDrag();
}
___onMouseMove = onMouseMove;
onMouseMove = updateAfterEvent;
}
function _customOnRelease() {
stopDrag();
com.blitzagency.xray.Xray.lc_exec.updateHistory(this);
onMouseMove = ___onMouseMove;
}
function _enable(mc, restriction_obj) {
var _local5 = arguments.slice(2);
var _local6 = com.blitzagency.util.Delegate.create.apply(com.blitzagency.util.Delegate, [mc, _customOnPress, restriction_obj].concat(_local5));
var _local4 = com.blitzagency.util.Delegate.create.apply(com.blitzagency.util.Delegate, [mc, _customOnRelease].concat(_local5));
mc.__removeReferenceDelegatePress__ = _local6;
mc.__removeReferenceDelegateRelease__ = _local4;
com.blitzagency.xray.Watch.createCallBack(mc, "onPress", _local6);
com.blitzagency.xray.Watch.createCallBack(mc, "onRelease", _local4);
com.blitzagency.xray.Watch.createCallBack(mc, "onReleaseOutside", _local4);
}
static function remove(mc) {
var _local3 = mc.__removeReferenceDelegatePress__;
var _local2 = mc.__removeReferenceDelegateRelease__;
if (_local3 && (_local2)) {
delete mc.__removeReferenceDelegatePress__;
delete mc.__removeReferenceDelegateRelease__;
com.blitzagency.xray.Watch.removeCallBack(mc, "onPress", _local3);
com.blitzagency.xray.Watch.removeCallBack(mc, "onRelease", _local2);
com.blitzagency.xray.Watch.removeCallBack(mc, "onReleaseOutside", _local2);
}
}
}
Symbol 150 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher
{
function EventDispatcher () {
}
static function _removeEventListener(queue, event, handler) {
if (queue != undefined) {
var _local4 = queue.length;
var _local1;
_local1 = 0;
while (_local1 < _local4) {
var _local2 = queue[_local1];
if (_local2 == handler) {
queue.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
}
static function initialize(object) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = _fEventDispatcher.addEventListener;
object.removeEventListener = _fEventDispatcher.removeEventListener;
object.dispatchEvent = _fEventDispatcher.dispatchEvent;
object.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchQueue(queueObj, eventObj) {
var _local7 = "__q_" + eventObj.type;
var _local4 = queueObj[_local7];
if (_local4 != undefined) {
var _local5;
for (_local5 in _local4) {
var _local1 = _local4[_local5];
var _local3 = typeof(_local1);
if ((_local3 == "object") || (_local3 == "movieclip")) {
if (_local1.handleEvent != undefined) {
_local1.handleEvent(eventObj);
}
if (_local1[eventObj.type] != undefined) {
if (exceptions[eventObj.type] == undefined) {
_local1[eventObj.type](eventObj);
}
}
} else {
_local1.apply(queueObj, [eventObj]);
}
}
}
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(this, eventObj);
}
function addEventListener(event, handler) {
var _local3 = "__q_" + event;
if (this[_local3] == undefined) {
this[_local3] = new Array();
}
_global.ASSetPropFlags(this, _local3, 1);
_removeEventListener(this[_local3], event, handler);
this[_local3].push(handler);
}
function removeEventListener(event, handler) {
var _local2 = "__q_" + event;
_removeEventListener(this[_local2], event, handler);
}
static var _fEventDispatcher = undefined;
static var exceptions = {move:1, draw:1, load:1};
}
Symbol 151 MovieClip [__Packages.com.blitzagency.xray.ClassPath] Frame 0
class com.blitzagency.xray.ClassPath
{
static var check, fullPath;
function ClassPath () {
}
static function registerPackage(packageName) {
if (check == undefined) {
check = [];
}
if (packageName == undefined) {
var _local2 = [];
for (var _local3 in _global) {
_local2.push(_local3);
}
_global.ASSetPropFlags(_global, null, 0, true);
classPusher(_global);
_protect(_global, _local2);
} else {
classPusher(_global[packageName], packageName);
}
}
static function _protect(package_obj, unprotected) {
_global.ASSetPropFlags(package_obj, null, 1, true);
_global.ASSetPropFlags(package_obj, unprotected, 0, true);
_global.ASSetPropFlags(package_obj, ["constructor", "__constructor__", "prototype", "__proto__"], 1, true);
}
static function getClassName(obj) {
if (obj instanceof Function) {
return(obj.shortClassName);
}
return(obj.constructor.shortClassName);
}
static function getLongClassName(obj) {
if (obj instanceof Function) {
return(obj.className);
}
return(obj.constructor.className);
}
static function getPath(obj) {
if (obj instanceof Function) {
return(obj.className);
}
return(obj.constructor.className);
}
static function classPusher(node, name) {
var _local2 = ((name == undefined) ? "" : (name + "."));
for (var _local3 in node) {
if ((node[_local3] instanceof Function) && (node[_local3].constructor != null)) {
node[_local3].className = _local2 + _local3;
node[_local3].shortClassName = _local3;
check.push(node[_local3]);
} else if (node[_local3] instanceof Object) {
classPusher(node[_local3], _local2 + _local3);
}
}
}
static function checkProtoChain(obj, extendedPath, includePath) {
if ((obj.__proto__ != undefined) && (obj.__proto__.constructor.className != undefined)) {
var _local1 = checkExtended(obj);
var _local4 = ((extendedPath || (includePath)) ? (_local1.className) : (_local1.shortClassName));
fullPath = ((fullPath == "") ? (_local4) : ((fullPath + ".") + _local1.shortClassName));
if (extendedPath) {
checkProtoChain(obj.__proto__, extendedPath);
}
}
}
static function getClass(obj, extendedPath, includePath) {
fullPath = "";
checkProtoChain(obj, extendedPath, includePath);
if (fullPath == "") {
fullPath = typeof(obj);
}
return(fullPath);
}
static function checkExtended(obj) {
var _local2 = {extended:false};
var _local1 = 0;
while (_local1 < check.length) {
var _local3 = ((obj.__proto__ == check[_local1].prototype) ? true : false);
if (_local3) {
_local2.extended = _local3;
_local2.className = check[_local1].className;
_local2.shortClassName = check[_local1].shortClassName;
return(_local2);
}
_local1++;
}
return(_local2);
}
}
Symbol 152 MovieClip [__Packages.com.blitzagency.xray.ObjectViewer] Frame 0
class com.blitzagency.xray.ObjectViewer
{
var _recursionCount, mc_prop_ary, TextField_prop_ary, Button_prop_ary, Sound_prop_ary, mc_prop_small_ary, objMap, currentObjPath, XMLStr, dispatchEvent, XMLDoc;
function ObjectViewer () {
_recursionCount = 0.003;
mc_prop_ary = new Array("_name", "_x", "_y", "_width", "_height", "_rotation", "_visible", "_alpha", "_xscale", "_yscale", "cacheAsBitmap", "filters", "_currentframe", "_totalframes", "_framesloaded", "enabled", "hitArea", "_droptarget", "_target", "_focusEnabled", "_focusrect", "_lockroot", "menu", "_quality", "soundbuftime", "tabChildren", "tabEnabled", "tabIndex", "trackAsMenu", "_url", "useHandCursor");
TextField_prop_ary = new Array("_name", "_x", "_y", "_width", "_height", "_rotation", "_visible", "_alpha", "_xscale", "_yscale", "html", "htmlText", "text");
Button_prop_ary = new Array("_name", "_x", "_y", "_width", "_height", "_rotation", "_visible", "_alpha", "_xscale", "_yscale", "enabled");
Sound_prop_ary = new Array("position", "duration", "id3.comment", "id3.album", "id3.genre", "id3.songname", "id3.artist", "id3.track", "id3.year", "volume", "pan");
mc_prop_small_ary = new Array("_x", "_y", "_width", "_height", "_visible", "_alpha", "_currentframe");
mc_prop_ary.reverse();
TextField_prop_ary.reverse();
Button_prop_ary.reverse();
Sound_prop_ary.reverse();
mc_prop_small_ary.reverse();
mx.events.EventDispatcher.initialize(this);
}
function replace(str, srch_str, repl_str) {
var _local1 = new Array();
_local1 = str.split(srch_str);
var _local2 = _local1.join(repl_str);
return(_local2);
}
function setAttributes(xmlNode, obj) {
for (var _local3 in obj) {
if (((_local3 != "__recursionCheck") && (_local3 != "getRecursionChecked")) && (_local3 != "setRecursionChecked")) {
xmlNode.attributes[_local3] = obj[_local3];
}
}
}
function getObjProperties(obj) {
var _local3 = new Object();
var _local4 = 0;
for (var _local5 in obj) {
if ((((((_local5 != "Xray") && (_local5 != "__recursionCheck")) && (_local5 != "getRecursionChecked")) && (_local5 != "__removeReferenceDelegateRelease__")) && (_local5 != "__removeReferenceDelegatePress__")) && (_local5 != "setRecursionChecked")) {
_local4++;
var _local1 = com.blitzagency.xray.ClassPath.getClass(obj[_local5]);
_local1 = ((_local1 != "") ? (_local1) : (typeof(obj[_local5])));
_local3[_local5] = (_local1 + " :: ") + obj[_local5];
}
}
if (_local4 == 0) {
_local3.value = new Object();
_local3.value = obj.toString();
}
return(_local3);
}
function getFunctionProperties(obj, sPath) {
_global.ASSetPropFlags(obj, null, 0, true);
var _local4 = new Object();
for (var _local5 in obj) {
if ((((((((_local5 != "__proto__") && (_local5 != "prototype")) && (_local5 != "Xray")) && (_local5 != "__recursionCheck")) && (_local5 != "__removeReferenceDelegateRelease__")) && (_local5 != "__removeReferenceDelegatePress__")) && (_local5 != "getRecursionChecked")) && (_local5 != "setRecursionChecked")) {
var _local3 = ((typeof(obj[_local5]) == "function") ? "function" : (obj[_local5]));
_local4[_local5] = _local3;
}
}
if (obj.prototype) {
for (var _local5 in obj.prototype) {
if ((((((((_local5 != "__proto__") && (_local5 != "prototype")) && (_local5 != "Xray")) && (_local5 != "__recursionCheck")) && (_local5 != "__removeReferenceDelegateRelease__")) && (_local5 != "__removeReferenceDelegatePress__")) && (_local5 != "getRecursionChecked")) && (_local5 != "setRecursionChecked")) {
var _local3 = ((typeof(obj.prototype[_local5]) == "function") ? "function" : "property");
_local4[_local5] = _local3;
}
}
}
_global.ASSetPropFlags(obj, null, 1, true);
return(_local4);
}
function getBaseProperties(target_obj, path) {
var _local2 = new Object();
_local2.path = path;
for (var _local5 in target_obj) {
if (((((((_local5 != "__recursionCheck") && (_local5 != "Xray")) && (_local5 != "getRecursionChecked")) && (_local5 != "setRecursionChecked")) && (_local5 != "__removeReferenceDelegateRelease__")) && (_local5 != "__removeReferenceDelegatePress__")) && (_local5 != "__proto__")) {
var _local3 = com.blitzagency.xray.ClassPath.getClass(target_obj[_local5]);
_local3 = ((_local3 != "") ? (_local3) : (typeof(target_obj[_local5])));
_local2[_local5] = new Object();
_local2[_local5].className = _local3;
_local2[_local5].objName = _local5;
_local2[_local5].val = target_obj[_local5];
_local2[_local5].target = (_local2.path + ".") + _local5;
_local2[_local5].type = getType(target_obj[_local5]);
}
}
_local2.Class = com.blitzagency.xray.ClassPath.getClass(target_obj, true);
return(_local2);
}
function getProperties(target_obj, showAll) {
_global.ASSetPropFlags(target_obj, null, 0, true);
var obj = new Object();
obj.sTarget_mc = String(eval (target_obj._target));
if (showAll) {
for (var items in target_obj) {
if ((((((items != "__recursionCheck") && (items != "Xray")) && (items != "getRecursionChecked")) && (items != "__removeReferenceDelegateRelease__")) && (items != "__removeReferenceDelegatePress__")) && (items != "setRecursionChecked")) {
var sClass = com.blitzagency.xray.ClassPath.getClass(target_obj[items]);
sClass = ((sClass != "") ? (sClass) : (typeof(target_obj[items])));
obj[items] = (sClass + " :: ") + target_obj[items];
}
}
}
obj.Class = com.blitzagency.xray.ClassPath.getClass(target_obj, true);
obj._props = new Object();
var ary;
if (target_obj instanceof MovieClip) {
ary = mc_prop_ary;
}
if (target_obj instanceof TextField) {
ary = TextField_prop_ary;
}
if (target_obj instanceof Button) {
ary = Button_prop_ary;
}
if (target_obj instanceof Sound) {
ary = Sound_prop_ary;
}
var x = 0;
while (x < ary.length) {
switch (ary) {
case mc_prop_ary :
if (ary[x] == "_y") {
obj._props.depth = target_obj.getDepth();
}
obj._props[ary[x]] = target_obj[ary[x]];
break;
case TextField_prop_ary :
obj._props[ary[x]] = target_obj[ary[x]];
break;
case Button_prop_ary :
obj._props[ary[x]] = target_obj[ary[x]];
break;
case Sound_prop_ary :
if (ary[x] == "volume") {
obj._props.volume = target_obj.getVolume();
} else if (ary[x] == "pan") {
obj._props.pan = target_obj.getPan();
} else if (ary[x] == "id3.comment") {
obj._props.id3_comment = target_obj.id3.comment;
} else if (ary[x] == "id3.album") {
obj._props.id3_album = target_obj.id3.album();
} else if (ary[x] == "id3.genre") {
obj._props.id3_genre = target_obj.id3.genre();
} else if (ary[x] == "id3.songname") {
obj._props.id3_songname = target_obj.id3.songname();
} else if (ary[x] == "id3.artist") {
obj._props.id3_artist = target_obj.id3.artist();
} else if (ary[x] == "id3.track") {
obj._props.id3_track = target_obj.id3.track();
} else if (ary[x] == "id3.year") {
obj._props.id3_year = target_obj.id3.year();
} else {
obj._props[ary[x]] = target_obj[ary[x]];
}
}
x++;
}
_global.ASSetPropFlags(obj, ["constructor", "__constructor__", "prototype", "__proto__", "__recursionCheck"], 1, true);
return(obj);
}
function getStandardProperties(target_mc) {
var _local3 = new Object();
_local3._props = new Object();
var _local2 = 0;
while (_local2 < mc_prop_small_ary.length) {
if (mc_prop_small_ary[_local2] == "_y") {
_local3._props.depth = target_mc.getDepth();
}
_local3._props[mc_prop_small_ary[_local2]] = target_mc[mc_prop_small_ary[_local2]];
_local2++;
}
return(_local3);
}
function getSoundProperties(snd) {
var _local1 = new Object();
_local1.txtPosition = snd.position;
_local1.txtDuration = snd.duration;
_local1.txtComment = snd.id3.comment;
_local1.txtAlbum = snd.id3.album;
_local1.txtGenre = snd.id3.genre;
_local1.txtSongName = snd.id3.songname;
_local1.txtArtist = snd.id3.artist;
_local1.txtTrack = snd.id3.track;
_local1.txtYear = snd.id3.year;
_local1.txtVolume = snd.getVolume();
_local1.txtPan = snd.getPan();
return(_local1);
}
function getVideoProperties(ns) {
var _local2 = new Object();
_local2.txtPosition = ns.time;
_local2.txtBufferLength = ns.bufferLength;
_local2.txtBufferTime = ns.bufferTime;
_local2.txtBytesLoaded = ns.bytesLoaded;
_local2.txtBytesTotal = ns.bytesTotal;
_local2.txtCurrentFps = ns.currentFps;
var _local4 = getObjProperties(ns);
_local2.props = _local4;
return(_local2);
}
function getName(clip) {
var _local1 = clip._name;
return(((!_local1) ? (String(clip)) : (_local1)));
}
function addObject(link, iType, sName) {
if (link.lastIndexOf(".") > -1) {
var _local6 = link.split(".");
var _local2 = objMap;
var _local4 = 0;
while (_local4 < _local6.length) {
var _local3 = ((_local4 == (_local6.length - 1)) ? (sName) : (_local6[_local4]));
var _local5 = _local6.slice(0, _local4).join(".");
var _local8 = true;
if (!_local2[_local3]) {
_local8 = false;
_local2[_local3] = new Object();
_local5 = ((_local4 > 0) ? ((_local5 + ".") + _local3) : (_local5));
_local2[_local3].sPath = _local5;
_local2[_local3].iType = iType;
_local2[_local3].sName = _local3;
}
_local2 = _local2[_local3];
if ((_local4 == (_local6.length - 1)) && (!_local8)) {
var _local9 = link.split(".");
var _local12 = _local9.pop();
link = (_local9.join(".") + ".") + sName;
_local2.sPath = link;
_local2.iType = iType;
_local2.sName = sName;
}
_local4++;
}
} else {
if (!objMap[link]) {
objMap[link] = new Object();
}
objMap[link].sPath = link;
objMap[link].iType = iType;
objMap[link].sName = sName;
}
}
function buildTree(obj) {
var len = currentObjPath.split(".").length;
var aTemp = obj.sPath.split(".");
aTemp.splice(0, len - 1);
var checkPath = ((aTemp.join(".") == "") ? false : true);
var sNodeName;
var sNodeLabel;
var sCurrentTarget;
var iType;
var o;
if (((obj.sPath != undefined) && (checkPath)) && (obj.sName != undefined)) {
sNodeName = getName(obj.sName);
sNodeName = replace(sNodeName, " ", "_");
sNodeLabel = getName(obj.sName);
sCurrentTarget = obj.sPath;
iType = obj.iType;
switch (iType) {
case 0 :
var sClass = com.blitzagency.xray.ClassPath.getClass(eval (sCurrentTarget), false);
if (!sClass) {
var func = typeof(eval (sCurrentTarget));
sClass = "Object";
}
sNodeLabel = ((sNodeLabel + " (") + sClass) + ")";
o = {label:sNodeLabel, mc:sCurrentTarget, t:iType};
break;
case 1 :
var sClass = com.blitzagency.xray.ClassPath.getClass(eval (sCurrentTarget), false);
sNodeLabel = ((sNodeLabel + " (") + sClass) + ")";
o = {label:sNodeLabel, mc:sCurrentTarget, t:iType};
break;
case 2 :
var sClass = com.blitzagency.xray.ClassPath.getClass(eval (sCurrentTarget), false);
sNodeLabel = ((sNodeLabel + " (") + sClass) + ")";
o = {label:sNodeLabel, mc:sCurrentTarget, t:iType};
break;
case 3 :
var sClass = com.blitzagency.xray.ClassPath.getClass(eval (sCurrentTarget), false);
sNodeLabel = ((sNodeLabel + " (") + sClass) + ")";
o = {label:sNodeLabel, mc:sCurrentTarget, t:iType};
break;
case 4 :
var sClass = com.blitzagency.xray.ClassPath.getClass(eval (sCurrentTarget), false);
sNodeLabel = ((sNodeLabel + " (") + sClass) + ")";
o = {label:sNodeLabel, mc:sCurrentTarget, t:iType};
break;
case 5 :
var sClass = "TextField";
sNodeLabel = ((sNodeLabel + " (") + sClass) + ")";
o = {label:sNodeLabel, mc:sCurrentTarget, t:iType};
break;
case 6 :
var sClass = com.blitzagency.xray.ClassPath.getClass(eval (sCurrentTarget), false);
if (!sClass) {
var func = typeof(eval (sCurrentTarget));
sClass = "Object";
}
sNodeLabel = ((sNodeLabel + " (") + sClass) + ")";
o = {label:sNodeLabel, mc:sCurrentTarget, t:iType};
break;
case 7 :
var sClass = com.blitzagency.xray.ClassPath.getClass(eval (sCurrentTarget), false);
if (sClass) {
sClass = ("( " + sClass) + " )";
} else {
sClass = "( function )";
}
sNodeLabel = sNodeLabel + sClass;
o = {label:sNodeLabel, mc:sCurrentTarget, t:iType};
break;
case 8 :
var sClass = com.blitzagency.xray.ClassPath.getClass(eval (sCurrentTarget), false);
if (!sClass) {
var func = typeof(eval (sCurrentTarget));
sClass = "NetStream";
}
sNodeLabel = ((sNodeLabel + " (") + sClass) + ")";
o = {label:sNodeLabel, mc:sCurrentTarget, t:iType};
break;
case 12 :
var sClass = "Date";
if (!sClass) {
var func = typeof(eval (sCurrentTarget));
sClass = "Date";
}
sNodeLabel = ((sNodeLabel + " (") + sClass) + ")";
o = {label:sNodeLabel, mc:sCurrentTarget, t:iType};
break;
default :
var sClass = com.blitzagency.xray.ClassPath.getClass(eval (sCurrentTarget), false);
if (!sClass) {
var func = typeof(eval (sCurrentTarget));
sClass = "Object";
}
sNodeLabel = ((sNodeLabel + " (") + sClass) + ")";
o = {label:sNodeLabel, mc:sCurrentTarget, t:iType};
}
XMLStr = XMLStr + (("<" + sNodeName) + " ");
for (var atr in o) {
XMLStr = XMLStr + (((atr + "=\"") + o[atr]) + "\" ");
}
XMLStr = XMLStr + ">";
}
aTemp = new Array();
for (var items in obj) {
if (typeof(obj[items]) == "object") {
aTemp.push(obj[items]);
}
}
aTemp.sortOn("sName");
var x = 0;
while (x < aTemp.length) {
buildTree(aTemp[x]);
x++;
}
if (sNodeName) {
XMLStr = XMLStr + (("</" + sNodeName) + ">");
}
}
function _protect(package_obj, unprotected_array) {
_global.ASSetPropFlags(package_obj, null, 1, true);
_global.ASSetPropFlags(package_obj, unprotected_array, 0, true);
_global.ASSetPropFlags(package_obj, ["constructor", "__constructor__", "prototype", "__proto__"], 1, true);
}
function viewTree(obj, objPath, recursiveSearch, showHidden, objectSearch) {
dispatchEvent({type:"onViewTree", obj:obj});
objMap = new Object();
XMLStr = "";
com.blitzagency.xray.Xray.recursionControl = com.blitzagency.xray.Xray.recursionControl + 1;
var sNodeName;
if (typeof(obj) == "movieclip") {
sNodeName = getName(obj);
} else if (typeof(obj) == "object") {
sNodeName = objPath.split(".")[0];
}
var objType = getType(obj);
var targetPath;
if (objType == 2) {
targetPath = String(eval (obj._target));
objPath = targetPath;
} else {
targetPath = objPath;
}
currentObjPath = objPath;
var aTemp = currentObjPath.split(".");
if (aTemp.length > 1) {
aTemp.splice(aTemp.length - 1);
}
var o;
aTemp = targetPath.split(".");
XMLDoc = new XML();
if (recursiveSearch || ((!recursiveSearch) && (targetPath == "_level0"))) {
var currentNode;
var element1 = XMLDoc.createElement(aTemp[0]);
XMLDoc.appendChild(element1);
var attribute_obj = {label:aTemp[0], mc:aTemp[0], t:objType};
setAttributes(XMLDoc.lastChild, attribute_obj);
currentNode = XMLDoc.lastChild;
}
var bParsed = false;
addObject(sNodeName, getType(obj), sNodeName, obj.getDepth());
if (!objectSearch) {
objectSearch = ((getType(obj) == 0) ? true : false);
}
parseTree(obj, sNodeName, objPath, recursiveSearch, showHidden, objectSearch);
buildTree(objMap);
XMLDoc = new XML(XMLStr);
obj = new Object();
obj.XMLDoc = XMLDoc;
dispatchEvent({type:"onViewTreeReturn", obj:obj});
return(XMLDoc);
}
function parseTree(obj, sName, sPath, recursiveSearch, showHidden, objectSearch, parent, lastParent) {
var iDepth = Number(((typeof(obj) == "movieclip") ? (obj.getDepth()) : 0));
var objType = getType(obj);
var unprotected_array = new Array();
if (((typeof(obj) == "object") || (typeof(obj) == "movieclip")) || (typeof(obj) == "function")) {
if (showHidden) {
for (var items in obj) {
unprotected_array.push(items);
}
_global.ASSetPropFlags(obj, null, 0, true);
}
if (recursiveSearch) {
if (obj.__recursionCheck == null) {
obj.prototype.getRecursionChecked = function () {
};
obj.prototype.setRecursionChecked = function (value) {
};
var created = obj.prototype.addProperty("__recursionCheck", obj.prototype.getRecursionChecked, obj.prototype.setRecursionChecked);
obj.__recursionCheck = 0;
_global.ASSetPropFlags(obj, ["__recursionCheck", "getRecursionChecked", "setRecursionChecked"], 1, true);
}
if (Math.floor(obj.__recursionCheck) != Math.floor(com.blitzagency.xray.Xray.recursionControl)) {
obj.__recursionCheck = com.blitzagency.xray.Xray.recursionControl;
}
} else {
delete obj.__recursionCheck;
delete obj.getRecursionChecked;
delete obj.setRecursionChecked;
}
if (((typeof(obj) == "object") && (recursiveSearch)) && (!objectSearch)) {
if (showHidden) {
_protect(obj, unprotected_array);
}
return(undefined);
}
for (var items in obj) {
if ((items != "__recursionCheck") && (((typeof(obj[items]) == "object") || (typeof(obj[items]) == "movieclip")) || (typeof(obj[items]) == "function"))) {
var bReturn = false;
var pathCheck = "";
if (typeof(obj[items]) == "movieclip") {
var pathLength = sPath.split(".").length;
var targetLength = String(eval (obj[items]._target)).split(".").length;
if (pathLength <= targetLength) {
pathCheck = (sPath + ".") + items;
} else {
pathCheck = (sPath + ".") + items;
}
} else {
pathCheck = (sPath + ".") + items;
}
if (((((((((((((((typeof(obj[items]) == "object") || (typeof(obj[items]) == "movieclip")) || (typeof(obj[items]) == "function")) && (items.toLowerCase() != "xray")) && (items != "__recursionCheck")) && (items != "getRecursionChecked")) && (items != "setRecursionChecked")) && (items.toLowerCase() != "xray")) && (items != "__proto__")) && (items != "prototype")) && (items != "__constructor__")) && (items != "__resolve")) && (items != "__removeReferenceDelegateRelease__")) && (items != "__removeReferenceDelegatePress__")) && (items != "constructor")) {
iDepth = Number(((typeof(obj[items]) == "movieclip") ? (obj[items].getDepth()) : 0));
addObject(pathCheck, getType(obj[items]), items, iDepth);
if (recursiveSearch) {
if ((Math.floor(obj[items].__recursionCheck) != Math.floor(com.blitzagency.xray.Xray.recursionControl)) || (obj[items].__recursionCheck < (com.blitzagency.xray.Xray.recursionControl + _recursionCount))) {
if (Math.floor(obj[items].__recursionCheck) == Math.floor(com.blitzagency.xray.Xray.recursionControl)) {
obj[items].__recursionCheck = obj[items].__recursionCheck + 0.001;
}
if ((obj[items].__recursionCheck < (com.blitzagency.xray.Xray.recursionControl + _recursionCount)) || (obj[items].__recursionCheck == undefined)) {
parseTree(obj[items], items, pathCheck, recursiveSearch, showHidden, objectSearch, obj, parent);
}
}
}
}
}
}
if (showHidden) {
_protect(obj, unprotected_array);
}
}
}
function getType(obj) {
var _local14 = Boolean(((typeof(obj) == "object") ? true : false));
var _local6 = ((obj.constructor == Array) ? true : false);
var _local8 = obj instanceof MovieClip;
var _local15 = obj instanceof Button;
var _local5 = obj instanceof Sound;
var _local3 = obj instanceof Video;
var _local9 = obj instanceof NetStream;
var _local4 = obj instanceof TextField;
var _local11 = obj instanceof Date;
var _local12 = Boolean(((typeof(obj) == "function") ? true : false));
var _local7 = Boolean(((typeof(obj) == "string") ? true : false));
var _local13 = Boolean(((typeof(obj) == "number") ? true : false));
var _local10 = Boolean(((typeof(obj) == "boolean") ? true : false));
var _local1;
if (_local14) {
_local1 = 0;
}
if (_local6) {
_local1 = 1;
}
if (_local8) {
_local1 = 2;
}
if (_local15) {
_local1 = 3;
}
if (_local5) {
_local1 = 4;
}
if (_local4) {
_local1 = 5;
}
if (_local3) {
_local1 = 6;
}
if (_local12) {
_local1 = 7;
}
if (_local9) {
_local1 = 8;
}
if (_local7) {
_local1 = 9;
}
if (_local13) {
_local1 = 10;
}
if (_local10) {
_local1 = 11;
}
if (_local11) {
_local1 = 12;
}
return(_local1);
}
}
Symbol 153 MovieClip [__Packages.com.blitzagency.events.GDispatcher] Frame 0
class com.blitzagency.events.GDispatcher
{
var gDispatcher_listeners;
function GDispatcher () {
}
static function initialize(p_obj) {
if ($instance == undefined) {
$instance = new com.blitzagency.events.GDispatcher();
}
p_obj.dispatchEvent = $instance.dispatchEvent;
p_obj.eventListenerExists = $instance.eventListenerExists;
p_obj.addEventListener = $instance.addEventListener;
p_obj.removeEventListener = $instance.removeEventListener;
p_obj.removeAllEventListeners = $instance.removeAllEventListeners;
}
static function $indexOfListener(p_listeners, p_obj, p_function) {
var _local3 = p_listeners.length;
var _local2 = -1;
while (_local2++ , _local2 < _local3) {
var _local1 = p_listeners[_local2];
if ((_local1.o == p_obj) && (_local1.f == p_function)) {
return(_local2);
}
}
return(-1);
}
static function $dispatchEvent(p_dispatchObj, p_listeners, p_eventObj) {
var _local5;
for (_local5 in p_listeners) {
var _local1 = p_listeners[_local5].o;
var _local3 = typeof(_local1);
var _local2 = p_listeners[_local5].f;
if ((_local3 == "object") || (_local3 == "movieclip")) {
if ((_local1.handleEvent != undefined) && (_local2 == undefined)) {
_local1.handleEvent(p_eventObj);
} else {
if (_local2 == undefined) {
_local2 = p_eventObj.type;
}
_local1[_local2](p_eventObj);
}
} else {
_local1.apply(p_dispatchObj, [p_eventObj]);
}
}
}
function dispatchEvent(p_eventObj) {
if (p_eventObj.type == "ALL") {
return(undefined);
}
if (p_eventObj.target == undefined) {
p_eventObj.target = this;
}
this[p_eventObj.type + "Handler"](p_eventObj);
var _local3 = gDispatcher_listeners[p_eventObj.type];
if (_local3 != undefined) {
$dispatchEvent(this, _local3, p_eventObj);
}
_local3 = gDispatcher_listeners.ALL;
if (_local3 != undefined) {
$dispatchEvent(this, _local3, p_eventObj);
}
}
function eventListenerExists(p_event, p_obj, p_function) {
return($indexOfListener(gDispatcher_listeners[p_event], p_obj, p_function) != -1);
}
function addEventListener(p_event, p_obj, p_function) {
if (gDispatcher_listeners == undefined) {
gDispatcher_listeners = {};
_global.ASSetPropFlags(this, gDispatcher_listeners, 1);
}
var _local3 = gDispatcher_listeners[p_event];
if (_local3 == undefined) {
_local3 = [];
gDispatcher_listeners[p_event] = _local3;
}
if ($indexOfListener(_local3, p_obj, p_function) == -1) {
_local3.push({o:p_obj, f:p_function});
}
}
function removeEventListener(p_event, p_obj, p_function) {
var _local2 = gDispatcher_listeners[p_event];
if (_local2 == undefined) {
return(undefined);
}
var _local3 = $indexOfListener(_local2, p_obj, p_function);
if (_local3 != -1) {
_local2.splice(_local3, 1);
}
}
function removeAllEventListeners(p_event) {
if (p_event == undefined) {
delete gDispatcher_listeners;
} else {
delete gDispatcher_listeners[p_event];
}
}
static var $instance = undefined;
}
Symbol 154 MovieClip [__Packages.com.blitzagency.xray.FPSMeter] Frame 0
class com.blitzagency.xray.FPSMeter
{
var _fps, dispatchEvent, _modus, _runFPS, fpsSI, _pollInterval, past, now, pass, delta, populationSize, population;
function FPSMeter () {
com.blitzagency.events.GDispatcher.initialize(this);
init();
}
function get fps() {
return(_fps);
}
function set fps(newValue) {
_fps = newValue;
dispatchEvent({type:"onFpsUpdate", fps:newValue});
//return(fps);
}
function get modus() {
return(_modus);
}
function set modus(newValue) {
_modus = newValue;
//return(modus);
}
function get runFPS() {
return(_runFPS);
}
function set runFPS(newValue) {
_runFPS = newValue;
clearInterval(fpsSI);
if (newValue) {
fpsSI = setInterval(this, "update", pollInterval);
}
//return(runFPS);
}
function get pollInterval() {
return(_pollInterval);
}
function set pollInterval(newValue) {
_pollInterval = newValue;
clearInterval(fpsSI);
if (runFPS) {
fpsSI = setInterval(this, "update", pollInterval);
}
//return(pollInterval);
}
static function getInstance() {
if (_instance == null) {
_instance = new com.blitzagency.xray.FPSMeter();
}
return(_instance);
}
function init() {
past = 0;
now = 0;
fps = ("");
pass = 0;
delta = 0;
populationSize = 10;
population = new Array(populationSize);
runFPS = (false);
modus = (true);
pollInterval = (25);
}
function update() {
if (!runFPS) {
clearInterval(fpsSI);
}
now = getTimer();
delta = now - past;
if (modus) {
population[pass] = delta;
pass++;
if (pass >= populationSize) {
var _local2 = 0;
for (var _local3 in population) {
_local2 = _local2 + population[_local3];
}
var _local5 = int((1000 * populationSize) / _local2);
fps = (("[" + _local5) + "fps]");
pass = 0;
}
} else {
var _local4 = int(1000 / delta);
fps = (("[" + _local4) + "fps]");
}
past = now;
}
static var _instance = null;
}
Symbol 155 MovieClip [__Packages.com.blitzagency.xray.Commander] Frame 0
class com.blitzagency.xray.Commander
{
function Commander () {
}
static function exec(str) {
var _local7 = str.split(";");
var _local4 = 0;
while (_local4 < _local7.length) {
_local7[_local4] = retainValue(_local7[_local4]);
_local7[_local4] = _local7[_local4].split(".");
_local7[_local4][_local7[_local4].length - 1] = restoreValue(_local7[_local4][_local7[_local4].length - 1]);
var _local6 = _local7[_local4];
var _local8 = _local6.length;
var _local3 = 0;
while (_local3 < _local8) {
if (_local6[_local3].indexOf("[") > -1) {
var _local5 = _local6[_local3].split("[");
_local6[_local3] = _local5[0];
var _local1 = 1;
while (_local1 < _local5.length) {
var _local2 = replace(_local5[_local1], "\"", "");
_local2 = replace(_local2, "]", "");
_local6.splice(_local1, 0, _local2);
_local1++;
}
}
_local3++;
}
_local4++;
}
var _local9 = script(_local7);
return(_local9);
}
static function script(cmds) {
var c = 0;
while (c < cmds.length) {
var cmd = cmds[c][cmds[c].length - 1];
cmd = getArguments(cmd);
var d = ((cmds[c].length > 1) ? 1 : 0);
var r;
if (d > 0) {
var exec = eval (cmds[c][0]);
while (d < (cmds[c].length - 1)) {
exec = exec[cmds[c][d]];
d++;
}
if (cmd.method) {
r = exec[cmd.method].apply(exec, cmd.args);
if (r != undefined) {
return(r);
}
} else {
exec[cmd.prop] = cmd.val;
}
} else {
r = _global[cmd.method](cmd.args);
if (r != undefined) {
return(r);
}
}
c++;
}
}
static function retainValue(str) {
var _local5 = str.indexOf("=");
var _local2 = str.indexOf("(");
if (_local5 > -1) {
var _local3 = str.split("=");
_local3[1] = replace(_local3[1], ".", "(dot)");
return(_local3.join("="));
}
if (_local2 > -1) {
var _local4 = str.indexOf(")", _local2);
var _local6 = str.slice(0, _local2);
var _local7 = str.slice(_local4 + 2);
var _local8 = replace(str.substr(_local2, _local4), ".", "(dot)");
return((_local6 + _local8) + _local7);
}
return(str);
}
static function restoreValue(str) {
return(replace(str, "(dot)", "."));
}
static function replace(str, search, use) {
return(str.split(search).join(use));
}
static function getArguments(str) {
var _local10 = str.indexOf("(");
var _local12 = str.lastIndexOf(")");
var _local13;
var _local2;
var _local11;
var _local7;
if (_local10 > -1) {
_local13 = str.substr(0, _local10);
_local2 = str.substring(_local10 + 1, _local12).split(",");
var _local1 = 0;
while (_local1 < _local2.length) {
var _local4 = _local2[_local1].indexOf("\"");
var _local3 = _local2[_local1].indexOf("(");
if (_local3 > -1) {
_local2[_local1] = String(replace(_local2[_local1], " ", ""));
_local2[_local1] = exec(_local2[_local1]);
} else if ((_local4 > -1) && (_local3 == -1)) {
_local2[_local1] = String(replace(_local2[_local1], "\"", ""));
_local2[_local1] = String(replace(_local2[_local1], "'", ""));
} else if (!isNaN(parseInt(_local2[_local1]))) {
_local2[_local1] = parseInt(_local2[_local1]);
}
_local1++;
}
} else {
_local11 = replace(str.split("=")[0], " ", "");
var _local5 = replace(str.split("=")[1], " ", "");
var _local9;
var _local14;
switch (_local5) {
case "true" :
_local9 = true;
_local7 = _local9;
break;
case "false" :
_local9 = false;
_local7 = _local9;
break;
default :
if (!isNaN(parseInt(_local5))) {
_local14 = parseInt(_local5);
_local7 = _local14;
} else {
_local5 = String(replace(_local5, "\"", ""));
_local5 = String(replace(_local5, "'", ""));
_local7 = _local5;
}
}
}
var _local6 = new Object();
_local6.method = _local13;
_local6.args = _local2;
_local6.prop = _local11;
_local6.val = _local7;
return(_local6);
}
}
Symbol 156 MovieClip [__Packages.com.blitzagency.xray.ControlConnection] Frame 0
class com.blitzagency.xray.ControlConnection extends LocalConnection
{
var objViewer, tree_que, queSI, send, fpsMeter, focusEnabledCheck, highlightColor, boundingBox_mc, isConnected, connect;
function ControlConnection () {
super();
mx.events.EventDispatcher.initialize(this);
init();
}
function init() {
objViewer = new com.blitzagency.xray.ObjectViewer();
tree_que = new Array();
}
function viewTree(sTarget_mc, recursiveSearch, showHidden, objectSearch) {
var target_mc = eval (sTarget_mc);
var objPath = null;
if (typeof(target_mc) == "object") {
objPath = sTarget_mc;
}
var tree_xml = objViewer.viewTree(target_mc, objPath, recursiveSearch, showHidden, objectSearch);
if (!tree_xml) {
com.blitzagency.xray.Xray.tt("treeview search returned undefined");
return(undefined);
}
var iLevelCount = 5000;
var level_ary = new Array();
var x = 1;
while (x <= iLevelCount) {
if (eval ("_level" + x)) {
level_ary.push(x);
}
x++;
}
var sTree = tree_xml.toString();
var treeLength = sTree.length;
if (treeLength > 5000) {
tree_que = new Array();
var x = 0;
while (x < treeLength) {
var toSend = sTree.substring(x, x + 5000);
var bLast = (((x + 5000) >= sTree.length) ? true : false);
tree_que.push({XMLDoc:toSend, level_ary:level_ary, bLast:bLast});
x = x + 5000;
}
queSI = setInterval(this, "processQue", 25);
} else {
var obj = {XMLDoc:tree_xml.toString()};
var bSent = send("_xray_conn", "setTree", obj, level_ary, true);
}
}
function processQue() {
var _local2 = tree_que.shift();
var _local3 = new Object();
_local3.XMLDoc = _local2.XMLDoc;
var _local5 = _local2.level_ary;
var _local4 = _local2.bLast;
if (tree_que.length == 0) {
clearInterval(queSI);
}
var _local6 = send("_xray_conn", "setTree", _local3, _local5, _local4);
}
function sendFPS(obj) {
var _local2 = send("_xray_conn", "viewFPS", obj.fps);
}
function showFPS() {
fpsMeter.__set__runFPS(true);
}
function hideFPS() {
fpsMeter.__set__runFPS(false);
}
function fpsOn(showFPS) {
fpsMeter.__set__runFPS(showFPS);
}
function getMovieClipProperties(sTarget_mc, bShowAll) {
var target_mc = eval (sTarget_mc);
var obj = objViewer.getProperties(target_mc, bShowAll);
var bSent = send("_xray_conn", "showMovieClipProperties", obj);
}
function getTipMovieClipProperties(sTarget_mc, bShowAll) {
var target_mc = eval (sTarget_mc);
var obj = objViewer.getProperties(target_mc, false);
var bSent = send("_xray_conn", "showTipMovieClipProperties", obj);
}
function getBaseProperties(sObj, key) {
var sTemp = sObj.split(".");
var target_obj = eval (sTemp[0]);
var x = 1;
while (x < sTemp.length) {
target_obj = target_obj[sTemp[x]];
x++;
}
if (key) {
target_obj = target_obj[key];
}
var obj = objViewer.getBaseProperties(target_obj, sObj);
var bSent = send("_xray_conn", "showBaseProperties", obj);
}
function getObjProperties(sObj, key) {
var sTemp = sObj.split(".");
var target_obj = eval (sTemp[0]);
var x = 1;
while (x < sTemp.length) {
target_obj = target_obj[sTemp[x]];
x++;
}
if (key) {
target_obj = target_obj[key];
}
var obj = objViewer.getObjProperties(target_obj);
var bSent = send("_xray_conn", "showMovieClipProperties", obj);
}
function getFunctionProperties(sObj) {
var target_obj = eval (sObj);
var obj = objViewer.getFunctionProperties(target_obj);
var bSent = send("_xray_conn", "showMovieClipProperties", obj);
}
function writeChangeHistory(obj) {
var _local4 = "//==========/[ CHANGES ]\\===========//";
_global.trace(_local4);
for (var _local3 in obj) {
if (typeof(obj[_local3]) == "object") {
_global.trace(obj[_local3].changes + ";");
}
}
_local4 = "//==========\\[ CHANGES ]/===========//";
_global.trace(_local4);
}
function executeScript(sExecute) {
com.blitzagency.xray.Commander.exec(sExecute);
}
function getSoundProperties(sSound) {
var obj = objViewer.getSoundProperties(eval (sSound));
var bSent = send("_xray_conn", "setSoundProperties", obj);
}
function getVideoProperties(sNetStream) {
var obj = objViewer.getVideoProperties(eval (sNetStream));
var bSent = send("_xray_conn", "setVideoProperties", obj);
}
function playSound(sSound, iLoops) {
var snd = eval (sSound);
snd.start(0, iLoops);
}
function stopSound(sSound) {
var snd = eval (sSound);
snd.stop();
}
function playVideo(sVideo, flv) {
var ns = eval (sVideo);
ns.play(flv);
}
function pauseVideo(sVideo) {
var ns = eval (sVideo);
ns.pause();
}
function stopVideo(sVideo) {
var ns = eval (sVideo);
ns.close();
}
function highlightClip(sTarget_mc) {
var target_mc = eval (sTarget_mc);
focusEnabledCheck = target_mc.focusEnabled;
target_mc.focusEnabled = true;
_global.Selection.setFocus(sTarget_mc);
}
function lowlightClip(sTarget_mc) {
var target_mc = eval (sTarget_mc);
_global.Selection.setFocus(null);
target_mc.focusEnabled = focusEnabledCheck;
}
function startExamineClips(sTarget_mc, iType) {
var target_mc = eval (sTarget_mc);
var mc;
if ((iType == 5) || (iType == 3)) {
} else if (iType == 3) {
} else if (iType == 2) {
mc = target_mc;
var colorObj = highlightColor.getTransform();
var myColorTransform;
if (colorObj && (colorObj.rb == 81)) {
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
com.blitzagency.xray.DragableMovieClip.remove(target_mc);
} else {
com.blitzagency.xray.DragableMovieClip.initialize(target_mc);
myColorTransform = {ra:100, rb:81, ga:100, gb:56, ba:100, bb:-57, aa:100, ab:0};
}
highlightColor = new Color(mc);
highlightColor.setTransform(myColorTransform);
}
boundingBox_mc = mc;
}
function stopExamineClips(sTarget_mc, iType) {
var target_mc = eval (sTarget_mc);
highlightColor = new Color(boundingBox_mc);
var myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
highlightColor.setTransform(myColorTransform);
com.blitzagency.xray.DragableMovieClip.remove(target_mc);
}
function updateHistory(target_mc) {
var sTarget_mc = String(eval (target_mc._target));
var obj = new Object();
var propsAry = new Array("_x", "_y");
var aTemp = sTarget_mc.split(".");
aTemp.splice(0, 1);
sTarget_mc = aTemp.join(".");
var x = 0;
while (x < propsAry.length) {
var p = propsAry[x];
var key = ((sTarget_mc + ".") + p);
var o = ((obj[key] = new Object()));
o.prop = p;
o.value = target_mc[p];
o.key = (sTarget_mc + ".") + p;
o.sExecute = (((sTarget_mc + ".") + p) + " = ") + target_mc[p];
x++;
}
var bSent = send("_xray_conn", "updateHistory", obj);
}
function allowDomain(sendingDomain) {
return(true);
}
function onStatus(infoObject) {
switch (infoObject.level) {
case "status" :
break;
case "error" :
}
}
function initConnection() {
fpsMeter = com.blitzagency.xray.FPSMeter.getInstance();
isConnected = connect("_xray_remote_conn");
return(isConnected);
}
}
Symbol 157 MovieClip [__Packages.com.blitzagency.xray.XrayTrace] Frame 0
class com.blitzagency.xray.XrayTrace
{
var _recursionCount, _sViewInfo, _sViewInfoClean, _queInterval, sendSI, _separator, sendAry, dispatchEvent, iViewColCount;
function XrayTrace () {
com.blitzagency.events.GDispatcher.initialize(this);
separator = (" :: ");
_recursionCount = 0.003;
}
function get sViewInfo() {
return(_sViewInfo);
}
function set sViewInfo(newValue) {
_sViewInfo = newValue;
//return(sViewInfo);
}
function get sViewInfoClean() {
return(_sViewInfoClean);
}
function set sViewInfoClean(newValue) {
_sViewInfoClean = newValue;
//return(sViewInfoClean);
}
function get queInterval() {
return(_queInterval);
}
function set queInterval(newValue) {
_queInterval = newValue;
clearInterval(sendSI);
sendSI = setInterval(this, "sendData", newValue);
//return(queInterval);
}
function get separator() {
return(_separator);
}
function set separator(newValue) {
_separator = newValue;
//return(separator);
}
static function getInstance() {
if (_instance == null) {
_instance = new com.blitzagency.xray.XrayTrace();
}
return(_instance);
}
function sendData() {
var _local2 = sendAry.shift();
if (_local2) {
dispatchEvent({type:"onSendData", info:_local2.sViewInfo, last:_local2.bLast});
}
}
function examine(obj) {
var _local6 = "";
var _local7 = "";
var _local5 = 0;
while (_local5 < iViewColCount) {
_local6 = _local6 + " ";
_local7 = _local7 + " ";
_local5++;
}
if (obj.__recursionCheck == null) {
obj.prototype.getRecursionChecked = function () {
};
obj.prototype.setRecursionChecked = function (value) {
};
obj.prototype.addProperty("__recursionCheck", obj.prototype.getRecursionChecked, obj.prototype.setRecursionChecked);
obj.__recursionCheck = com.blitzagency.xray.Xray.recursionControl;
_global.ASSetPropFlags(obj, ["__recursionCheck", "getRecursionChecked", "setRecursionChecked"], 1, true);
}
if (Math.floor(obj.__recursionCheck) != Math.floor(com.blitzagency.xray.Xray.recursionControl)) {
obj.__recursionCheck = com.blitzagency.xray.Xray.recursionControl;
}
for (var _local8 in obj) {
var _local4 = false;
if ((_local8 != "getRecursionChecked") && (_local8 != "__recursionCheck")) {
sViewInfo = sViewInfo + ((((((_local6 + "<font size=\"12\" color=\"#0000FF\">") + _local8) + "</font>") + " = ") + obj[_local8]) + newline);
sViewInfoClean = sViewInfoClean + ((((_local7 + _local8) + " = ") + obj[_local8]) + newline);
}
if (typeof(obj[_local8]) == "object") {
if ((Math.floor(obj[_local8].__recursionCheck) != Math.floor(com.blitzagency.xray.Xray.recursionControl)) || (obj[_local8].__recursionCheck < (com.blitzagency.xray.Xray.recursionControl + _recursionCount))) {
if (Math.floor(obj[_local8].__recursionCheck) == Math.floor(com.blitzagency.xray.Xray.recursionControl)) {
obj[_local8].__recursionCheck = obj[_local8].__recursionCheck + 0.001;
}
if ((obj[_local8].__recursionCheck < (com.blitzagency.xray.Xray.recursionControl + _recursionCount)) || (obj[_local8].__recursionCheck == undefined)) {
iViewColCount = iViewColCount + 4;
_local4 = examine(obj[_local8]);
if (!_local4) {
return(true);
}
}
}
}
}
iViewColCount = iViewColCount - 4;
sViewInfo = sViewInfo + newline;
sViewInfoClean = sViewInfoClean + newline;
return(true);
}
function trace() {
sViewInfo = ("");
sViewInfoClean = ("");
var _local4 = 0;
while (_local4 < arguments.length) {
if (typeof(arguments[_local4]) == "object") {
sViewInfo = sViewInfo + newline;
sViewInfoClean = sViewInfoClean + newline;
iViewColCount = 2;
dispatchEvent({type:"onStatus", code:"Trace.object"});
com.blitzagency.xray.Xray.recursionControl = com.blitzagency.xray.Xray.recursionControl + 1;
examine(arguments[_local4]);
} else if (_local4 > 0) {
sViewInfo = sViewInfo + (arguments[_local4] + " :: ");
sViewInfoClean = sViewInfoClean + (arguments[_local4] + " :: ");
}
_local4++;
}
if (sViewInfo.substring(sViewInfo.length - 4, sViewInfo.length) == " :: ") {
sViewInfo = (sViewInfo.substring(0, sViewInfo.length - 4));
}
if (sViewInfoClean.substring(sViewInfoClean.length - 4, sViewInfoClean.length) == " :: ") {
sViewInfoClean = (sViewInfoClean.substring(0, sViewInfoClean.length - 4));
}
var _local7 = (((("(" + getTimer()) + ") ") + arguments[0]) + ": ") + sViewInfoClean;
if (com.blitzagency.xray.Xray.lc_info) {
if (_local7 != undefined) {
if (_local7.length > 5000) {
_local4 = 0;
while (_local4 < _local7.length) {
var _local5 = _local7.substring(_local4, _local4 + 5000);
var _local8 = (((_local4 + 5000) >= _local7.length) ? true : false);
sendAry.push({sViewInfo:_local5, bLast:_local8});
_local4 = _local4 + 5000;
}
} else {
sendAry.push({sViewInfo:_local7, bLast:true});
}
}
}
_global.trace((((("(" + getTimer()) + ") ") + arguments[0]) + ": ") + sViewInfoClean);
dispatchEvent({type:"onTrace", sInfo:_local7});
if ((com.blitzagency.xray.Xray.lc_info && (!queInterval)) && (!_global.isLivePreview)) {
queInterval = (50);
sendAry = new Array();
}
return(_local7);
}
static var _instance = null;
}
Symbol 158 MovieClip [__Packages.com.blitzagency.xray.LoggerConnection] Frame 0
class com.blitzagency.xray.LoggerConnection extends LocalConnection
{
var send, xrayTrace, isConnected, connect;
function LoggerConnection () {
super();
com.blitzagency.events.GDispatcher.initialize(this);
}
function setViewInfo(obj) {
var _local2 = send("_xray_view_conn", "setViewInfo", obj.info, obj.last);
}
function getTraceValue(traceValue) {
var sInfo = xrayTrace.trace("getTraceValue", eval (traceValue));
}
function allowDomain(sendingDomain) {
return(true);
}
function onStatus(infoObject) {
switch (infoObject.level) {
case "status" :
break;
case "error" :
}
}
function initConnection() {
xrayTrace = com.blitzagency.xray.XrayTrace.getInstance();
xrayTrace.addEventListener("onSendData", com.blitzagency.util.Delegate.create(this, setViewInfo));
isConnected = connect("_xray_view_remote_conn");
return(isConnected);
}
}
Symbol 159 MovieClip [__Packages.com.blitzagency.util.PointConverter] Frame 0
class com.blitzagency.util.PointConverter
{
function PointConverter () {
mx.events.EventDispatcher.initialize(this);
_global.localToLocal = function () {
com.blitzagency.util.PointConverter.localToLocal.apply(com.blitzagency.util.PointConverter, arguments);
};
}
static function getInstance() {
if (_instance == null) {
_instance = new com.blitzagency.util.PointConverter();
}
return(_instance);
}
static function localToLocal(from, to) {
var _local1 = {x:0, y:0};
from.localToGlobal(_local1);
to.globalToLocal(_local1);
return(_local1);
}
static var _instance = null;
}
Symbol 160 MovieClip [__Packages.com.blitzagency.xray.FunctionName] Frame 0
class com.blitzagency.xray.FunctionName
{
var dispatchEvent;
function FunctionName () {
com.blitzagency.events.GDispatcher.initialize(this);
}
static function getInstance() {
if (_instance == null) {
_instance = new com.blitzagency.xray.FunctionName();
}
return(_instance);
}
function traceFunction(ary, obj) {
_global.ASSetPropFlags(obj, null, 0, true);
for (var _local7 in obj) {
if ((typeof(obj[_local7]) == "function") && (obj[_local7] == ary.callee)) {
_global.tt(((("Function called :: " + _local7) + "\ntarget :: ") + obj) + "\narguments", ary);
dispatchEvent({type:"onTraceFunction", functionName:_local7});
return(_local7);
}
}
_global.ASSetPropFlags(obj, null, 1, true);
}
static var _instance = null;
}
Symbol 356 MovieClip Frame 1
function createFlakes() {
this.createEmptyMovieClip("flake_" + flakeCount, flakeCount + 1);
this["flake_" + flakeCount].attachMovie("snowFlake_mc", "flake", 1);
flakeCount++;
}
stop();
var flakeCount = 0;
var numFlakes = 70;
var i = 0;
while (i < numFlakes) {
createFlakes();
i++;
}
Symbol 363 MovieClip Frame 1
stop();
Symbol 395 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a1", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 396 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a2", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 397 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a3", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 401 Button
on (press) {
prevFrame();
gotoAndStop;
}
Symbol 402 Button
on (press) {
nextFrame();
gotoAndStop;
}
Symbol 403 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a4", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 404 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a5", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 405 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a6", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 406 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a7", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 407 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a8", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 408 MovieClip Frame 1
stop();
Symbol 409 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a9", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 410 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a10", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 411 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a11", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 412 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a12", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 413 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a13", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 414 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a14", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 415 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a15", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 416 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a16", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 417 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a17", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 418 MovieClip Frame 1
stop();
Symbol 419 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a18", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 420 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a19", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 421 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a20", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 422 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a21", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 423 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a22", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 424 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a31", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 425 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a32", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 426 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a33", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 427 MovieClip Frame 1
stop();
Symbol 428 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a23", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 429 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a24", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 430 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a25", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 431 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a26", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 432 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a27", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 433 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a28", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 434 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a29", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 435 Button
on (press) {
_root.van++;
_root.paisaje.ximprimir.attachMovie("a30", "objeto" + _root.van, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["objeto" + _root.van]._x = 0;
_root.paisaje.ximprimir["objeto" + _root.van]._y = 0;
_root.moviendo = "objeto" + _root.van;
}
Symbol 436 MovieClip Frame 1
stop();
Symbol 437 Button
on (press) {
gotoAndStop(ximprimir.arbol.prevFrame());
}
Symbol 438 Button
on (press) {
gotoAndStop(ximprimir.arbol.nextFrame());
}
Symbol 446 MovieClip Frame 5
stop();
Symbol 448 Button
on (press) {
_root.gotoAndPlay(1);
}
Symbol 455 MovieClip Frame 5
stop();
Symbol 457 Button
on (press) {
_root.paisaje.ximprimir[_root.moviendo].ocultar();
_root.moviendo = "";
}
Symbol 464 MovieClip Frame 5
stop();
Symbol 466 Button
on (press) {
_root.vantemp++;
_root.paisaje.ximprimir.createEmptyMovieClip("temporal" + _root.vantemp, _root.paisaje.ximprimir.getNextHighestDepth());
_root.paisaje.ximprimir["temporal" + _root.vantemp].swapDepths(_root.paisaje.ximprimir[_root.moviendo]);
unloadMovie (_root.paisaje.ximprimir["temporal" + _root.vantemp]);
}
Symbol 471 Button
on (press) {
_root.paisaje.ximprimir[_root.moviendo].ocultar();
_root.moviendo = "";
print (ximprimir, "bframe");
}
Symbol 472 MovieClip Frame 1
function cleaner() {
var _local2 = new String();
for (peliculas in _root.vestido) {
_local2 = peliculas;
if (_local2.indexOf("objeto") > -1) {
if ((((_root.paisaje.ximprimir[_local2]._x < 406) or (_root.paisaje.ximprimir[_local2]._x > 582)) or (_root.vestido[_local2]._y < 72)) or (_root.vestido[_local2]._y > 417)) {
unloadMovie (_root.paisaje.ximprimir[_local2]);
}
}
}
}
_root.fondon = 1;
za.onEnterFrame = function () {
if (foto._alpha == 100) {
_root.paisaje.ximprimir[_root.moviendo].ocultar();
_root.moviendo = "";
}
};
stop();