Frame 1
function doSave(menu, obj) {
getURL ("http://www.6dn.cn", "blank");
}
stop();
stopAllSounds();
System.useCodepage = true;
fscommand ("allowscale", "false");
fscommand ("fullscreen", "false");
var menu_cm = new ContextMenu();
menu_cm.customItems.push(new ContextMenuItem("Powered by \u9ECE\u65B0\u82D1", doSave));
_root.menu = menu_cm;
Instance of Symbol 10 MovieClip in Frame 1
onClipEvent (load) {
System.useCodepage = true;
myload = _root;
stopAllSounds();
oadKey = false;
}
onClipEvent (enterFrame) {
if (myload.loadKey == true) {
_root.gotoAndPlay("begin");
}
}
Instance of Symbol 10 MovieClip in Frame 1
onClipEvent (load) {
System.useCodepage = true;
myload = _root;
stopAllSounds();
oadKey = false;
}
onClipEvent (enterFrame) {
if (myload.loadKey == true) {
_root.gotoAndPlay("begin");
}
}
Frame 2
stopAllSounds();
Frame 87
stop();
Frame 105
stop();
Frame 106
function rand() {
num = random(9) + 1;
len = length(password1);
i = 1;
while (i <= len) {
if (num == (substring(password1, i, 1))) {
rand();
}
i++;
}
return(num);
}
function getitem(num) {
getstat(0);
var _local2 = new Sound();
_local2.attachSound("s1");
_local2.start();
used[num] = 0;
_root["obj" + num].gotoAndStop(2);
}
function useitem(num) {
_root["obj" + num].gotoAndStop(4);
used[num] = 1;
}
function getstat(num) {
i = 1;
while (i <= itemNum) {
if ((item[i] > 0) && (used[i] == 0)) {
_root["obj" + i].gotoAndStop(2);
}
i++;
}
_root["obj" + num].gotoAndStop(3);
stat = num;
}
var item = [];
var used = [];
var key = [];
var stat = 0;
var Dlock = 0;
var itemNum = 14;
var rand1 = (random(4) + 1);
var rand2 = (random(4) + 1);
var rand3 = ((((((random(4) + 1) + "") + (random(4) + 1)) + "") + (random(4) + 1)) + "");
var password0 = "";
i = 1;
while (i <= 8) {
password0 = password0 + Math.floor(Math.random() * 10);
i++;
}
var password1 = "";
n = 1;
while (n <= 6) {
password1 = password1 + rand();
n++;
}
trace(password1);
var password2 = (random(20) + 5);
var password3 = (random(10) + 3);
i = 1;
while (i <= itemNum) {
_root["ctrl" + i] = 0;
item[i] = 0;
used[i] = 0;
i++;
}
_root.ctrl1_1 = 0;
_root.ctrl1_2 = 0;
_root.ctrl1_3 = 0;
_root.ctrl13_1 = 0;
_root.ctrl13_2 = 0;
checkall = function () {
i = 1;
while (i <= itemNum) {
if (used[i] == 0) {
return(false);
}
i++;
}
if ((_root.key[12] != 1) || (_root.key[13] != 1)) {
return(false);
}
return(true);
};
stopAllSounds();
Frame 111
stop();
Frame 116
stopAllSounds();
Frame 182
stop();
Symbol 10 MovieClip Frame 12
byteloaded = myload.getBytesLoaded();
bytetotal = myload.getBytesTotal();
percent = int((byteloaded / bytetotal) * 100);
mypercent = percent + "%";
loading = ((int(byteloaded / 1000) + "K/") + int(bytetotal / 1000)) + "K ";
downloadtime = ((("DATA: " + loading) + "PERCENT: ") + percent) + "%";
Symbol 10 MovieClip Frame 23
if (byteloaded == bytetotal) {
stop();
gotoAndPlay ("start");
} else {
gotoAndPlay ("loop");
}
Symbol 10 MovieClip Frame 37
myload.loadKey = true;
stop();
Symbol 1086 MovieClip [__Packages.com.Scene] Frame 0
class com.Scene
{
var f, dim, clip, matrix, maxLevel, nodes, i;
function Scene (oClip) {
f = 280;
dim = 1.85;
clip = oClip;
matrix = new com.Matrix();
}
function createEngine(level) {
clip.depth = 0;
deleteCub();
maxLevel = 30;
if (level == 1) {
var _local4 = 5;
var _local3 = new Array();
_local3 = new Array();
_local3["0"] = new Array();
_local3["0"]["0"] = new Array();
_local3["0"]["0"]["0"] = "1";
_local3["0"]["1"] = new Array();
_local3["0"]["1"]["4"] = "2";
_local3["0"]["2"] = new Array();
_local3["0"]["2"]["2"] = "3";
_local3["0"]["3"] = new Array();
_local3["0"]["3"]["2"] = "4";
_local3["1"] = new Array();
_local3["1"]["1"] = new Array();
_local3["1"]["1"]["2"] = "5";
_local3["1"]["1"]["4"] = "1";
_local3["1"]["3"] = new Array();
_local3["1"]["3"]["3"] = "6";
_local3["2"] = new Array();
_local3["2"]["1"] = new Array();
_local3["2"]["1"]["0"] = "6";
_local3["2"]["2"] = new Array();
_local3["2"]["2"]["1"] = "4";
_local3["2"]["2"]["3"] = "5";
_local3["2"]["3"] = new Array();
_local3["2"]["3"]["0"] = "3";
_local3["2"]["4"] = new Array();
_local3["2"]["4"]["2"] = "2";
}
_global.amountFace = _local4;
var _local5 = new com.Cub(clip, nodes);
var _local6 = new com.Plane(clip, nodes, _local4, _local3);
}
function refreshScene() {
i = 0;
var _local4 = _global.polygons.length;
while (i < _local4) {
var _local3 = _global.polygons[i];
_local3.clickStatus = false;
_local3.complite = false;
if (_local3.stopPolygon) {
_local3.polyType.oStatus = 0;
_local3.polyType.complite = false;
} else if (_local3.polyType.type > 0) {
_local3.polyType.type = 0;
}
_local3.draw();
i++;
}
_global.selectType = 0;
_global.undoArray = new Array();
}
function undo() {
var _local4 = _global.undoArray.length;
if (_local4 != 0) {
var _local2 = 0;
while (_local2 < _local4) {
_global.undoArray[_local2].poly.polyType.type = _global.undoArray[_local2].type;
_global.undoArray[_local2].poly.draw();
_local2++;
}
_global.undoArray[0].poly.checkStatusLines();
_global.undoArray[0].poly.selectFace();
_local2 = 0;
var _local5 = _global.startPoint.length;
while (_local2 < _local5) {
var _local3 = _global.startPoint[_local2].poly;
if (_local3.polyType.type == _global.selectType) {
_local3.polyType.oStatus = 1;
} else if (_local3.polyType.complite) {
_local3.polyType.oStatus = 2;
} else {
_local3.polyType.oStatus = 0;
}
_local3.draw();
_local2++;
}
_global.undoArray = new Array();
}
}
function deleteCub() {
for (var _local3 in clip) {
if (typeof(clip[_local3]) == "movieclip") {
clip[_local3].removeMovieClip();
}
}
nodes = new Array();
_global.polygons = new Array();
_global.map = new Array();
_global.startPoint = new Array();
_global.undoArray = new Array();
_global.selectType = 0;
}
function render(xangle, yangle) {
matrix.rotate(xangle, yangle);
i = 0;
var _local4 = nodes.length;
while (i < _local4) {
nodes[i].rotate(matrix, f, dim);
i++;
}
i = 0;
var _local3 = _global.polygons.length;
while (i < _local3) {
_global.polygons[i].draw();
i++;
}
}
}
Symbol 1087 MovieClip [__Packages.com.Matrix] Frame 0
class com.Matrix
{
var rad, sinTable, cosTable, cxa, sxa, cya, sya;
function Matrix () {
rad = 0.01745329;
sinTable = new Array();
cosTable = new Array();
var _local2 = -900;
while (_local2 >= -1800) {
sinTable[_local2] = Math.sin((_local2 / 10) * rad);
cosTable[_local2] = Math.cos((_local2 / 10) * rad);
_local2--;
}
}
function rotate(xangle, yangle) {
xangle = int(xangle * 10);
yangle = int(yangle * 10);
cxa = cosTable[xangle];
sxa = sinTable[xangle];
cya = cosTable[yangle];
sya = sinTable[yangle];
}
}
Symbol 1088 MovieClip [__Packages.com.Cub] Frame 0
class com.Cub
{
var clip, nodes, n0, n1, n2, n3, n4, n5, n6, n7, poly0, poly1, poly2;
function Cub (_clip, _nodes) {
clip = _clip;
nodes = _nodes;
create();
}
function create() {
n0 = new com.Node(-50, -50, -50);
n1 = new com.Node(-50, -50, 50);
n2 = new com.Node(50, -50, 50);
n3 = new com.Node(50, -50, -50);
n4 = new com.Node(-50, 50, -50);
n5 = new com.Node(-50, 50, 50);
n6 = new com.Node(50, 50, 50);
n7 = new com.Node(50, 50, -50);
var _local3 = 0;
while (_local3 < 8) {
nodes.push(this["n" + _local3]);
_local3++;
}
var _local4 = -2;
poly0 = new com.Polygon(clip.createEmptyMovieClip("cub_mc_" + clip.depth, clip.depth++), _local4);
poly0.addNode(n4);
poly0.addNode(n5);
poly0.addNode(n6);
poly0.addNode(n7);
poly1 = new com.Polygon(clip.createEmptyMovieClip("cub_mc_" + clip.depth, clip.depth++), _local4);
poly1.addNode(n7);
poly1.addNode(n6);
poly1.addNode(n2);
poly1.addNode(n3);
poly2 = new com.Polygon(clip.createEmptyMovieClip("cub_mc_" + clip.depth, clip.depth++), _local4);
poly2.addNode(n0);
poly2.addNode(n4);
poly2.addNode(n7);
poly2.addNode(n3);
_local3 = 0;
while (_local3 < 3) {
_global.polygons.push(this["poly" + _local3]);
_local3++;
}
}
}
Symbol 1089 MovieClip [__Packages.com.Node] Frame 0
class com.Node
{
var $x, $y, $z, sx, sy;
function Node (a, b, c) {
$x = (a ? (a) : 0);
$y = (b ? (b) : 0);
$z = (c ? (c) : 0);
sx = $x;
sy = $y;
}
function rotate(m, f, dim) {
var _local4 = ($z * m.cya) - ($x * m.sya);
var _local7 = ($z * m.sya) + ($x * m.cya);
var _local6 = ($y * m.sxa) + (_local4 * m.cxa);
var _local5 = ($y * m.cxa) - (_local4 * m.sxa);
var _local3 = (f / (f + _local6)) * dim;
sx = _local7 * _local3;
sy = _local5 * _local3;
}
function get x() {
return(sx);
}
function get y() {
return(sy);
}
}
Symbol 1090 MovieClip [__Packages.com.Polygon] Frame 0
class com.Polygon
{
var nodes, polySound, clickStatus, complite, stopPolygon, polyType, clip, obj, pass, poitsFound, i;
function Polygon (_clip, _typePolygon) {
var _local3 = parseInt(_typePolygon, 10);
nodes = new Array();
polySound = new com.Sounds(_clip);
clickStatus = false;
complite = false;
if ((_typePolygon == undefined) || (_local3 < 1)) {
stopPolygon = false;
if (_local3 < 0) {
polyType = new com.Types(_local3);
} else {
polyType = new com.Types(0);
}
} else {
_global.startPoint.push({poly:this, i:_global.polygons.length});
stopPolygon = true;
polyType = new com.Types(_local3);
}
clip = _clip;
clip.obj = this;
clip.useHandCursor = false;
clip.onPress = clickToPolygon;
clip.onRelease = (clip.onReleaseOutside = deleteAutoSelect);
}
function addNode(a, b) {
nodes.push({node:a, control:b});
}
function clickToPolygon() {
_global.undoArray = new Array();
if (obj.stopPolygon) {
obj.polySound.playSound("clickToEndPoint");
_global.selectType = obj.polyType.type;
obj.selectFace();
} else if (((_global.selectType > 0) && (obj.polyType.type >= 0)) && (obj.polyType.type != _global.selectType)) {
_global.undoArray.push({poly:obj, type:obj.polyType.type});
obj.polySound.playSound("clickToFace");
obj.polyType.type = _global.selectType;
}
obj.draw();
obj.clip.onMouseMove = obj.autoSelect;
}
function autoSelect() {
var _local3 = 3;
var _local6 = _global.polygons.length;
while (_local3 < _local6) {
var _local2 = _global.polygons[_local3];
if (_local2.clip.hitTest(_xmouse, _ymouse, true)) {
if (_local2.polyType.type != _global.selectType) {
if ((!_local2.stopPolygon) && (_local2.polyType.type >= 0)) {
_global.undoArray.push({poly:_local2, type:_local2.polyType.type});
_local2.polyType.type = _global.selectType;
_local2.polySound.playSound("clickToFace");
_local2.draw();
break;
}
}
}
_local3++;
}
}
function deleteAutoSelect() {
delete obj.clip.onMouseMove;
if (_global.selectType > 0) {
obj.checkStatusLines();
}
}
function selectFace() {
polyType.oStatus = 1;
var _local4 = 0;
var _local5 = _global.startPoint.length;
while (_local4 < _local5) {
var _local3 = _global.startPoint[_local4].poly;
if (_local3.polyType.type == polyType.__get__type()) {
_local3.polyType.oStatus = 1;
} else if (_local3.polyType.complite) {
_local3.polyType.oStatus = 2;
} else {
_local3.polyType.oStatus = 0;
}
_local3.draw();
_local4++;
}
}
function changeStatusComlite(poly) {
var _local4 = false;
if (!poly.polyType.complite) {
var _local3 = 0;
var _local5 = _global.startPoint.length;
while (_local3 < _local5) {
var _local2 = _global.startPoint[_local3].poly;
if (_local2.polyType.type == poly.polyType.type) {
_local2.polyType.complite = true;
_local2.polyType.oStatus = 2;
_local4 = true;
}
_local2.draw();
_local3++;
}
}
return(_local4);
}
function changeStatusNoComlite(poly) {
var _local4 = false;
if (poly.polyType.complite) {
var _local3 = 0;
var _local5 = _global.startPoint.length;
while (_local3 < _local5) {
var _local2 = _global.startPoint[_local3].poly;
if (_local2.polyType.type == poly.polyType.type) {
_local2.polyType.complite = false;
_local2.polyType.oStatus = 0;
_local4 = true;
}
_local2.draw();
_local3++;
}
}
return(_local4);
}
function checkStatusLines() {
var _local11 = false;
var _local10 = false;
var _local12 = 0;
var _local9 = _global.startPoint.length;
var _local8 = 1;
while (_local8 <= (_local9 / 2)) {
var _local4 = 0;
pass = new Array();
poitsFound = new Array();
while (_local4 < _local9) {
var _local3 = _global.startPoint[_local4].poly;
var _local7 = _local8.toString();
if (_local3.polyType.type == _local7) {
poitsFound.push(_global.startPoint[_local4].i);
if (true) {
var _local6 = poitsFound.length;
if (_local6 != 0) {
var _local5 = foundNextFace(poitsFound[0], _local7);
if (_local5) {
_local12++;
if (changeStatusComlite(_local3)) {
_local11 = true;
}
// unexpected jump
}
// unexpected jump
}
if (changeStatusNoComlite(_local3)) {
_local10 = true;
}
}
break;
}
_local4++;
}
_local8++;
}
if (_local10) {
polySound.playSound("lineNoComplite");
} else if (_local11) {
if (_local12 == (_local9 / 2)) {
polySound.playSound("winLevel");
clip._parent._parent.endLevel();
} else {
polySound.playSound("lineComplite");
}
}
}
function foundNextFace(i, type) {
var _local13 = false;
var _local4 = _global.amountFace;
var _local12 = _local4 * _local4;
var _local16 = i - 3;
var _local9 = int(_local16 / _local12);
var _local14 = Math.floor((_local16 - (_local9 * _local12)) / _local4);
var _local11 = _local16 % _local4;
var _local8 = _local14 - 1;
var _local7 = _local11;
if (_local8 < 0) {
if (_local9 == 1) {
_local8 = (_local4 - _local11) - 1;
_local7 = _local4 - 1;
} else {
_local8 = _local4 - 1;
}
var _local5 = 0;
_local5 = ((_local9 != 0) ? (_local5) : 10);
} else {
var _local5 = _local9;
}
var _local3 = (3 + ((_local8 * _local4) + _local7)) + (_local5 * _local12);
if ((_global.polygons[_local3].polyType.type == type) && (!pass[_local3])) {
if (_global.polygons[_local3].stopPolygon) {
_local13 = true;
} else {
pass[i] = true;
poitsFound.push(_local3);
}
}
_local8 = _local14 + 1;
_local7 = _local11;
if (_local8 >= _local4) {
_local8 = 0;
var _local5 = _local9 + 2;
} else {
var _local5 = _local9;
}
_local3 = (3 + ((_local8 * _local4) + _local7)) + (_local5 * _local12);
if ((_global.polygons[_local3].polyType.type == type) && (!pass[_local3])) {
if (_global.polygons[_local3].stopPolygon) {
_local13 = true;
} else {
pass[i] = true;
poitsFound.push(_local3);
}
}
_local8 = _local14;
_local7 = _local11 + 1;
if (_local7 >= _local4) {
if (_local9 == 0) {
_local8 = 0;
_local7 = (_local4 - _local14) - 1;
} else {
_local7 = 0;
}
var _local5 = 1;
_local5 = ((_local9 != 1) ? (_local5) : 10);
} else {
var _local5 = _local9;
}
_local3 = (3 + ((_local8 * _local4) + _local7)) + (_local5 * _local12);
if ((_global.polygons[_local3].polyType.type == type) && (!pass[_local3])) {
if (_global.polygons[_local3].stopPolygon) {
_local13 = true;
} else {
pass[i] = true;
poitsFound.push(_local3);
}
}
_local8 = _local14;
_local7 = _local11 - 1;
if (_local7 < 0) {
if (_local9 == 0) {
_local8 = _local4 - 1;
_local7 = (_local4 - _local11) - 1;
} else {
_local7 = _local4 - 1;
}
var _local5 = 2;
_local5 = ((_local9 == 1) ? (_local5) : 10);
} else {
var _local5 = _local9;
}
_local3 = (3 + ((_local8 * _local4) + _local7)) + (_local5 * _local12);
if ((_global.polygons[_local3].polyType.type == type) && (!pass[_local3])) {
if (_global.polygons[_local3].stopPolygon) {
_local13 = true;
} else {
pass[i] = true;
poitsFound.push(_local3);
}
}
for (var _local15 in poitsFound) {
if (poitsFound[_local15] == i) {
var _local6 = _local15;
poitsFound.splice(_local6, 1);
}
}
return(_local13);
}
function draw() {
i = 1;
clip.clear();
var _local5 = ((nodes[1].node.x - nodes[0].node.x) * (nodes[2].node.y - nodes[0].node.y)) - ((nodes[1].node.y - nodes[0].node.y) * (nodes[2].node.x - nodes[0].node.x));
if (_local5 < 0) {
var _local4 = polyType.__get__simpleStyle();
clip.moveTo(nodes[0].node.x, nodes[0].node.y);
if (_local4.__get__linealpha() != 0) {
clip.lineStyle(_local4.__get__lineweight(), _local4.__get__linecolor(), _local4.__get__linealpha());
}
clip.beginFill(_local4.__get__fillcolor(), _local4.__get__fillalpha());
var _local3 = nodes.length;
while (i < _local3) {
if (nodes[i].control) {
var _local2 = polyType.__get__advanceStyle();
clip.moveTo(nodes[i].node.x, nodes[i].node.y);
if (_local2.__get__linealpha() != 0) {
clip.lineStyle(_local2.__get__lineweight(), _local2.__get__linecolor(), _local2.__get__linealpha());
}
clip.beginFill(_local2.__get__fillcolor(), _local2.__get__fillalpha());
i++;
continue;
}
clip.lineTo(nodes[i].node.x, nodes[i].node.y);
i++;
}
clip.endFill();
}
}
function set type(a) {
polyType = a;
//return(type);
}
function get type() {
return(polyType);
}
}
Symbol 1091 MovieClip [__Packages.com.Sounds] Frame 0
class com.Sounds
{
var winLevel, clickToFace, clickToEndPoint, lineComplite, lineNoComplite;
function Sounds (obj) {
winLevel = new Sound(obj);
winLevel.attachSound("winLevel");
winLevel.onSoundComplete = emptyFuncForSound;
clickToFace = new Sound(obj);
clickToFace.attachSound("clickToFace");
clickToFace.onSoundComplete = emptyFuncForSound;
clickToEndPoint = new Sound(obj);
clickToEndPoint.attachSound("clickToEndPoint");
clickToEndPoint.onSoundComplete = emptyFuncForSound;
lineComplite = new Sound(obj);
lineComplite.attachSound("lineComplite");
lineComplite.onSoundComplete = emptyFuncForSound;
lineNoComplite = new Sound(obj);
lineNoComplite.attachSound("lineNoComplite");
lineNoComplite.onSoundComplete = emptyFuncForSound;
}
function playSound(type) {
lineNoComplite.setVolume(60);
switch (type) {
case "clickToFace" :
clickToFace.start();
break;
case "clickToEndPoint" :
clickToEndPoint.start();
break;
case "lineComplite" :
lineComplite.start();
break;
case "lineNoComplite" :
lineNoComplite.start();
break;
case "winLevel" :
lineNoComplite.setVolume(30);
winLevel.start();
}
}
function emptyFuncForSound() {
}
}
Symbol 1092 MovieClip [__Packages.com.Types] Frame 0
class com.Types
{
static var colorSelect;
var oStatus, oType, styleBlack, styleBlack2, styleEmty, styleSimple1, styleSimple2, styleSimple3, styleSimple4, styleSimple5, styleSimple6, styleAdvanceBlack, styleAdvanceSelect, styleAdvanceComlite;
function Types (_t) {
colorSelect = randomAlternative(6);
oStatus = 0;
oType = _t;
styleBlack = new com.Style();
styleBlack.fillcolor = 1973790 /* 0x1E1E1E */;
styleBlack.lineweight = 0;
styleBlack.linealpha = 0;
styleBlack2 = new com.Style();
styleBlack2.__set__fillcolor(0);
styleBlack2.__set__linecolor(140);
styleBlack2.__set__lineweight(0);
styleBlack2.__set__linealpha(100);
styleEmty = new com.Style();
styleEmty.fillcolor = 6513507 /* 0x636363 */;
styleEmty.lineweight = 0;
styleEmty.linealpha = 0;
styleSimple1 = new com.Style();
styleSimple1.fillcolor = 25599;
styleSimple1.lineweight = 0;
styleSimple1.linealpha = 0;
styleSimple2 = new com.Style();
styleSimple2.__set__fillcolor(65280);
styleSimple2.__set__lineweight(0);
styleSimple2.__set__linealpha(0);
styleSimple3 = new com.Style();
styleSimple3.fillcolor = 16776960 /* 0xFFFF00 */;
styleSimple3.lineweight = 0;
styleSimple3.linealpha = 0;
styleSimple4 = new com.Style();
styleSimple4.fillcolor = 16646144 /* 0xFE0000 */;
styleSimple4.lineweight = 0;
styleSimple4.linealpha = 0;
styleSimple5 = new com.Style();
styleSimple5.fillcolor = 16686080 /* 0xFE9C00 */;
styleSimple5.lineweight = 0;
styleSimple5.linealpha = 0;
styleSimple6 = new com.Style();
styleSimple6.__set__fillcolor(13369599);
styleSimple6.__set__lineweight(0);
styleSimple6.__set__linealpha(0);
styleAdvanceBlack = new com.Style();
styleAdvanceBlack.fillcolor = 0;
styleAdvanceBlack.linecolor = 0;
styleAdvanceBlack.lineweight = 0;
styleAdvanceBlack.linealpha = 100;
styleAdvanceSelect = new com.Style();
styleAdvanceSelect.fillcolor = 16777215 /* 0xFFFFFF */;
styleAdvanceSelect.linecolor = 0;
styleAdvanceSelect.lineweight = 0;
styleAdvanceSelect.fillalpha = 70;
styleAdvanceSelect.linealpha = 100;
}
function randomAlternative(n) {
var _local1 = new Array();
var _local6 = new Array();
var _local2 = 0;
while (_local2 < n) {
var _local4 = _local2 + 1;
_local1.push(_local4);
_local2++;
}
var _local3;
_local2 = 0;
while (_local2 < n) {
_local3 = random(_local1.length);
_local6.push(_local1[_local3]);
_local1.splice(_local3, 1);
_local2++;
}
return(_local6);
}
function get type() {
return(oType);
}
function set type(a) {
oType = a;
//return(type);
}
function get simpleStyle() {
if (oType <= 0) {
var _local2 = oType;
} else {
var _local2 = colorSelect[oType - 1];
}
switch (_local2) {
case -1 :
return(styleBlack2);
case -2 :
return(styleBlack);
case 0 :
return(styleEmty);
case 1 :
return(styleSimple1);
case 2 :
return(styleSimple2);
case 3 :
return(styleSimple3);
case 4 :
return(styleSimple4);
case 5 :
return(styleSimple5);
case 6 :
return(styleSimple6);
}
return(new com.Style());
}
function get advanceStyle() {
switch (oStatus) {
case 0 :
return(styleAdvanceBlack);
case 1 :
return(styleAdvanceSelect);
case 2 :
var _local2 = simpleStyle;
styleAdvanceComlite = new com.Style();
styleAdvanceComlite.__set__fillcolor(_local2.fillcolor);
styleAdvanceComlite.__set__linecolor(0);
styleAdvanceComlite.__set__lineweight(0);
styleAdvanceComlite.__set__linealpha(100);
return(styleAdvanceComlite);
}
}
}
Symbol 1093 MovieClip [__Packages.com.Style] Frame 0
class com.Style
{
var lWeight, lAlpha, fAlpha, lColor, fColor;
function Style () {
lWeight = 0;
lAlpha = 100;
fAlpha = 100;
lColor = 52224;
fColor = 0;
}
function set linealpha(a) {
lAlpha = a;
//return(linealpha);
}
function set lineweight(a) {
lWeight = a;
//return(lineweight);
}
function set linecolor(a) {
lColor = a;
//return(linecolor);
}
function set fillalpha(a) {
fAlpha = a;
//return(fillalpha);
}
function set fillcolor(a) {
fColor = a;
//return(fillcolor);
}
function get linealpha() {
return(lAlpha);
}
function get lineweight() {
return(lWeight);
}
function get linecolor() {
return(lColor);
}
function get fillalpha() {
return(fAlpha);
}
function get fillcolor() {
return(fColor);
}
}
Symbol 1094 MovieClip [__Packages.com.Plane] Frame 0
class com.Plane
{
var clip, nodes, n0, n1, n2, n3, n4, n5, n6, n7, poly0;
function Plane (_clip, _nodes, _plane, _stopPoint) {
clip = _clip;
nodes = _nodes;
createPlanes(_plane, _stopPoint);
}
function createPlanes(_plane, _stopPoint) {
var _local13 = 2;
var _local3 = (100 / _plane) - _local13;
var _local8 = _local3 / 5;
var _local12 = 0;
while (_local12 < 3) {
var _local5 = 0;
while (_local5 < _plane) {
var _local4 = 0;
while (_local4 < _plane) {
if (parseInt(_stopPoint[_local12][_local4][_local5], 10) > 0) {
var _local11 = 8;
var _local9 = true;
} else {
var _local11 = 4;
var _local9 = false;
}
var _local6 = (50 - (_local13 / 2)) - (_local13 * _local4);
var _local7 = (50 - (_local13 / 2)) - (_local13 * _local5);
switch (_local12) {
case 0 :
n0 = new com.Node((-_local6) + (_local4 * _local3), 50.1, _local7 - ((_local5 + 1) * _local3));
n1 = new com.Node((-_local6) + (_local4 * _local3), 50.1, _local7 - (_local5 * _local3));
n2 = new com.Node((-_local6) + ((_local4 + 1) * _local3), 50.1, _local7 - (_local5 * _local3));
n3 = new com.Node((-_local6) + ((_local4 + 1) * _local3), 50.1, _local7 - ((_local5 + 1) * _local3));
if (_local9) {
n4 = new com.Node(((-_local6) + (_local4 * _local3)) + _local8, 50.1, (_local7 - ((_local5 + 1) * _local3)) + _local8);
n5 = new com.Node(((-_local6) + (_local4 * _local3)) + _local8, 50.1, (_local7 - (_local5 * _local3)) - _local8);
n6 = new com.Node(((-_local6) + ((_local4 + 1) * _local3)) - _local8, 50.1, (_local7 - (_local5 * _local3)) - _local8);
n7 = new com.Node(((-_local6) + ((_local4 + 1) * _local3)) - _local8, 50.1, (_local7 - ((_local5 + 1) * _local3)) + _local8);
}
break;
case 1 :
n0 = new com.Node(50.1, _local7 - ((_local5 + 1) * _local3), (-_local6) + (_local4 * _local3));
n1 = new com.Node(50.1, _local7 - (_local5 * _local3), (-_local6) + (_local4 * _local3));
n2 = new com.Node(50.1, _local7 - (_local5 * _local3), (-_local6) + ((_local4 + 1) * _local3));
n3 = new com.Node(50.1, _local7 - ((_local5 + 1) * _local3), (-_local6) + ((_local4 + 1) * _local3));
if (_local9) {
n4 = new com.Node(50.1, (_local7 - ((_local5 + 1) * _local3)) + _local8, ((-_local6) + (_local4 * _local3)) + _local8);
n5 = new com.Node(50.1, (_local7 - (_local5 * _local3)) - _local8, ((-_local6) + (_local4 * _local3)) + _local8);
n6 = new com.Node(50.1, (_local7 - (_local5 * _local3)) - _local8, ((-_local6) + ((_local4 + 1) * _local3)) - _local8);
n7 = new com.Node(50.1, (_local7 - ((_local5 + 1) * _local3)) + _local8, ((-_local6) + ((_local4 + 1) * _local3)) - _local8);
}
break;
case 2 :
n0 = new com.Node((-_local6) + (_local4 * _local3), _local7 - ((_local5 + 1) * _local3), -50.1);
n1 = new com.Node((-_local6) + (_local4 * _local3), _local7 - (_local5 * _local3), -50.1);
n2 = new com.Node((-_local6) + ((_local4 + 1) * _local3), _local7 - (_local5 * _local3), -50.1);
n3 = new com.Node((-_local6) + ((_local4 + 1) * _local3), _local7 - ((_local5 + 1) * _local3), -50.1);
if (!_local9) {
break;
}
n4 = new com.Node(((-_local6) + (_local4 * _local3)) + _local8, (_local7 - ((_local5 + 1) * _local3)) + _local8, -50.1);
n5 = new com.Node(((-_local6) + (_local4 * _local3)) + _local8, (_local7 - (_local5 * _local3)) - _local8, -50.1);
n6 = new com.Node(((-_local6) + ((_local4 + 1) * _local3)) - _local8, (_local7 - (_local5 * _local3)) - _local8, -50.1);
n7 = new com.Node(((-_local6) + ((_local4 + 1) * _local3)) - _local8, (_local7 - ((_local5 + 1) * _local3)) + _local8, -50.1);
}
var _local10 = 0;
while (_local10 < _local11) {
nodes.push(this["n" + _local10]);
_local10++;
}
poly0 = new com.Polygon(clip.createEmptyMovieClip("cub_mc_" + clip.depth, clip.depth++), _stopPoint[_local12][_local4][_local5]);
poly0.addNode(n0);
poly0.addNode(n1);
poly0.addNode(n2);
poly0.addNode(n3);
if (_local9) {
poly0.addNode(n4, true);
poly0.addNode(n5);
poly0.addNode(n6);
poly0.addNode(n7);
}
_global.polygons.push(poly0);
_local4++;
}
_local5++;
}
_local12++;
}
}
}
Symbol 30 Button
on (release) {
gotoAndStop (1);
}
Symbol 42 MovieClip Frame 1
stop();
Symbol 71 Button
on (release) {
_root.help.gotoAndStop(2);
}
Symbol 72 Button
on (release) {
_root.gotoAndPlay("start");
}
Symbol 78 MovieClip Frame 1
myCtext._visible = false;
wenzi._x = myCtext.textWidth;
Symbol 79 MovieClip Frame 33
stop();
Symbol 80 MovieClip Frame 1
var xsize = 10;
var ysize = 10;
var max = length(text);
var TextWidth = play.letter._width;
var i = 1;
play._visible = 0;
Symbol 80 MovieClip Frame 3
duplicateMovieClip ("play", "play" + i, i);
var curchar = (substring(text, i, 1));
var cText = (substring(text, 0, i - 1));
Set(("play" + i) + "/letter:char", curchar);
Set(("play" + i) + "/letter:cText", cText);
if (curchar eq " ") {
eval ("play" + i)._visible = 0;
}
i = i + 1;
Symbol 80 MovieClip Frame 4
if (Number(i) > Number(max)) {
stop();
} else {
gotoAndPlay ("loop");
}
Symbol 83 Button
on (release) {
_root.gotoAndPlay("main");
}
Symbol 91 Button
on (release) {
play();
}
Symbol 92 Button
on (release) {
_root.gotoAndPlay("main");
}
Instance of Symbol 80 MovieClip in Symbol 93 MovieClip Frame 1
onClipEvent (load) {
text = "\u957F\u5B89\u5954\u5954\u6C7D\u8F66\u5F00\u59CB\u8BD5\u9A7E\u4E86\uFF01\uFF01";
}
Symbol 93 MovieClip Frame 43
stop();
Instance of Symbol 80 MovieClip in Symbol 93 MovieClip Frame 44
onClipEvent (load) {
text = "\u5954\u54E5\u5954\u59B9\u76F8\u7EA6\u6765\u5230\u957F\u5B89\u5954\u5954\u8F66\u5C55\u5385";
}
Symbol 93 MovieClip Frame 81
stop();
Instance of Symbol 80 MovieClip in Symbol 93 MovieClip Frame 82
onClipEvent (load) {
text = "\u5954\u59B9\uFF1A\u77E5\u9053\u8FD9\u4E2A\u4E16\u754C\u4EC0\u4E48\u662F\u5B8C\u5168\u7531\u6211\u638C\u63E1\u542C\u6211\u8C03\u9063";
}
Symbol 93 MovieClip Frame 125
stop();
Instance of Symbol 80 MovieClip in Symbol 93 MovieClip Frame 126
onClipEvent (load) {
text = "\u547C\u4E4B\u5373\u6765\u6325\u4E4B\u5373\u53BB\u7684\u5417\uFF1F";
}
Symbol 93 MovieClip Frame 167
stop();
Instance of Symbol 80 MovieClip in Symbol 93 MovieClip Frame 168
onClipEvent (load) {
text = "\u5954\u54E5\uFF1A\u7537\u670B\u53CB\uFF1F\uFF01";
}
Symbol 93 MovieClip Frame 210
stop();
Instance of Symbol 80 MovieClip in Symbol 93 MovieClip Frame 211
onClipEvent (load) {
text = "\u5954\u59B9\uFF1A\u4E0D\uFF0C\u662F\u8F66\u5B50\uFF01";
}
Symbol 93 MovieClip Frame 247
stop();
Instance of Symbol 80 MovieClip in Symbol 93 MovieClip Frame 248
onClipEvent (load) {
text = "\u5954\u59B9\uFF1A\u770B\u6211\u7684\uFF01\u6211\u8981\u83B7\u5F97\u8BD5\u9A7E\u8D44\u683C\uFF01";
}
Symbol 93 MovieClip Frame 287
stop();
Instance of Symbol 80 MovieClip in Symbol 93 MovieClip Frame 288
onClipEvent (load) {
text = "\u5954\u54E5\uFF1A\u7ED9\u4F60\u52A0\u6CB9\uFF01";
}
Symbol 93 MovieClip Frame 328
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 107 Button
on (release) {
_root.getstat(1);
}
Symbol 112 Button
on (release) {
_root.getstat(0);
gotoAndStop (2);
}
Symbol 114 MovieClip Frame 1
stop();
Symbol 117 Button
on (release) {
_root.getstat(2);
}
Symbol 118 Button
on (release) {
_root.getstat(0);
gotoAndStop (2);
}
Symbol 119 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 1
stop();
Symbol 123 Button
on (release) {
_root.getstat(3);
}
Symbol 124 Button
on (release) {
_root.getstat(0);
gotoAndStop (2);
}
Symbol 125 MovieClip Frame 1
stop();
Instance of Symbol 122 MovieClip "1" in Symbol 125 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_root.item[3]);
}
Instance of Symbol 122 MovieClip "2" in Symbol 125 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop(_root.item[3]);
}
Symbol 128 Button
on (release) {
_root.getstat(4);
}
Symbol 129 Button
on (release) {
_root.getstat(0);
gotoAndStop (2);
}
Symbol 130 MovieClip Frame 1
stop();
Symbol 132 Button
on (release) {
_root.getstat(5);
}
Symbol 133 Button
on (release) {
_root.getstat(0);
gotoAndStop (2);
}
Symbol 134 MovieClip Frame 1
stop();
Symbol 136 Button
on (release) {
_root.getstat(6);
}
Symbol 137 Button
on (release) {
_root.getstat(0);
gotoAndStop (2);
}
Symbol 138 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 1
stop();
Symbol 142 Button
on (release) {
_root.getstat(7);
}
Symbol 143 Button
on (release) {
_root.getstat(0);
gotoAndStop (2);
}
Symbol 144 MovieClip Frame 1
stop();
Instance of Symbol 141 MovieClip "1" in Symbol 144 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_root.item[7]);
}
Instance of Symbol 141 MovieClip "2" in Symbol 144 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop(_root.item[7]);
}
Symbol 146 Button
on (release) {
_root.getstat(8);
}
Symbol 147 Button
on (release) {
_root.getstat(0);
gotoAndStop (2);
}
Symbol 148 MovieClip Frame 1
stop();
Symbol 151 Button
on (release) {
_root.getstat(9);
}
Symbol 152 Button
on (release) {
_root.getstat(0);
gotoAndStop (2);
}
Symbol 153 MovieClip Frame 1
stop();
Symbol 155 Button
on (release) {
_root.getstat(10);
}
Symbol 156 Button
on (release) {
_root.getstat(0);
gotoAndStop (2);
}
Symbol 157 MovieClip Frame 1
stop();
Symbol 164 Button
on (release) {
_root.getstat(11);
}
Symbol 165 Button
on (release) {
_root.getstat(0);
gotoAndStop (2);
}
Symbol 166 MovieClip Frame 1
stop();
Symbol 168 Button
on (release) {
_root.getstat(12);
}
Symbol 169 Button
on (release) {
_root.getstat(0);
gotoAndStop (2);
}
Symbol 170 MovieClip Frame 1
stop();
Symbol 174 Button
on (release) {
if (_root.stat == 6) {
_root.myfont.tText = "\u5728\u653E\u5927\u955C\u4E0B\uFF0C\u9F9F\u7532\u4E2D\u7A81\u7136\u663E\u73B0\u51FA\u5B57\u6765\uFF01";
_root.myfont.gotoAndPlay(2);
if (_root.ctrl14 == 1) {
_root.useitem(6);
}
_root.useitem(13);
_root.item[13] = 2;
_root.getitem(13);
_root.ctrl13 = 1;
gotoAndStop (2);
}
}
Symbol 176 MovieClip Frame 1
stop();
if (_root.ctrl13 == 1) {
gotoAndStop (2);
}
Symbol 177 Button
on (release) {
_root.getstat(13);
}
Symbol 178 Button
on (release) {
_root.getstat(0);
gotoAndStop (2);
}
Symbol 179 MovieClip Frame 1
stop();
Instance of Symbol 176 MovieClip "1" in Symbol 179 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_root.item[13]);
}
Instance of Symbol 176 MovieClip "2" in Symbol 179 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop(_root.item[13]);
}
Symbol 181 Button
on (release) {
if (_root.stat == 6) {
_root.myfont.tText = "\u5728\u653E\u5927\u955C\u4E0B\uFF0C\u9F9F\u7532\u4E2D\u7A81\u7136\u663E\u73B0\u51FA\u5B57\u6765\uFF01";
_root.myfont.gotoAndPlay(2);
if (_root.ctrl13 == 1) {
_root.useitem(6);
}
_root.useitem(14);
_root.item[14] = 2;
_root.getitem(14);
_root.ctrl14 = 1;
gotoAndStop (2);
}
}
Symbol 183 MovieClip Frame 1
stop();
if (_root.ctrl14 == 1) {
gotoAndStop (2);
}
Symbol 184 Button
on (release) {
_root.getstat(14);
}
Symbol 185 Button
on (release) {
_root.getstat(0);
gotoAndStop (2);
}
Symbol 186 MovieClip Frame 1
stop();
Instance of Symbol 183 MovieClip "1" in Symbol 186 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_root.item[14]);
}
Instance of Symbol 183 MovieClip "2" in Symbol 186 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop(_root.item[14]);
}
Symbol 189 Button
on (release) {
_root.tip.gotoAndStop(_root.stat + 1);
}
Symbol 195 Button
on (release) {
_root.gotoAndPlay("begin");
}
Symbol 198 Button
on (release) {
_root.getstat(0);
myfont.tText = "\u8FD9\u91CC\u597D\u50CF\u6CA1\u53D1\u73B0\u4EC0\u4E48\u7279\u522B\u54E6!";
myfont.gotoAndPlay(2);
}
Symbol 212 MovieClip Frame 1
stop();
Symbol 224 Button
on (release) {
if (_root.stat == 8) {
_root.myfont.tText = "\u7070\u8272\u94A5\u5319\u6253\u5F00\u4E86\u5927\u9501\uFF01";
_root.useitem(8);
play();
} else {
_root.myfont.tText = "\u8FD9\u628A\u5927\u9501\u9700\u8981\u4E00\u628A\u7070\u8272\u94A5\u5319\u6253\u5F00\uFF01";
}
_root.myfont.gotoAndPlay(2);
}
Symbol 227 Button
on (release) {
_root.sub.gotoAndStop(12);
}
Symbol 228 MovieClip Frame 1
stop();
if (_root.used[8] == 1) {
gotoAndStop ("end");
}
Symbol 228 MovieClip Frame 2
_parent.w = 1;
Symbol 228 MovieClip Frame 40
stop();
Symbol 233 Button
on (release) {
if (_root.key[0] == 1) {
_root.myfont.tText = "\u6BCF\u4E00\u4E2A\u89D2\u5EA6\u770B\u90FD\u662F\u90A3\u4E48\u6F02\u4EAE\uFF01";
if (!flag) {
play();
} else {
stop();
}
flag = !flag;
} else {
_root.myfont.tText = "\u4E00\u8F86\u6F02\u4EAE\u7684\u7EA2\u8272\u5954\u5954\u8F66\uFF01";
}
_root.myfont.gotoAndPlay(2);
}
Symbol 262 Button
on (release) {
stop();
_root.sub.gotoAndStop("sub3");
}
Symbol 303 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 71
gotoAndPlay (2);
Symbol 304 Button
on (release) {
if (_root.key[10] == 1) {
_root.key[2] = 1;
play();
}
}
Symbol 317 Button
on (release) {
_parent.gotoAndPlay("open");
}
Symbol 318 MovieClip Frame 1
stop();
if (_root.key[2] == 1) {
gotoAndStop ("end");
}
Symbol 318 MovieClip Frame 2
_parent.mask.gotoAndPlay(2);
Symbol 318 MovieClip Frame 46
stop();
Symbol 328 Button
on (release) {
if (_root.stat == 1) {
_root.myfont.tText = "\u5954\u5954\u8F66\u6A21\u653E\u5728\u5C55\u53F0\u4E0A\uFF0C\u7A81\u7136\u2026\u2026\uFF01";
_root.useitem(1);
play();
} else {
_root.myfont.tText = "\u5C55\u53F0\u4E0A\u5DF2\u7ECF\u53D8\u6210\u7A7A\u7A7A\u7684\u4E86\uFF01";
}
_root.myfont.gotoAndPlay(2);
}
Symbol 340 Button
on (release) {
if (_root.stat == 2) {
_root.myfont.tText = "\u7528\u8F66\u94A5\u5319\u6253\u5F00\u4E86\u5954\u5954\u8F66\u2026\u2026\uFF01";
_root.useitem(2);
play();
} else {
_root.myfont.tText = "\u8FD9\u4E00\u8F86\u5954\u5954\u8F66\u6211\u4E5F\u5F88\u559C\u6B22\uFF01";
}
_root.myfont.gotoAndPlay(2);
}
Symbol 344 MovieClip Frame 1
stop();
if (_root.used[2] == 1) {
gotoAndStop ("flag4");
} else if (_root.used[1] == 1) {
gotoAndStop ("flag3");
} else if (_root.item[2] == 1) {
gotoAndStop ("flag2");
} else if (_root.key[11] == 1) {
gotoAndStop ("flag1");
}
Symbol 344 MovieClip Frame 21
stop();
Symbol 344 MovieClip Frame 42
stop();
Symbol 344 MovieClip Frame 43
mask.gotoAndPlay(2);
Symbol 344 MovieClip Frame 88
stop();
Symbol 344 MovieClip Frame 103
stop();
Symbol 353 Button
on (release) {
_root.sub.gotoAndStop("sub10");
}
Symbol 359 MovieClip Frame 1
stop();
if (_root.key[10] == 1) {
gotoAndStop (2);
}
Symbol 363 Button
on (release) {
gotoAndStop ("f2");
}
Symbol 364 Button
on (release) {
gotoAndStop ("f5");
}
Symbol 365 Button
on (release) {
sub.gotoAndStop("sub1");
}
Symbol 366 Button
on (release) {
sub.gotoAndStop("sub2");
}
Symbol 367 Button
on (release) {
_root.sub.gotoAndStop("sub9");
}
Symbol 368 MovieClip Frame 1
stop();
if (_root.key[10] == 1) {
gotoAndStop (2);
}
Symbol 372 Button
on (release) {
_root.myfont.tText = "\u53D1\u73B0\u4E86\u4E00\u4E2A\u5E9F\u7EB8\u56E2\uFF01";
_root.myfont.gotoAndPlay(2);
gotoAndStop (2);
_root.item[3] = 1;
_root.getitem(3);
}
Symbol 373 MovieClip Frame 1
stop();
if (_root.item[3] != 0) {
gotoAndStop (2);
}
Symbol 374 Button
on (release) {
gotoAndStop (1);
}
Symbol 377 Button
on (release) {
if (_root.used[5] == 1) {
_root.key[1] = 1;
_root.myfont.tText = "\u628A\u706D\u706B\u5668\u4FDD\u9669\u6813\u62E7\u5F00\uFF0C\u5F80\u5899\u4E0A\u55B7~~~!";
play();
} else {
_root.myfont.tText = "\u8FD9\u662F\u4E00\u4E2A\u706D\u706B\u5668\uFF0C\u53EF\u662F\u6211\u4E0D\u77E5\u9053\u600E\u4E48\u4F7F\u7528\u5B83!";
}
_root.myfont.gotoAndPlay(2);
}
Symbol 383 MovieClip Frame 16
stop();
Symbol 394 MovieClip Frame 1
p1 = _root.password2;
p2 = _root.password3;
Symbol 395 MovieClip Frame 1
stop();
if (_root.key[1] == 1) {
gotoAndStop ("end");
}
Symbol 395 MovieClip Frame 60
_root.myfont.tText = ((("\u88AB\u6D82\u6389\u7684\u5B57\u663E\u73B0\u51FA\u6765\u4E86~~~\u4E0A\u9762\u5199\u7740\uFF1A\u571F\u832F:" + _root.password2) + "\u751F\u5730\uFF1A") + _root.password3) + "~~~~~";
_root.myfont.gotoAndPlay(2);
Symbol 395 MovieClip Frame 66
stop();
Symbol 400 Button
on (release) {
gotoAndStop (2);
}
Symbol 402 MovieClip Frame 1
stop();
Symbol 402 MovieClip Frame 2
_root.myfont.tText = "\u53D1\u73B0\u4E86\u9690\u85CF\u7684\u8F66\u724C\u53F7\u7801\uFF01";
_root.myfont.gotoAndPlay(2);
_root.key[6] = 1;
password1 = _root.password1;
Symbol 404 Button
on (release) {
_root.myfont.tText = "\u53D1\u73B0\u4E86\u4E00\u4E2A\u94C1\u52FA\uFF01";
_root.myfont.gotoAndPlay(2);
gotoAndStop (2);
_root.item[10] = 1;
_root.getitem(10);
}
Symbol 405 MovieClip Frame 1
stop();
if (_root.item[10] != 0) {
gotoAndStop (2);
}
Symbol 415 Button
on (press) {
_parent.play();
gotoAndPlay ("play");
}
Symbol 432 MovieClip Frame 1
password0 = _root.password0;
Symbol 438 MovieClip Frame 1
stop();
Symbol 438 MovieClip Frame 11
p = 0;
stop();
Symbol 439 MovieClip Frame 1
stop();
Symbol 439 MovieClip Frame 13
stop();
Symbol 446 Button
on (press) {
_parent.play();
gotoAndPlay ("play");
}
Symbol 454 Button
on (release) {
if (_root.stat == 5) {
_root.myfont.tText = "\u5728\u4E66\u4E0A\u7B7E\u4E0A\u4E86\u5B57\uFF01";
_root.myfont.gotoAndPlay(2);
play();
_root.useitem(5);
}
}
Symbol 459 MovieClip Frame 1
stop();
if (_root.used[5] == 1) {
gotoAndStop ("end");
}
Symbol 459 MovieClip Frame 15
stop();
Symbol 460 MovieClip Frame 1
stop();
Symbol 460 MovieClip Frame 11
stop();
Symbol 461 MovieClip Frame 1
stop();
Symbol 461 MovieClip Frame 13
stop();
Symbol 467 Button
on (press) {
_parent.play();
gotoAndPlay ("play");
}
Symbol 475 MovieClip Frame 1
stop();
Symbol 475 MovieClip Frame 11
p = 0;
stop();
Symbol 476 MovieClip Frame 1
stop();
Symbol 476 MovieClip Frame 13
stop();
Symbol 478 Button
on (release) {
checkme();
}
Symbol 482 Button
on (release) {
_parent._parent.lastnum = _parent._parent.nownum;
_parent._parent.nownum = _parent._parent.nownum + (substring(this._name, 2, 1));
nextFrame();
trace(_parent._parent.nownum);
}
Symbol 484 Button
on (release) {
_parent._parent.nownum = _parent._parent.lastnum;
gotoAndStop (1);
}
Symbol 485 MovieClip Frame 1
stop();
Symbol 485 MovieClip Frame 2
stop();
Symbol 486 MovieClip Frame 1
stop();
Symbol 489 Button
on (release) {
_root.myfont.tText = "\u53D1\u73B0\u4E86\u4E00\u4E2A\u94BB\u77F3\u773C\uFF01";
_root.myfont.gotoAndPlay(2);
gotoAndStop (2);
_root.item[9] = 1;
_root.getitem(9);
}
Symbol 490 MovieClip Frame 1
stop();
if (_root.item[9] != 0) {
gotoAndStop (2);
}
Symbol 491 MovieClip Frame 1
stop();
if (_root.item[9] != 0) {
gotoAndStop (2);
}
var nownum = "";
var lastnum = "";
checkme = function () {
if (Number(nownum) == Number(_root.password1)) {
nextFrame();
} else {
this.aa.gotoAndPlay(2);
}
nownum = "";
lastnum = "";
};
Symbol 507 Button
on (release) {
checkme();
}
Symbol 518 Button
on (release) {
pass = pass + "0";
t1.text = pass;
}
Symbol 519 Button
on (release) {
pass = pass + "1";
t1.text = pass;
}
Symbol 520 Button
on (release) {
pass = pass + "2";
t1.text = pass;
}
Symbol 521 Button
on (release) {
pass = pass + "3";
t1.text = pass;
}
Symbol 522 Button
on (release) {
pass = pass + "4";
t1.text = pass;
}
Symbol 523 Button
on (release) {
pass = pass + "5";
t1.text = pass;
}
Symbol 524 Button
on (release) {
pass = pass + "6";
t1.text = pass;
}
Symbol 525 Button
on (release) {
pass = pass + "7";
t1.text = pass;
}
Symbol 526 Button
on (release) {
pass = pass + "8";
t1.text = pass;
}
Symbol 527 Button
on (release) {
pass = pass + "9";
t1.text = pass;
}
Symbol 528 MovieClip Frame 1
function checkme() {
trace((Number(pass) + " : ") + Number(_root.password0));
if (Number(pass) == Number(_root.password0)) {
_parent.gotoAndStop("flag1");
} else {
pass = "";
t1.text = pass;
}
}
var pass = "";
Symbol 533 MovieClip Frame 1
function hide() {
this._visible = false;
}
function show() {
if (dataSave.data.level == undefined) {
continueGame._visible = false;
} else {
continueGame._visible = true;
}
_parent.credits_mc._visible = false;
credits._visible = (startGame._visible = (helpGame._visible = (viewScores._visible = (moreGames._visible = (getGame._visible = (downloadGame._visible = true))))));
final_score_mc._visible = (youWin_mc._visible = (downloadGame2._visible = (getGame2._visible = (moreGames2._visible = (submitScore._visible = (mainMenu._visible = false))))));
this._visible = true;
}
function showWon() {
_root.score_str = "Final score: " + _root.score;
credits._visible = (startGame._visible = (continueGame._visible = (helpGame._visible = (viewScores._visible = (moreGames._visible = (getGame._visible = (downloadGame._visible = false)))))));
final_score_mc._visible = (youWin_mc._visible = (downloadGame2._visible = (getGame2._visible = (moreGames2._visible = (submitScore._visible = (mainMenu._visible = true))))));
this._visible = true;
}
function showExit() {
_root.score_str = "Final score: " + _root.score;
credits._visible = (youWin_mc._visible = (startGame._visible = (continueGame._visible = (helpGame._visible = (viewScores._visible = (moreGames._visible = (getGame._visible = (downloadGame._visible = false))))))));
final_score_mc._visible = (downloadGame2._visible = (getGame2._visible = (moreGames2._visible = (submitScore._visible = (mainMenu._visible = true)))));
this._visible = true;
}
var dataSave = SharedObject.getLocal("3d_ligic");
youWin_mc._visible = false;
show();
this.startGame.onRelease = function () {
hide();
youWin_mc._visible = false;
_parent.playGame.show();
_parent.level = 1;
_root.score = 0;
_parent.playGame.score = 0;
_parent.startNextLevel();
};
this.continueGame.onRelease = function () {
hide();
youWin_mc._visible = false;
_parent.playGame.show();
_parent.level = dataSave.data.level;
_parent.score = 0;
_parent.playGame.score = 0;
_parent.startNextLevel();
};
this.helpGame.onRelease = function () {
hide();
_parent.helpGame.show();
};
this.mainMenu.onRelease = function () {
show();
};
this.viewScores.onRelease = function () {
getURL (_root.viewscores_link, "_blank");
};
this.moreGames.onRelease = (this.moreGames2.onRelease = function () {
getURL (_root.main_link, "_blank");
});
this.getGame.onRelease = (this.getGame2.onRelease = function () {
getURL (_root.get_game_link, "_blank");
});
this.downloadGame.onRelease = (this.downloadGame2.onRelease = function () {
getURL (_root.download_link, "_blank");
});
this.submitScore.onRelease = function () {
var _local2 = _root.hex_md5(("gameid=1367&hiscore=" + _root.score) + "2DPlay.com/");
getURL (String(((_root.scores_link + _root.score) + "&hash=") + _local2), "_blank");
};
Symbol 540 MovieClip Frame 1
if (_root.key[0] == 1) {
gotoAndStop ("end");
}
Symbol 540 MovieClip Frame 98
stop();
Symbol 540 MovieClip Frame 99
function initGames() {
this._visible = true;
oScene = new com.Scene(this.engine);
this.onMouseMove = function () {
renderScene();
};
}
function startNextLevel() {
_root.level_complete = false;
this.onMouseMove = function () {
renderScene();
};
this.engine._alpha = 0;
this.engine.useHandCursor = false;
delete this.engine.onPress;
oScene.createEngine(level);
maxLevel = oScene.maxLevel;
renderScene();
this.playGame.level_str = (("Level: " + level) + " of ") + maxLevel;
bonus = level * 100;
timer = getTimer();
this.playGame.bonus = bonus;
this.engine.onEnterFrame = function () {
this._alpha = this._alpha + 5;
if (this._alpha > 100) {
this._alpha = 100;
delete this.onEnterFrame;
this.onEnterFrame = function () {
var _local2 = Math.floor((getTimer() - this._parent.timer) / 1000);
this._parent.playGame.bonus = this._parent.bonus - (this._parent.level * _local2);
if (this._parent.playGame.bonus < 0) {
this._parent.playGame.bonus = 0;
}
};
}
};
}
function endLevel() {
delete this.onMouseMove;
this.engine.onPress = null;
this.engine.cub_mc_1._visible = (this.engine.cub_mc_2._visible = (this.engine.cub_mc_3._visible = false));
var _local7 = 1000;
for (var _local8 in this.engine) {
var _local4 = this.engine[_local8];
var _local3 = _local4.getBounds(_local4._parent);
var _local5 = (_local3.xMin + _local3.xMax) / 2;
var _local6 = (_local3.yMin + _local3.yMax) / 2;
if (_local3.yMin < _local7) {
_local7 = _local3.yMin;
_root.min_y_cell = _local4;
}
_local4.f_dx = _local5 / 30;
_local4.f_dy = (-Math.abs(_local6 / 15)) - (Math.random() * 5);
_local4.fddy = (1.1 + (Math.random() * 0.2)) - 0.1;
}
_root.level_complete = true;
gotoAndPlay ("do");
this.menu.youWin_mc._visible = true;
this.playGame.endGames();
}
function renderScene() {
var _local3 = -135 + ((-this.engine._ymouse) / dec);
if (_local3 > -90) {
_local3 = -90;
} else if (_local3 < -180) {
_local3 = -180;
}
var _local2 = -135 + ((-this.engine._xmouse) / dec);
if (_local2 > -90) {
_local2 = -90;
} else if (_local2 < -180) {
_local2 = -180;
}
oScene.render(_local3, _local2);
}
stop();
Stage.scaleMode = "noScale";
var maxLevel;
var dec = 3.5;
var level = 1;
this._visible = false;
initGames();
stop();
Symbol 540 MovieClip Frame 100
Symbol 540 MovieClip Frame 126
_root.key[0] = 1;
_root.back.gotoAndStop(2);
_root.pan.gotoAndStop(2);
_root.useitem(3);
Symbol 540 MovieClip Frame 127
stop();
Symbol 550 Button
on (release) {
_parent.gotoAndStop(1);
}
Symbol 553 Button
on (release) {
if (((_root.stat == 13) && (_root.used[6] == 1)) && (_root.used[13] != 1)) {
_root.myfont.tText = "\u628A\u7532\u9AA8\u6587\u653E\u5728\u4E86\u68CB\u76D8\u4E0A\uFF01";
_root.myfont.gotoAndPlay(2);
_root.useitem(13);
_root.key[10] = (isNaN(_root.key[10]) ? 0.5 : (_root.key[10] + 0.5));
play();
} else {
_parent._parent.gotoAndPlay(1);
}
}
Symbol 556 MovieClip Frame 1
stop();
if (_root.used[13] == 1) {
gotoAndStop ("end");
}
Symbol 556 MovieClip Frame 2
_root.b1.gotoAndStop(2);
Symbol 556 MovieClip Frame 20
stop();
Symbol 557 MovieClip Frame 1
stop();
if (_root.key[0] == 1) {
gotoAndStop (2);
}
Symbol 559 Button
on (release) {
if (((_root.stat == 14) && (_root.used[6] == 1)) && (_root.used[14] != 1)) {
_root.myfont.tText = "\u628A\u7532\u9AA8\u6587\u653E\u5728\u4E86\u68CB\u76D8\u4E0A\uFF01";
_root.myfont.gotoAndPlay(2);
_root.useitem(14);
_root.key[10] = (isNaN(_root.key[10]) ? 0.5 : (_root.key[10] + 0.5));
play();
} else {
_parent._parent.gotoAndPlay(1);
}
}
Symbol 563 MovieClip Frame 1
stop();
if (_root.used[14] == 1) {
gotoAndStop ("end");
}
Symbol 563 MovieClip Frame 2
_root.b2.gotoAndStop(2);
Symbol 563 MovieClip Frame 20
stop();
Symbol 564 MovieClip Frame 1
stop();
if (_root.key[0] == 1) {
gotoAndStop (2);
}
Symbol 564 MovieClip Frame 2
rand1 = random(4) + 1;
n = 1;
while (n <= 4) {
this["f" + n]._visible = 0;
n++;
}
this["f" + thenum]._visible = 1;
Symbol 572 MovieClip Frame 1
stop();
Symbol 572 MovieClip Frame 9
stop();
_parent.checkme();
Symbol 572 MovieClip Frame 10
Symbol 572 MovieClip Frame 19
gotoAndStop (1);
Symbol 572 MovieClip Frame 31
_parent.play();
Symbol 580 Button
on (release) {
len = length(_parent.n[Number(this._name)]);
i = 1;
while (i <= len) {
mynum = substring(_parent.n[Number(this._name)], i, 1);
myblock = _parent["b" + mynum];
myblock.flag = ((myblock.flag == 0) ? 1 : 0);
myblock.gotoAndPlay("flag" + myblock.flag);
trace(myblock.flag);
i++;
}
play();
}
Symbol 582 MovieClip Frame 1
stop();
Symbol 586 Button
on (release) {
_root.myfont.tText = "\u53D1\u73B0\u4E86\u4E00\u628A\u8F66\u94A5\u5319\uFF01";
_root.myfont.gotoAndPlay(2);
gotoAndStop (2);
_root.item[2] = 1;
_root.getitem(2);
_root.car.gotoAndPlay("close");
_parent._parent.gotoAndStop(1);
}
Symbol 587 MovieClip Frame 1
stop();
if (_root.item[2] != 0) {
gotoAndStop (2);
}
Symbol 588 MovieClip Frame 1
stop();
var n = [];
n[1] = "1245";
n[2] = "1235";
n[3] = "2456";
n[4] = "356";
n[5] = "246";
checkme = function () {
i = 1;
while (i <= 6) {
if (this["b" + i].flag != 0) {
return(false);
}
i++;
}
i = 1;
while (i <= 6) {
this["b" + i].gotoAndPlay("flag2");
i++;
}
trace("OK");
return(true);
};
Symbol 588 MovieClip Frame 69
stop();
Symbol 591 Button
on (release) {
_root.myfont.tText = "\u53D1\u73B0\u4E86\u523B\u5728\u9F9F\u7532\u4E0A\u7684\u53E4\u8001\u6587\u5B57\uFF01";
_root.myfont.gotoAndPlay(2);
gotoAndStop (2);
_root.item[13] = 1;
_root.getitem(13);
}
Symbol 592 MovieClip Frame 1
stop();
if (_root.item[13] != 0) {
gotoAndStop (2);
}
Symbol 593 Button
on (release) {
_root.myfont.tText = "\u53D1\u73B0\u4E86\u523B\u5728\u9F9F\u7532\u4E0A\u7684\u53E4\u8001\u6587\u5B57\uFF01";
_root.myfont.gotoAndPlay(2);
gotoAndStop (2);
_root.item[14] = 1;
_root.getitem(14);
}
Symbol 595 MovieClip Frame 1
stop();
if (_root.item[14] != 0) {
gotoAndStop (2);
}
Symbol 605 MovieClip Frame 1
stop();
Symbol 606 Button
on (release) {
_root.ctrl11 = (isNaN(_root.ctrl11) ? 0 : (_root.ctrl11));
_root.ctrl12 = (isNaN(_root.ctrl12) ? 0 : (_root.ctrl12));
if (_root.stat == 11) {
_root.ctrl11++;
_root.myfont.tText = ("\u653E\u5165\u4E86" + _root.ctrl11) + "\u4EFD\u571F\u832F\u82D3\uFF01";
petnum = (((_root.ctrl11 + _root.ctrl12) <= 1) ? 1 : ((((_root.ctrl11 + _root.ctrl12) < 5) ? 2 : ((((_root.ctrl11 + _root.ctrl12) < 10) ? 3 : ((((_root.ctrl11 + _root.ctrl12) < 20) ? 4 : ((((_root.ctrl11 + _root.ctrl12) >= 20) ? 5 : 1)))))))));
f1.gotoAndStop(petnum);
_root.pet.f1.gotoAndStop(petnum);
} else if (_root.stat == 12) {
_root.ctrl12++;
_root.myfont.tText = ("\u653E\u5165\u4E86" + _root.ctrl12) + "\u4EFD\u751F\u5730\uFF01";
petnum = (((_root.ctrl11 + _root.ctrl12) <= 1) ? 1 : ((((_root.ctrl11 + _root.ctrl12) < 5) ? 2 : ((((_root.ctrl11 + _root.ctrl12) < 10) ? 3 : ((((_root.ctrl11 + _root.ctrl12) < 20) ? 4 : ((((_root.ctrl11 + _root.ctrl12) >= 20) ? 5 : 1)))))))));
f1.gotoAndStop(petnum);
_root.pet.f1.gotoAndStop(petnum);
} else if (_root.stat == 10) {
if ((_root.key[1] == 1) && ((_root.ctrl11 * _root.password3) == (_root.ctrl12 * _root.password2))) {
_root.key[7] = 1;
_root.pet.gotoAndStop(2);
_root.useitem(10);
_root.useitem(11);
_root.useitem(12);
_root.myfont.tText = "\u8BA9\u6211\u6765\u6405\u62CC\u4E00\u4E0B\uFF01\uFF01\u5929\u54EA\uFF01\uFF01\u8FD9\u96BE\u9053\u662F\u4F20\u8BF4\u4E2D\u7684\u9F9F\u82D3\u818F\uFF1F\uFF01~";
_root.myfont.gotoAndPlay(2);
gotoAndStop (2);
} else {
_root.myfont.tText = "\u4E0D\u884C\u54E6\uFF0C\u914D\u8FD9\u4E9B\u98DF\u7269\u5E94\u8BE5\u6709\u4EC0\u4E48\u76F8\u5173\u7684\u53C2\u7167\u5427\uFF1F~\uFF01";
}
} else {
_root.myfont.tText = "\u5BA0\u7269\u996D\u76D2\uFF0C\u597D\u53EF\u7231\u54E6~\uFF01";
}
_root.myfont.gotoAndPlay(2);
}
Symbol 608 Button
on (release) {
_root.myfont.tText = "\u55EF\uFF0C\u8FD9\u9F9F\u82D3\u818F\u597D\u50CF\u597D\u7F8E\u5473\u54E6\uFF01";
_root.myfont.gotoAndPlay(2);
}
Symbol 609 MovieClip Frame 1
stop();
if (_root.key[7] == 1) {
gotoAndStop (2);
}
f1.gotoAndStop((((_root.ctrl11 + _root.ctrl12) <= 1) ? 1 : ((((_root.ctrl11 + _root.ctrl12) < 5) ? 2 : ((((_root.ctrl11 + _root.ctrl12) < 10) ? 3 : ((((_root.ctrl11 + _root.ctrl12) < 20) ? 4 : ((((_root.ctrl11 + _root.ctrl12) > 20) ? 5 : 1))))))))));
Symbol 615 MovieClip Frame 1
_root.myfont.tText = "\u53D1\u73B0\u4E86\u9690\u85CF\u7684\u8F66\u724C\u53F7\u7801\uFF01";
_root.myfont.gotoAndPlay(2);
_root.key[6] = 1;
password1 = _root.password1;
Symbol 619 MovieClip Frame 1
stop();
Symbol 619 MovieClip Frame 2
_root.myfont.tText = "\u8FD9\u82B1\u74F6\u633A\u6F02\u4EAE\u7684!";
_root.myfont.gotoAndPlay(2);
Symbol 619 MovieClip Frame 3
_root.myfont.tText = "\u706D\u706B\u5668\u65C1\u8FB9\u5899\u4E0A\u5199\u7740\u2026\u2026";
_root.myfont.gotoAndPlay(2);
Symbol 619 MovieClip Frame 4
_root.myfont.tText = "\u5954\u5954\u8F66\u5F88\u6F02\u4EAE\u54E6\uFF01\u6211\u559C\u6B22\uFF01";
_root.myfont.gotoAndPlay(2);
Symbol 619 MovieClip Frame 5
_root.myfont.tText = "\u4E00\u672C\u5C55\u5385\u7535\u529B\u7CFB\u7EDF\u5907\u5FD8\u672C\uFF01";
_root.myfont.gotoAndPlay(2);
Symbol 619 MovieClip Frame 6
_root.myfont.tText = "\u4E00\u672C\u6D88\u9632\u77E5\u8BC6\u8BFB\u672C\uFF01";
_root.myfont.gotoAndPlay(2);
Symbol 619 MovieClip Frame 7
_root.myfont.tText = "\u4E00\u672C\u7532\u9AA8\u6587\u7684\u79D8\u5BC6\u7684\u4E66\uFF01";
_root.myfont.gotoAndPlay(2);
Symbol 619 MovieClip Frame 8
_root.myfont.tText = "\u53D1\u73B0\u4E00\u4E2A\u5BC6\u7801\u76D2\uFF01";
_root.myfont.gotoAndPlay(2);
Symbol 619 MovieClip Frame 9
_root.myfont.tText = "\u8FD9\u662F\u4E00\u53F0\u7B14\u8BB0\u672C\u7535\u8111\uFF0C\u8FD8\u597D\u7535\u6C60\u6709\u7535\uFF0C\u6211\u6765\u8BD5\u8BD5\u770B\u80FD\u505A\u4E9B\u4EC0\u4E48\u5427\uFF01";
_root.myfont.gotoAndPlay(2);
Symbol 619 MovieClip Frame 10
_root.myfont.tText = "\u6211\u770B\u5230\u4E00\u9762\u73BB\u7483\u677F\uFF0C\u5F88\u5149\u6ED1\uFF01";
_root.myfont.gotoAndPlay(2);
Symbol 619 MovieClip Frame 11
_root.myfont.tText = "\u6211\u770B\u5230\u4E00\u9762\u73BB\u7483\u677F\uFF0C\u5F88\u5149\u6ED1\uFF01";
_root.myfont.gotoAndPlay(2);
Symbol 619 MovieClip Frame 12
_root.myfont.tText = "\u8FDB\u5230\u78C1\u60AC\u6D6E\u8BD5\u9A8C\u5BA4\u4E86\uFF01";
_root.myfont.gotoAndPlay(2);
Symbol 619 MovieClip Frame 13
_root.myfont.tText = "\u8D70\u8FD1\u4E00\u770B\uFF0C\u9F9F\u7532\u4E0A\u9762\u6709\u4E9B\u5947\u602A\u7684\u6587\u5B57\uFF01";
_root.myfont.gotoAndPlay(2);
Symbol 619 MovieClip Frame 14
_root.myfont.tText = "\u6211\u6700\u7231\u517B\u5BA0\u7269\u4E86\uFF0C\u7ED9\u5B83\u70B9\u4EC0\u4E48\u5403\u7684\u5462\uFF1F\uFF01";
_root.myfont.gotoAndPlay(2);
Symbol 619 MovieClip Frame 15
_root.myfont.tText = "\u6C34\u6676\u7403\u91CC\u9762\u770B\u5230\u4E86\u4E00\u4E9B\u5F71\u50CF\uFF01";
_root.myfont.gotoAndPlay(2);
Symbol 621 MovieClip Frame 1
stop();
if (_root.key[0] == 1) {
gotoAndStop (2);
}
Symbol 631 Button
on (release) {
gotoAndStop (1);
}
Symbol 633 Button
on (release) {
_root.ctrl3 = 1;
gotoAndStop (2);
_root.useitem(3);
_root.item[3] = 2;
_root.getitem(3);
}
Symbol 639 MovieClip Frame 1
password0 = _root.password0;
Symbol 640 MovieClip Frame 1
stop();
if (_root.ctrl3 == 1) {
gotoAndStop (2);
}
Symbol 647 MovieClip Frame 1
stop();
gotoAndStop(_root.item[7]);
Symbol 655 MovieClip Frame 1
stop();
Symbol 657 MovieClip Frame 9
stop();
Symbol 689 Button
on (release) {
_root.sub.gotoAndStop("sub6");
}
Symbol 692 Button
on (release) {
_root.sub.gotoAndStop("sub5");
}
Symbol 697 Button
on (release) {
_root.sub.gotoAndStop("sub4");
}
Symbol 701 Button
on (release) {
_root.myfont.tText = "\u5662!\u6211\u7684\u4E3B!\u8036\u7A23!";
_root.myfont.gotoAndPlay(2);
gotoAndPlay (2);
}
Symbol 702 Button
on (release) {
gotoAndStop (1);
}
Symbol 703 MovieClip Frame 1
stop();
Symbol 705 Button
on (release) {
_root.myfont.tText = "\u597D\u5947\u602A\u7684\u5C0F\u5706\u76D8\u54E6~~~\uFF01";
_root.myfont.gotoAndPlay(2);
}
Symbol 710 Button
on (release) {
checkme();
}
Symbol 712 Button
on (release) {
w = 2;
gotoAndStop(w);
}
Symbol 714 Button
on (release) {
w = 3;
gotoAndStop(w);
}
Symbol 716 Button
on (release) {
w = 4;
gotoAndStop(w);
}
Symbol 718 Button
on (release) {
w = 1;
gotoAndStop(w);
}
Symbol 719 MovieClip Frame 1
gotoAndStop(w);
Symbol 728 Button
on (release) {
_root.myfont.tText = "\u53D1\u73B0\u4E86\u4E00\u652F\u94C5\u7B14\uFF01";
_root.myfont.gotoAndPlay(2);
gotoAndStop (2);
_root.item[5] = 1;
_root.getitem(5);
}
Symbol 729 MovieClip Frame 1
stop();
if (_root.item[5] != 0) {
gotoAndStop (2);
}
Symbol 731 MovieClip Frame 1
stop();
if (_root.key[5] == 1) {
gotoAndStop ("end");
} else if (_root.key[0] == 1) {
gotoAndStop (2);
}
Symbol 731 MovieClip Frame 2
stop();
this.a.w = 1;
this.b.w = 1;
this.c.w = 1;
checkme = function () {
newrand = (((a.w + "") + b.w) + "") + c.w;
trace((newrand + " : ") + _root.rand3);
if (newrand == _root.rand3) {
_root.myfont.tText = "\u597D\u50CF\u6709\u53CD\u5E94\uFF0C\u8FD9\u88C5\u7F6E\u771F\u5947\u7279\uFF01";
_root.key[5] = 1;
play();
}
};
Symbol 731 MovieClip Frame 31
stop();
Symbol 735 Button
on (release) {
_root.myfont.tText = "\u53D1\u73B0\u4E86\u4E00\u4E2A\u653E\u5927\u955C\uFF01";
_root.myfont.gotoAndPlay(2);
gotoAndStop (2);
_root.item[6] = 1;
_root.getitem(6);
}
Symbol 736 MovieClip Frame 1
stop();
if (_root.item[6] != 0) {
gotoAndStop (2);
}
Symbol 746 Button
on (release) {
_root.myfont.tText = "\u53D1\u73B0\u4E86\u4E00\u4E2A\u92AE\u51E4\u9497\uFF01";
_root.myfont.gotoAndPlay(2);
gotoAndStop (2);
_root.item[7] = 1;
_root.getitem(7);
}
Symbol 747 MovieClip Frame 1
stop();
if (_root.item[7] != 0) {
gotoAndStop (2);
}
Symbol 749 Button
on (release) {
sub.gotoAndStop("sub7");
}
Symbol 750 Button
on (release) {
sub.gotoAndStop("sub8");
}
Symbol 757 Button
on (release) {
_root.myfont.tText = "\u7535\u8111\u65C1\u6446\u4E86\u4E00\u76C6\u82B1\uFF1F";
_root.myfont.gotoAndPlay(2);
gotoAndPlay (2);
}
Symbol 758 Button
on (release) {
gotoAndStop (1);
}
Symbol 759 MovieClip Frame 1
stop();
Symbol 761 Button
on (release) {
if (_root.item[10] == 1) {
_root.sub.gotoAndStop("sub14");
} else {
_root.myfont.tText = "\u9B54\u529B\u6C34\u6676\u7403!\uFF1F";
_root.myfont.gotoAndPlay(2);
gotoAndPlay (2);
}
}
Symbol 763 Button
on (release) {
gotoAndStop (1);
}
Symbol 764 MovieClip Frame 1
stop();
Symbol 765 Button
on (release) {
gotoAndStop ("f3");
}
Symbol 766 Button
on (release) {
gotoAndStop ("f1");
}
Symbol 774 Button
on (release) {
_root.myfont.tText = "\u6F02\u4EAE\u7684\u5E06\u8239!";
_root.myfont.gotoAndPlay(2);
play();
}
Symbol 775 Button
on (release) {
gotoAndStop (1);
}
Symbol 776 MovieClip Frame 1
stop();
Symbol 783 Button
on (release) {
_root.myfont.tText = "\u8FD9\u662F\u4E00\u8F86\u6469\u6258\u8F66\u6A21\u578B";
_root.myfont.gotoAndPlay(2);
play();
}
Symbol 784 Button
on (release) {
gotoAndStop (1);
}
Symbol 785 MovieClip Frame 1
stop();
Symbol 786 Button
on (release) {
_root.myfont.tText = "\u597D\u591A\u56FD\u5BB6\u7684\u56FD\u65D7~~";
_root.myfont.gotoAndPlay(2);
gotoAndPlay (2);
}
Symbol 795 Button
on (release) {
if ((_root.stat == 7) && (_root.item[7] == 1)) {
_root.myfont.tText = "\u62FF\u5230\u4E00\u6761\u4E1D\u5DFE\uFF1F";
gotoAndStop (2);
_root.useitem(7);
_root.item[7] = 2;
_root.getitem(7);
} else {
_root.myfont.tText = "\u53D1\u73B0\u4E86\u4E00\u6761\u4E1D\u5DFE\uFF0C\u53EF\u662F\u592A\u9AD8\u4E86\uFF0C\u62FF\u4E0D\u5230~\uFF01";
}
_root.myfont.gotoAndPlay(2);
}
Symbol 796 MovieClip Frame 1
stop();
if (_root.item[7] == 2) {
gotoAndStop (2);
}
Symbol 797 MovieClip Frame 1
stop();
Symbol 799 Button
on (release) {
if (_root.key[7] == 1) {
_root.myfont.tText = "\u54E6~~~~~~~~~~~~~~~~~~~~~~~~~~~~\uFF1F";
_root.key[8] = 1;
gotoAndPlay (2);
} else {
_root.myfont.tText = "\u62A4\u680F\u62E6\u4F4F\u4E86\uFF0C\u4E0D\u80FD\u8D70\u8FD1\uFF0C\u8FDC\u671B\u8FC7\u53BB\u9ED1\u9ED1\u7684\uFF0C\u4E0D\u77E5\u9053\u6709\u4EC0\u4E48~~\uFF01";
}
_root.myfont.gotoAndPlay(2);
}
Symbol 818 MovieClip Frame 1
stop();
if (_root.key[8] == 1) {
gotoAndStop ("end");
}
Symbol 818 MovieClip Frame 281
stop();
Symbol 820 Button
on (release) {
if ((_root.stat == 7) && (_root.item[7] == 2)) {
_root.myfont.tText = "\u5475\u5475~~\u7EF4\u7EB3\u65AF\u7684\u96D5\u5851\u62AB\u4E0A\u4E86\u4E1D\u5DFE~~~,\u611F\u89C9\u6709\u70B9\u50CF\u4ED9\u5973~~";
_root.useitem(7);
gotoAndStop (2);
} else {
_parent.gotoAndPlay(2);
_root.myfont.tText = "\u65AD\u81C2\u7EF4\u7EB3\u65AF\u7684\u96D5\u5851!\u624B\u81C2\u4E0D\u4F1A\u662F\u8FD9\u6837\u88AB\u4EBA\u6447\u65AD\u7684\u5427?~";
}
_root.myfont.gotoAndPlay(2);
}
Symbol 822 Button
on (release) {
_root.myfont.tText = "\u563F\u54BB\u563F\u54BB,\u628A\u96D5\u5851\u7ED9\u79FB\u5F00\u4E86!";
_root.myfont.gotoAndPlay(2);
_root.key[4] = 1;
_parent.gotoAndStop("open");
}
Symbol 823 MovieClip Frame 1
stop();
if (_root.used[7] == 1) {
gotoAndStop (2);
}
Symbol 824 MovieClip Frame 1
stop();
if (_root.key[4] == 1) {
gotoAndStop ("open");
}
Symbol 824 MovieClip Frame 10
gotoAndStop (1);
Symbol 826 Button
on (release) {
_root.myfont.tText = "\u53D1\u73B0\u4E86\u4E00\u8F86\u5954\u5954\u8F66\u6A21\uFF01\u559C\u6B22\uFF01";
_root.myfont.gotoAndPlay(2);
gotoAndStop (2);
_root.item[1] = 1;
_root.getitem(1);
}
Symbol 827 MovieClip Frame 1
stop();
if (_root.item[1] != 0) {
gotoAndStop (2);
}
Symbol 833 Button
on (release) {
_root.myfont.tText = "\u4E00\u5E45\u753B~~\uFF1F";
_root.myfont.gotoAndPlay(2);
gotoAndPlay (2);
}
Symbol 834 MovieClip Frame 1
stop();
Symbol 835 Button
on (release) {
gotoAndStop ("f4");
}
Symbol 838 Button
on (release) {
if (_root.checkall() == true) {
_root.myfont.tText = "\u5431~~!\u95E8\u6253\u5F00\u4E86\uFF01";
_root.myfont.gotoAndPlay(2);
_root.gotoAndPlay("end");
} else {
_root.myfont.tText = "\u5C55\u5385\u5927\u95E8\u9501\u4F4F\u4E86,\u51FA\u4E0D\u53BB!";
_root.myfont.gotoAndPlay(2);
}
}
Symbol 846 Button
on (release) {
if (_root.key[0] == 1) {
_root.myfont.tText = "\u98DE\u72EE\u96D5\u50CF\u5347\u8D77\u6765\u4E86\uFF01";
play();
} else {
_root.myfont.tText = "\u8FD9\u662F\u4E00\u4E2A\u98DE\u72EE\u96D5\u50CF\uFF01";
}
_root.myfont.gotoAndPlay(2);
}
Symbol 849 Button
on (release) {
if (_root.stat == 9) {
_root.myfont.tText = "\u94BB\u77F3\u773C\u88C5\u5728\u4E86\u98DE\u72EE\u96D5\u50CF\u4E0A\uFF01";
_root.myfont.gotoAndPlay(2);
_root.useitem(9);
_root.key[12] = 1;
play();
_parent.gotoAndStop("flag");
} else {
_root.myfont.tText = "\u8FD9\u91CC\u597D\u50CF\u7F3A\u5C11\u4E86\u4E9B\u4EC0\u4E48\u4E1C\u897F\uFF01";
_root.myfont.gotoAndPlay(2);
}
}
Symbol 850 MovieClip Frame 1
stop();
if (_root.used[9] == 1) {
gotoAndStop ("end");
}
Symbol 850 MovieClip Frame 8
stop();
Symbol 853 MovieClip Frame 1
stop();
if (_root.key[12] == 1) {
gotoAndStop ("flag");
}
Symbol 858 MovieClip Frame 1
stop();
if (_root.key[13] == 1) {
gotoAndStop ("flag");
}
Symbol 858 MovieClip Frame 31
_root.key[13] = 1;
Symbol 858 MovieClip Frame 51
stop();
Symbol 859 Button
on (release) {
gotoAndStop ("f5");
}
Symbol 865 Button
on (release) {
_root.myfont.tText = "\u5494,\u5F00\u4E86,\u539F\u6765\u6CA1\u9501\u5440~~~";
_root.myfont.gotoAndPlay(2);
gotoAndStop (2);
}
Symbol 867 Button
on (release) {
gotoAndStop (1);
}
Symbol 868 MovieClip Frame 1
stop();
Symbol 870 Button
on (release) {
_root.myfont.tText = "\u53D1\u73B0\u4E86\u4E2D\u836F\u571F\u832F\u82D3\uFF01";
_root.myfont.gotoAndPlay(2);
gotoAndStop (2);
_root.item[11] = 1;
_root.getitem(11);
}
Symbol 871 MovieClip Frame 1
stop();
if (_root.item[11] != 0) {
gotoAndStop (2);
}
Symbol 873 Button
on (release) {
if ((_root.item[4] == 1) && (_root.stat == 4)) {
_root.myfont.tText = "\u7528\u84DD\u8272\u94A5\u5319\u6253\u5F00\u4E86\u9501~~~~\uFF01";
_root.myfont.gotoAndPlay(2);
_root.ctrl4 = 1;
_root.useitem(4);
}
if (_root.ctrl4 == 1) {
gotoAndStop (2);
} else {
_root.myfont.tText = "\u9501\u4F4F\u4E86\uFF0C\u9700\u8981\u4E00\u628A\u84DD\u8272\u94A5\u5319\u6253\u5F00!";
_root.myfont.gotoAndPlay(2);
}
}
Symbol 875 Button
on (release) {
gotoAndStop (1);
}
Symbol 876 MovieClip Frame 1
stop();
Symbol 889 Button
on (release) {
_root.myfont.tText = "\u53EF\u4E50~~\u53EF\u4E50~~~";
_root.myfont.gotoAndPlay(2);
gotoAndPlay (2);
}
Symbol 890 Button
on (release) {
gotoAndStop (1);
}
Symbol 891 MovieClip Frame 1
stop();
Symbol 893 Button
on (release) {
_root.myfont.tText = "\u4E09\u660E\u6CBB~~";
_root.myfont.gotoAndPlay(2);
gotoAndPlay (2);
}
Symbol 894 Button
on (release) {
gotoAndStop (1);
}
Symbol 895 MovieClip Frame 1
stop();
Symbol 897 Button
on (release) {
gotoAndStop (2);
}
Symbol 900 Button
on (release) {
_root.myfont.tText = "\u53D1\u73B0\u4E86\u4E00\u628A\u7070\u8272\u7684\u94A5\u5319\uFF01";
_root.myfont.gotoAndPlay(2);
gotoAndStop (2);
_root.item[8] = 1;
_root.getitem(8);
}
Symbol 901 MovieClip Frame 1
stop();
if (_root.item[8] != 0) {
gotoAndStop (2);
}
Symbol 902 MovieClip Frame 1
stop();
Symbol 905 Button
on (release) {
_root.myfont.tText = "\u53C8\u4E00\u4E2A\u5750\u6795";
_root.myfont.gotoAndPlay(2);
gotoAndPlay (2);
}
Symbol 906 Button
on (release) {
gotoAndStop ("open");
}
Symbol 907 Button
on (release) {
gotoAndStop (1);
}
Symbol 908 MovieClip Frame 1
stop();
Symbol 908 MovieClip Frame 30
gotoAndStop (1);
Symbol 910 Button
on (release) {
_root.myfont.tText = "\u4E00\u4E2A\u5750\u6795";
_root.myfont.gotoAndPlay(2);
gotoAndPlay (2);
}
Symbol 912 MovieClip Frame 1
stop();
Symbol 912 MovieClip Frame 30
gotoAndStop (1);
Symbol 918 Button
on (release) {
thenum = (isNaN(thenum) ? 0 : (thenum + 1));
if (thenum == 5) {
_root.key[3] = 1;
gotoAndPlay ("flag");
} else {
play();
}
_parent.gotoAndStop(1);
}
Symbol 921 Button
on (release) {
_root.myfont.tText = "\u53D1\u73B0\u4E86\u4E00\u628A\u84DD\u8272\u7684\u94A5\u5319\uFF01";
_root.myfont.gotoAndPlay(2);
gotoAndStop (2);
_root.item[4] = 1;
_root.getitem(4);
}
Symbol 922 MovieClip Frame 1
stop();
if (_root.item[4] != 0) {
gotoAndStop (2);
}
Symbol 923 MovieClip Frame 1
stop();
if (_root.key[3] == 1) {
gotoAndStop ("end");
}
Symbol 923 MovieClip Frame 26
gotoAndStop (1);
Symbol 923 MovieClip Frame 50
stop();
Symbol 924 Button
on (release) {
_root.myfont.tText = "\u8FD9\u662F\u7EB8\u5DFE";
_root.myfont.gotoAndPlay(2);
gotoAndPlay (2);
}
Symbol 925 Button
on (release) {
gotoAndStop (1);
}
Symbol 926 MovieClip Frame 1
stop();
Symbol 927 Button
on (release) {
_root.myfont.tText = "\u53D1\u73B0\u4E86\u4E2D\u836F\u751F\u5730\uFF01";
_root.myfont.gotoAndPlay(2);
gotoAndStop (2);
_root.item[12] = 1;
_root.getitem(12);
}
Symbol 928 MovieClip Frame 1
stop();
if (_root.item[12] != 0) {
gotoAndStop (2);
}
Symbol 930 Button
on (release) {
_root.myfont.tText = "\u80AF\u5FB7\u57FA\u7684\u6DF1\u6D77\u9CD5\u9C7C\u5821\u54E6~~~";
_root.myfont.gotoAndPlay(2);
gotoAndPlay (2);
}
Symbol 931 Button
on (release) {
gotoAndStop (1);
}
Symbol 932 MovieClip Frame 1
stop();
Symbol 934 Button
on (release) {
_root.myfont.tText = "\u624D\u4E24\u676F\u53EF\u4E50\u554A,\u6211\u8FD8\u4EE5\u4E3A\u8FD9\u91CC\u4F1A\u62DB\u5F85\u5F88\u591A\u4EBA\u5462~~";
_root.myfont.gotoAndPlay(2);
gotoAndPlay (2);
}
Symbol 935 Button
on (release) {
gotoAndStop (1);
}
Symbol 936 MovieClip Frame 1
stop();
Symbol 937 Button
on (release) {
_root.sub.gotoAndStop("sub13");
}
Symbol 939 MovieClip Frame 1
stop();
if (_root.key[7] == 1) {
gotoAndStop (2);
}
f1.gotoAndStop((((_root.ctrl11 + _root.ctrl12) <= 1) ? 1 : ((((_root.ctrl11 + _root.ctrl12) < 5) ? 2 : ((((_root.ctrl11 + _root.ctrl12) < 10) ? 3 : ((((_root.ctrl11 + _root.ctrl12) < 20) ? 4 : ((((_root.ctrl11 + _root.ctrl12) >= 20) ? 5 : 1))))))))));
Symbol 952 Button
on (release) {
_root.myfont.tText = "\u597D\u53EF\u7231\u7684\u9F9F\u9F9F\u54E6\uFF1F";
_root.myfont.gotoAndPlay(2);
gotoAndPlay ("flag1");
}
Symbol 955 Button
on (release) {
_root.myfont.tText = "\u5C0F\u9F9F\u7F29\u5230\u58F3\u91CC\u4E86\uFF1F";
_root.myfont.gotoAndPlay(2);
}
Symbol 956 MovieClip Frame 29
gotoAndPlay (2);
Symbol 956 MovieClip Frame 30
_parent.stop();
Symbol 956 MovieClip Frame 191
_parent.play();
Symbol 958 Button
on (release) {
_root.sub.gotoAndStop("sub12");
}
Symbol 959 MovieClip Frame 1
stop();
if (_root.key[9] == 1) {
gotoAndStop ("end");
} else if (_root.key[8] == 1) {
gotoAndPlay (2);
}
Symbol 959 MovieClip Frame 239
stop();
_root.key[9] = 1;
Symbol 1024 Button
on (release) {
_root.gotoAndPlay("begin");
}
Symbol 1034 Button
on (release) {
goResign();
}
Symbol 1039 Button
on (release) {
Check();
}
Symbol 1045 Button
on (release) {
_parent.goErr();
}
Symbol 1047 Button
on (release) {
_root.gotoAndStop(1);
}
Symbol 1052 Button
on (release) {
goResign();
}
Symbol 1057 Button
on (release) {
_parent.goOK();
nextFrame();
}
Symbol 1059 MovieClip Frame 1
function pushAction(URL) {
i = 1;
while (i <= _parent.dataNum) {
_root.asp["data" + i] = _parent["data" + i];
i++;
}
_root.asp.id = _root.id;
_root.asp.sendAndLoad(URL, _root.asp, "POST");
}
stop();
addnum = 1;
type = 1;
_root.asp = new LoadVars();
pushURL = _parent.theUrl;
if (pushURL != null) {
pushAction(pushURL);
gotoAndPlay ("doing");
}
Symbol 1059 MovieClip Frame 2
trace(_root.asp.flag);
addnum++;
if (addnum > 100) {
gotoAndStop ("er");
}
if (_root.asp.flag == 0) {
gotoAndStop ("er0");
}
if (_root.asp.flag == 1) {
gotoAndStop ("ok");
} else if ((type == 1) && (_root.asp.flag < 0)) {
gotoAndStop("er" + Math.abs(_root.asp.flag));
} else if ((type == 2) && (_root.asp.flag < 0)) {
gotoAndStop("er0" + Math.abs(_root.asp.flag));
}
Symbol 1059 MovieClip Frame 4
gotoAndPlay ("doing");
Symbol 1060 MovieClip Frame 1
function goOK() {
var _local2 = "";
i = 1;
while (i < dataNum) {
_local2 = _local2 + (this["data" + i] + "&");
i++;
}
_local2 = _local2 + this["data" + i];
trace(_local2);
flash.external.ExternalInterface.call("mysubmit", _local2);
}
function goResign() {
getURL ("http://benben.allyes.com/zhuce.htm", "_blank");
}
function goErr() {
gotoAndStop ("tj");
}
stop();
System.useCodepage = true;
dataNum = 3;
theUrl = "http://benben.allyes.com/check.php";
Check = function () {
i = 1;
while (i <= dataNum) {
if (this["t" + i].text == "") {
getURL ("javascript:alert('\u8BF7\u60A8\u5728\u9009\u9879\u4E2D\u6B63\u786E\u5B8C\u6574\u8F93\u5165\u4FE1\u606F\uFF0C\u8C22\u8C22\uFF01')");
break;
}
this["data" + i] = this["t" + i].text;
if (i == dataNum) {
nextFrame();
}
i++;
}
};
Symbol 1066 Button
on (release) {
play();
}
Symbol 1083 MovieClip Frame 45
stop();