Frame 1
function correcto() {
luz.gotoAndStop(2);
mensaje.text = "MUY BIEN";
cara.gotoAndStop("contento");
tiempo.gotoAndPlay(2);
_root.bien = 1;
publico.play();
mbien.gotoAndPlay(2);
mtiempo.gotoAndStop(1);
}
var pregu = new Array();
var opt1 = new Array();
var opt2 = new Array();
var opt3 = new Array();
var opt4 = new Array();
var oprden = new Array();
pregu[0] = "If you were a celebrity, who would you be?";
opt1[0] = "Jessica de Alba";
opt2[0] = "Paris Hilton";
opt3[0] = "Angelina Jolie";
opt4[0] = "Madonna";
oprden[0] = 0;
pregu[1] = "What Is Your Favorite Dessert";
opt1[1] = "Chocolate cake";
opt2[1] = "Candy";
opt3[1] = "Pie";
opt4[1] = "Ice cream";
oprden[1] = 1;
pregu[2] = "What`s the thing you like the most of a guys body?";
opt1[2] = "His eyes";
opt2[2] = "His mouth";
opt3[2] = "His smile";
opt4[2] = "His personality";
oprden[2] = 2;
pregu[3] = "What`s your favorite color?";
opt1[3] = "Blue";
opt2[3] = "Black";
opt3[3] = "Red";
opt4[3] = "Pink";
oprden[3] = 3;
pregu[4] = "In school, what is your favorite class? ";
opt1[4] = "Physical education";
opt2[4] = "English";
opt3[4] = "Non";
opt4[4] = "Math";
oprden[4] = 4;
pregu[5] = "If you`re planning a date, what would be your favorite place?";
opt1[5] = "The movies";
opt2[5] = "A concert";
opt3[5] = "A coffee shop";
opt4[5] = "An amusement park";
oprden[5] = 5;
pregu[6] = "What`s is your favorite candy?";
opt1[6] = "Lollipop";
opt2[6] = "Bubblegum";
opt3[6] = "Spicy candy";
opt4[6] = "Flavored candy";
oprden[6] = 6;
pregu[7] = "What`s is your favorite music style?";
opt1[7] = "Reggeton";
opt2[7] = "Pop";
opt3[7] = "Rock";
opt4[7] = "Techno";
oprden[7] = 7;
pregu[8] = "What`s your favorite day of the week?";
opt1[8] = "Sunday";
opt2[8] = "Friday";
opt3[8] = "Monday";
opt4[8] = "Saturday";
oprden[8] = 8;
pregu[9] = "What`s your favorite cartoon?";
opt1[9] = "The Simpsons";
opt2[9] = "The Fairy god parents";
opt3[9] = "SpongeBob SquarePants ";
opt4[9] = "The Powerpuff Girls";
oprden[9] = 9;
pregu[10] = "What`s your favorite ice cream flavor?";
opt1[10] = "Strawberry";
opt2[10] = "Chocolate";
opt3[10] = "Vanilla";
opt4[10] = "Chocolate chip";
oprden[10] = 10;
pregu[11] = "What would be your costume for halloween?";
opt1[11] = "Princess";
opt2[11] = "Vampire";
opt3[11] = "Nurse";
opt4[11] = "Bunny Rabbit";
oprden[11] = 11;
pregu[12] = "What`s your favorite sport?";
opt1[12] = "Soccer";
opt2[12] = "Swimming";
opt3[12] = "Non";
opt4[12] = "Tennis";
oprden[12] = 12;
pregu[13] = "If someone ask you to the movies, what type of movie would you like to see?";
opt1[13] = "An action movie";
opt2[13] = "A comic movie";
opt3[13] = "A romantic movie";
opt4[13] = "A terror movie";
oprden[13] = 13;
pregu[14] = "What word describes you the most?";
opt1[14] = "Fun";
opt2[14] = "Shy";
opt3[14] = "Rebel";
opt4[14] = "Fashion";
oprden[14] = 14;
pregu[15] = "If you were an animal, which one would you be?";
opt1[15] = "A dog";
opt2[15] = "A mouse";
opt3[15] = "A bird";
opt4[15] = "A cat";
oprden[15] = 15;
pregu[16] = "If someone ask you out to eat, what would you like to eat?";
opt1[16] = "Pizza";
opt2[16] = "Mexican food";
opt3[16] = "Hamburgers";
opt4[16] = "Hot Dogs";
oprden[16] = 16;
pregu[17] = "Which of this is your favorite movie?";
opt1[17] = "Ratatouille ";
opt2[17] = "High School Musical";
opt3[17] = "Spider man";
opt4[17] = "Harry Potter";
oprden[17] = 17;
pregu[18] = "What`s your favorite pet?";
opt1[18] = "A mouse";
opt2[18] = "A cat";
opt3[18] = "A dog";
opt4[18] = "A snake";
oprden[18] = 18;
pregu[19] = "If you were on of the Girls Rule, which one would you be?";
opt1[19] = "Retro Girl";
opt2[19] = "Chic Girl";
opt3[19] = "Punk Girl";
opt4[19] = "Nerd Girl";
oprden[19] = 19;
pregu[20] = "If you were on of the Angels, which one would you be?";
opt1[20] = "Cookie";
opt2[20] = "Bell";
opt3[20] = "Angie";
opt4[20] = "Dinsy";
oprden[20] = 20;
pregu[21] = "If the guy you like is going to give you something, what would you like?";
opt1[21] = "Earrings";
opt2[21] = "Sunglasses";
opt3[21] = "Handbag";
opt4[21] = "Book";
oprden[21] = 21;
pregu[22] = "Who would be your ideal stud?";
opt1[22] = "Johnny Deep";
opt2[22] = "David Beckham";
opt3[22] = "Justin Timberlake";
opt4[22] = "Orlando Bloom";
oprden[22] = 22;
pregu[23] = "What do you like to wear the most?";
opt1[23] = "Skirt";
opt2[23] = "Pants";
opt3[23] = "Dress";
opt4[23] = "Mini short";
oprden[23] = 23;
pregu[24] = "If you win a car, which one would you prefer?";
opt1[24] = "Mustang";
opt2[24] = "Mini Cooper";
opt3[24] = "Bettle";
opt4[24] = "Hummer";
oprden[24] = 24;
pregu[25] = "Which is your favorite TV show?";
opt1[25] = "Gilmore girls";
opt2[25] = "Lost";
opt3[25] = "Desperate housewives";
opt4[25] = "Prison break";
oprden[25] = 25;
pregu[26] = "In your first date, who would you like to hear?";
opt1[26] = "Radiohead";
opt2[26] = "Madonna";
opt3[26] = "Justin Timberlake";
opt4[26] = "Rihanna";
oprden[26] = 26;
pregu[27] = "Who do you look?";
opt1[27] = "Shakira";
opt2[27] = "Rihanna";
opt3[27] = "Madonna";
opt4[27] = "Nelly Furtado";
oprden[27] = 27;
pregu[28] = "Who would be your worst enemy??";
opt1[28] = "Paris Hilton";
opt2[28] = "Kelly Osborne";
opt3[28] = "Britney Spears";
opt4[28] = "Lindsay Lojan";
oprden[28] = 28;
pregu[29] = "Which detail would you love to get?";
opt1[29] = "Flowers";
opt2[29] = "Letter";
opt3[29] = "Song";
opt4[29] = "Kiss";
oprden[29] = 29;
pregu[30] = "Which part of your body do you like the most?";
opt1[30] = "Eyes";
opt2[30] = "Everything";
opt3[30] = "Mouth";
opt4[30] = "Hands";
oprden[30] = 30;
pregu[31] = "Who is your favorite superhero?";
opt1[31] = "Superman";
opt2[31] = "Harry Potter";
opt3[31] = "Spiderman";
opt4[31] = "Wonder Woman";
oprden[31] = 31;
pregu[32] = "Which are your favorite shoes?";
opt1[32] = "Converse";
opt2[32] = "high hills";
opt3[32] = "skates";
opt4[32] = "Sandals";
oprden[32] = 32;
pregu[33] = "What type of perfume you were?";
opt1[33] = "Fresh";
opt2[33] = "Sweet";
opt3[33] = "Floral";
opt4[33] = "Citric";
oprden[33] = 33;
pregu[34] = "What do you like to do in the afternoons?";
opt1[34] = "Look at the clouds";
opt2[34] = "Take dance lessons";
opt3[34] = "Take a nap";
opt4[34] = "Listen to music";
oprden[34] = 34;
pregu[35] = "How do you like to wear your hair?";
opt1[35] = "Strait";
opt2[35] = "Curly";
opt3[35] = "Short";
opt4[35] = "Punk";
oprden[35] = 35;
pregu[36] = "Where would you like to live?";
opt1[36] = "The beach";
opt2[36] = "The desert";
opt3[36] = "The city";
opt4[36] = "The woods";
oprden[36] = 36;
pregu[37] = "What is your favorite drink?";
opt1[37] = "Juice";
opt2[37] = "Soda";
opt3[37] = "Water";
opt4[37] = "Coffee";
oprden[37] = 37;
pregu[38] = "What would you like your bread with?";
opt1[38] = "Jam";
opt2[38] = "Peanut butter";
opt3[38] = "Beans";
opt4[38] = "Butter";
oprden[38] = 38;
pregu[39] = "What`s your favorite quality in a guy?";
opt1[39] = "Polite";
opt2[39] = "Charming";
opt3[39] = "Smart";
opt4[39] = "Fun";
oprden[39] = 39;
pregu[40] = "What type of cookies do you like the most?";
opt1[40] = "Cinnamon";
opt2[40] = "Chocolate chip";
opt3[40] = "Vanilla";
opt4[40] = "Strawberry";
oprden[40] = 40;
var len = oprden.length;
var rand;
var temp;
var i;
i = 0;
while (i < len) {
rand = random(len);
temp = oprden[i];
oprden[i] = oprden[rand];
oprden[rand] = temp;
i++;
}
var preguntas = new Array();
var r1s = new Array();
var r2s = new Array();
var r3s = new Array();
var r4s = new Array();
_root.actual = 0;
$i = 0;
while ($i < 20) {
preguntas[$i] = pregu[oprden[$i]];
r1s[$i] = opt1[oprden[$i]];
r2s[$i] = opt2[oprden[$i]];
r3s[$i] = opt3[oprden[$i]];
r4s[$i] = opt4[oprden[$i]];
$i++;
}
stop();
Instance of Symbol 4 MovieClip [Xray Connector 8-OS] in Frame 1
//component parameters
onClipEvent (construct) {
classPackages = [];
classPackages[0] = "com";
classPackages[1] = "mx";
classPackages[2] = "flash";
showFPS = false;
}
Frame 2
stop();
Frame 3
play();
publico.gotoAndPlay(2);
mtiempo.gotoAndPlay(2);
Frame 26
trace(_root.actual);
pregunta.text = _level0.preguntas[_root.actual];
tr1.text = _level0.r1s[_root.actual];
tr2.text = _level0.r2s[_root.actual];
tr3.text = _level0.r3s[_root.actual];
tr4.text = _level0.r4s[_root.actual];
cara.gotoAndStop(2);
stop();
Frame 27
puntaje.text = _root.puntos;
_root.score = _root.puntos;
if ((_root.puntos < 20) and (_root.puntos > -1)) {
leyenda.text = "Punk Girl podria ser tu maestra";
}
if ((_root.puntos < 41) and (_root.puntos > 19)) {
leyenda.text = "Necesitas estudiar mas";
}
if ((_root.puntos < 61) and (_root.puntos > 39)) {
leyenda.text = "Nada mal pero a\u00FAn soy mejor";
}
if ((_root.puntos < 81) and (_root.puntos > 59)) {
leyenda.text = "WOW!!! casi perfecto";
}
if (_root.puntos > 80) {
leyenda.text = "Tu y yo tenemos el mismo nivel";
}
if (_root.puntos == 100) {
leyenda.text = "Admito que eres mas inteligente que yo";
}
phptop20 = new LoadVars();
phptop20.juego = "quiz";
phptop20.sendAndLoad("../top20.php", phptop20, "POST");
phptop20.onLoad = function () {
var _local5 = phptop20.nombres;
var _local4 = phptop20.scores;
var _local2 = _local5.split("|");
var _local3 = _local4.split("|");
var _local1 = 1;
while (_local1 < _local2.length) {
_level0[String(_local1)].text = (("(" + _local3[_local1 - 1]) + ")") + _local2[_local1 - 1];
_local1++;
}
};
stop();
Instance of Symbol 4 MovieClip [Xray Connector 8-OS] in Frame 27
//component parameters
onClipEvent (construct) {
classPackages = [];
classPackages[0] = "com";
classPackages[1] = "mx";
classPackages[2] = "flash";
showFPS = false;
}
Symbol 4 MovieClip [Xray Connector 8-OS] Frame 1
#initclip 16
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 32 Button
on (press) {
gotoAndStop (2);
}
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 2
play();
Symbol 37 MovieClip Frame 51
_parent.luz.gotoAndStop(1);
_parent.mensaje.text = "";
_parent.cara.gotoAndStop(1);
if (_root.bien == 1) {
_parent.publico.gotoAndPlay(2);
_parent.aplausos.gotoAndStop(1);
}
_root.actual++;
if (_root.actual == 12) {
_parent.gotoAndStop("final");
} else {
_parent.gotoAndPlay(3);
}
Symbol 41 MovieClip Frame 1
stop();
Symbol 44 Button
on (press) {
getURL ("http://nix.com.mx");
}
Symbol 1 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 5 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 6 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 7 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 8 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 9 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 10 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 11 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 12 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 13 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 14 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 15 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 16 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 17 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 18 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 77 MovieClip Frame 9
stop();
Symbol 85 MovieClip Frame 90
nuve1.gotoAndPlay(1);
nuve2.gotoAndPlay(1);
Symbol 85 MovieClip Frame 159
nuve1.gotoAndPlay(1);
nuve2.gotoAndPlay(1);
Symbol 85 MovieClip Frame 236
nuve1.gotoAndPlay(1);
nuve2.gotoAndPlay(1);
Symbol 85 MovieClip Frame 325
_parent.gotoAndStop(3);
stop();
Symbol 98 MovieClip Frame 143
gotoAndPlay (23);
Symbol 114 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 5
stop();
Symbol 131 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 2
play();
Symbol 137 MovieClip Frame 15
stop();
Symbol 137 MovieClip Frame 16
play();
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 2
play();
Symbol 139 MovieClip Frame 758
_parent.incorrecto();
Symbol 151 Button
on (press) {
ba._x = -1000;
bb._x = -1000;
bc._x = -1000;
bd._x = -1000;
_root.correcto();
}
Symbol 152 Button
on (press) {
ba._x = -1000;
bb._x = -1000;
bc._x = -1000;
bd._x = -1000;
_root.correcto();
}
Symbol 155 Button
on (press) {
ba._x = -1000;
bb._x = -1000;
bc._x = -1000;
bd._x = -1000;
_root.correcto();
}
Symbol 169 Button
on (press) {
stopAllSounds();
gotoAndStop (1);
}
Symbol 178 MovieClip Frame 79
stop();
Symbol 182 MovieClip Frame 77
stop();
Symbol 186 MovieClip Frame 71
stop();
Symbol 190 MovieClip Frame 75
stop();
Symbol 191 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 77
stop();
Symbol 196 MovieClip Frame 35
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
stop();
galan.gotoAndStop(randRange(1, 6));