Frame 1
function Preload(Void) {
if (getBytesLoaded() == getBytesTotal()) {
delete loading.onEnterFrame;
loading.removeMovieClip();
this.gotoAndStop("title");
}
var _local2 = Math.round((getBytesLoaded() * 100) / getBytesTotal());
tfStatus.text = ("LOADING " + _local2) + "%";
mcLoadBar._xscale = _local2;
}
function chooseGameEndProcedure() {
if (tKey == undefined) {
tKey = "sjri5jf85jdor560";
}
gameEndSubmitUrl = "http://freeplay.gamedek.com/gameend.aspx";
if (params == undefined) {
myVariables.load("config.txt");
} else {
decryptParams(params);
crypto = 2;
}
}
function g_fSetGameSize(a_numWidth, a_numHeight) {
g_numGameWidth = a_numWidth;
g_numGameHeight = a_numHeight;
}
function t_fLoadGameEnd() {
mcResign.removeMovieClip();
mcGameOver.removeMovieClip();
if (mcGameEnd != undefined) {
mcGameEnd.removeMovieClip();
}
endContainerHolder.createEmptyMovieClip("mcGameEnd", 100);
endContainerHolder.createEmptyMovieClip("mcGameEndBack", 99);
with (endContainerHolder.mcGameEndBack) {
var backColor = 0;
beginFill(backColor, 100);
lineStyle(1, backColor, 100);
moveTo(0, 0);
lineTo(g_numGameWidth, 0);
lineTo(g_numGameWidth, g_numGameHeight);
lineTo(0, g_numGameHeight);
lineTo(0, 0);
endFill();
}
if (freeplayid != undefined) {
downloadURL = downloadURL + affiliateId;
}
var endUrlArray = new Array();
endUrlArray = endURL.split(".");
var subString = endUrlArray[endUrlArray.length - 1];
if ((subString == "aspx") || (subString == "html")) {
getURL (endURL, "_self");
} else {
endContainerHolder.mcGameEnd.loadMovie(endURL, mcGameEnd);
endContainerHolder.playAgain = playAgain;
}
}
function TEAEncrypt(src, key) {
var _local2 = charsToLongs(strToChars(src));
var _local9 = charsToLongs(strToChars(key));
var _local7 = _local2.length;
if (_local7 == 0) {
return("");
}
if (_local7 == 1) {
_local2[_local7++] = 0;
}
var _local3 = _local2[_local7 - 1];
var _local4 = _local2[0];
var _local11 = 2654435769;
var _local12 = 4294967295;
var _local5;
var _local8;
var _local10 = Math.floor(6 + (52 / _local7));
var _local6 = 0;
var _local13 = 0;
while ((_local10--) > 0) {
_local6 = _local6 + _local11;
_local6 = _local6 >>> 0;
_local8 = (_local6 >>> 2) & 3;
var _local1 = 0;
while (_local1 < (_local7 - 1)) {
_local4 = _local2[_local1 + 1];
_local5 = (((_local3 >>> 5) ^ (_local4 << 2)) + ((_local4 >>> 3) ^ (_local3 << 4))) ^ ((_local6 ^ _local4) + (_local9[(_local1 & 3) ^ _local8] ^ _local3));
_local5 = _local5 >>> 0;
_local2[_local1] = _local2[_local1] + _local5;
_local2[_local1] = _local2[_local1] >>> 0;
_local3 = _local2[_local1];
_local1++;
}
_local4 = _local2[0];
_local5 = (((_local3 >>> 5) ^ (_local4 << 2)) + ((_local4 >>> 3) ^ (_local3 << 4))) ^ ((_local6 ^ _local4) + (_local9[(_local1 & 3) ^ _local8] ^ _local3));
_local5 = _local5 >>> 0;
_local2[_local7 - 1] = _local2[_local7 - 1] + _local5;
_local2[_local7 - 1] = _local2[_local7 - 1] >>> 0;
_local3 = _local2[_local7 - 1];
}
return(charsToHex(longsToChars(_local2)));
}
function TEADecrypt(src, key) {
var _local4 = charsToLongs(hexToChars(src));
var _local9 = charsToLongs(strToChars(key));
var _local8 = _local4.length;
if (_local8 == 0) {
return("");
}
var _local2 = _local4[_local8 - 1];
var _local3 = _local4[0];
var _local10 = 2654435769;
var _local6;
var _local7;
var _local11 = Math.floor(6 + (52 / _local8));
var _local5 = _local11 * _local10;
while (_local5 != 0) {
_local7 = (_local5 >>> 2) & 3;
var _local1 = _local8 - 1;
while (_local1 > 0) {
_local2 = _local4[_local1 - 1];
_local6 = (((_local2 >>> 5) ^ (_local3 << 2)) + ((_local3 >>> 3) ^ (_local2 << 4))) ^ ((_local5 ^ _local3) + (_local9[(_local1 & 3) ^ _local7] ^ _local2));
_local3 = (_local4[_local1] = _local4[_local1] - _local6);
_local1--;
}
_local2 = _local4[_local8 - 1];
_local6 = (((_local2 >>> 5) ^ (_local3 << 2)) + ((_local3 >>> 3) ^ (_local2 << 4))) ^ ((_local5 ^ _local3) + (_local9[(_local1 & 3) ^ _local7] ^ _local2));
_local3 = (_local4[0] = _local4[0] - _local6);
_local5 = _local5 - _local10;
}
return(charsToStr(longsToChars(_local4)));
}
function charsToLongs(chars) {
var _local3 = new Array(Math.ceil(chars.length / 4));
var _local1 = 0;
while (_local1 < _local3.length) {
_local3[_local1] = ((chars[_local1 * 4] + (chars[(_local1 * 4) + 1] << 8)) + (chars[(_local1 * 4) + 2] << 16)) + (chars[(_local1 * 4) + 3] << 24);
_local1++;
}
return(_local3);
}
function longsToChars(longs) {
var _local3 = new Array();
var _local1 = 0;
while (_local1 < longs.length) {
_local3.push(longs[_local1] & 255, (longs[_local1] >>> 8) & 255, (longs[_local1] >>> 16) & 255, (longs[_local1] >>> 24) & 255);
_local1++;
}
return(_local3);
}
function charsToHex(chars) {
var _local4 = new String("");
var _local3 = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f");
var _local1 = 0;
while (_local1 < chars.length) {
_local4 = _local4 + (_local3[chars[_local1] >> 4] + _local3[chars[_local1] & 15]);
_local1++;
}
return(_local4);
}
function hexToChars(hex) {
var _local3 = new Array();
var _local1 = ((hex.substr(0, 2) == "0x") ? 2 : 0);
while (_local1 < hex.length) {
_local3.push(parseInt(hex.substr(_local1, 2), 16));
_local1 = _local1 + 2;
}
return(_local3);
}
function charsToStr(chars) {
var _local3 = new String("");
var _local1 = 0;
while (_local1 < chars.length) {
_local3 = _local3 + String.fromCharCode(chars[_local1]);
_local1++;
}
return(_local3);
}
function strToChars(str) {
var _local3 = new Array();
var _local1 = 0;
while (_local1 < str.length) {
_local3.push(str.charCodeAt(_local1));
_local1++;
}
return(_local3);
}
function decryptParams(myParams) {
decPar = TEADecrypt(myParams, tKey);
arrayOfVars = new Array();
arrayOfVars = decPar.split("&");
count = 0;
while (count < arrayOfVars.length) {
varHolder = new Array();
varHolder = arrayOfVars[count].split("=");
Set(varHolder[0], varHolder[1]);
trc(varHolder[0]);
count++;
}
}
stop();
this.createEmptyMovieClip("loading", 100);
loading.onEnterFrame = mx.utils.Delegate.create(this, Preload);
MovieClip.prototype.tabEnabled = false;
Button.prototype.tabEnabled = false;
this._focusrect = false;
Stage.showMenu = false;
_quality = "BEST";
_root.menu.hide();
System.security.allowDomain(domainToAllow);
System.security.allowDomain("http://freeplay.gamedek.com/");
var gameWidth = 635;
var gameHeight = 465;
myVariables = new LoadVars();
myVariables.onLoad = function (success) {
if (success) {
crypto = 1;
if (this.params == undefined) {
endURL = this.endURL;
scoreboardSubmitURL = this.scoreboardSubmitURL;
} else {
decryptParams(this.params);
trace("arefgaw" + decryptParams);
}
} else {
crypto = 0;
trace("could not decrypt");
}
};
xmlGameEnd = new XML();
xmlGameEnd.onLoad = function (success) {
if (success) {
trace("DECRYPTIT:" + this.firstChild.firstChild.nodeValue);
decryptParams(this.firstChild.firstChild.nodeValue);
endURL = gameEndUrl;
t_fLoadGameEnd();
delete this.onLoad;
}
};
chooseGameEndProcedure();
g_fSetGameSize(gameWidth, gameHeight);
this._lockroot = true;
this._xscale = 86;
this._yscale = 86;
this._x = this._x + 110;
this._y = this._y + 75;
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("3ab8b955", this, 10301, true);
Frame 3
stop();
var MyApp = new TCApplication(this);
Frame 4
btnHelp._yscale = (btnHelp._xscale = 118);
btnHelp._x = (btnHelp._y = -120);
mcBg.tfScore._xscale = (mcBg.tfScore._yscale = 118);
mcBg.tfScore._x = mcBg.tfScore._x - 120;
mcBg.tfScore._y = mcBg.tfScore._y + 7;
mcBg.timer._xscale = (mcBg.timer._yscale = 118);
mcBg.timer._x = mcBg.timer._x - 20;
mcBg.timer._y = mcBg.timer._y - 80;
_parent.gameStart(true);
this._lockroot = true;
var globalSound = new Sound(this);
stop();
mcVisualFigure._visible = false;
var mActivePart;
MyApp.startNewRound();
Symbol 1 MovieClip [PartTangram] Frame 1
#initclip 13
Object.registerClass("PartTangram", PartTangram);
#endinitclip
Symbol 26 MovieClip Frame 1
starA1.gotoAndPlay(55);
starB1.gotoAndPlay(29);
starA2.gotoAndPlay(55);
starB2.gotoAndPlay(29);
starA3.gotoAndPlay(55);
starB3.gotoAndPlay(29);
starA4.gotoAndPlay(55);
starB4.gotoAndPlay(29);
starA5.gotoAndPlay(55);
starB5.gotoAndPlay(29);
starA6.gotoAndPlay(55);
starB6.gotoAndPlay(29);
starA7.gotoAndPlay(55);
starB7.gotoAndPlay(29);
starA8.gotoAndPlay(55);
starB8.gotoAndPlay(29);
starA9.gotoAndPlay(55);
starB9.gotoAndPlay(29);
Symbol 30 MovieClip [mcLevelCompleteScreen] Frame 1
btnBack.useHandCursor = false;
Symbol 554 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object
{
var func;
function Delegate (f) {
super();
func = f;
}
static function create(obj, func) {
var _local2 = function () {
var _local2 = arguments.callee.target;
var _local3 = arguments.callee.func;
return(_local3.apply(_local2, arguments));
};
_local2.target = obj;
_local2.func = func;
return(_local2);
}
function createDelegate(obj) {
return(create(obj, func));
}
}
Symbol 555 MovieClip [__Packages.PartTangram] Frame 0
class PartTangram extends MovieClip
{
var root, cacheAsBitmap, CONST_TO_GRAD, CONST_DRAG_DEPTH, MAX_X, MIN_X, MAX_Y, MIN_Y, _xscale, _yscale, mPart, nDepth, getDepth, __blurFilter, Filters, nSG, nUp, bitmapFigure, _parent, _x, _y, initialR, sr, Partnew, sf, initialX, sx, initialY, sy, type, rotation, moveMe, swapDepths, onEnterFrame;
function PartTangram () {
super();
root = _root;
cacheAsBitmap = true;
}
function init(Void) {
CONST_TO_GRAD = 57.2957795130823;
CONST_DRAG_DEPTH = 10000;
MAX_X = 705;
MIN_X = -25;
MAX_Y = 405;
MIN_Y = -35;
_xscale = (_yscale = 100);
mPart = mPart;
nDepth = getDepth();
var _local2 = this;
__blurFilter = new flash.filters.BlurFilter(3, 3, 2);
Filters = [];
Filters.push(__blurFilter);
mPart.filters = Filters;
nSG = 15;
nUp = 5;
bitmapFigure.btn.onRelease = mx.utils.Delegate.create(this, releaseMe);
bitmapFigure.btn.onReleaseOutside = mx.utils.Delegate.create(this, releaseMeOutside);
}
function drag() {
if ((root.mcHelpScreen != undefined) || (root.btnSound._currentframe != 1)) {
return(undefined);
}
var _local3 = (((_parent._xmouse <= MAX_X) && (_parent._xmouse >= MIN_X)) ? (_parent._xmouse) : (MIN_X));
if (_parent._xmouse > MAX_X) {
_local3 = MAX_X;
}
var _local2 = (((_parent._ymouse <= MAX_Y) && (_parent._ymouse >= MIN_Y)) ? (_parent._ymouse) : (MIN_Y));
if (_parent._ymouse > MAX_Y) {
_local2 = MAX_Y;
}
var _local5 = root.MyApp.rWorkArea.SwapToGrid(_local3, nSG);
var _local4 = root.MyApp.rWorkArea.SwapToGrid(_local2 + nUp, nSG);
if (((_local5 != _x) || (_local4 != _y)) && (root.mcCursor._currentframe != 2)) {
root.mcCursor.gotoAndStop("down");
}
_x = _local5;
_y = _local4;
}
function placePartsOnGrass(Void) {
initialR = (mPart._rotation = sr);
Partnew.gotoAndStop(sf);
initialX = (_x = sx);
initialY = (_y = sy);
alignSecondParts();
bitmapFigure.btn.onRelease = mx.utils.Delegate.create(this, releaseMe);
bitmapFigure.btn.onReleaseOutside = mx.utils.Delegate.create(this, releaseMeOutside);
}
function setTypeRotation(localtype, localrot) {
type = localtype;
rotation = localrot;
init();
}
function getPartType(Void) {
return(type);
}
function getPartRotation(Void) {
return(rotation);
}
function alignSecondParts() {
root.MyApp.rWorkArea.ContainerPartCopyForCheckSolution["PartTangram" + type]._x = _x;
root.MyApp.rWorkArea.ContainerPartCopyForCheckSolution["PartTangram" + type]._y = _y;
root.MyApp.rWorkArea.ContainerPartCopyForCheckSolution["PartTangram" + type]._rotation = mPart._rotation;
}
function rotateMe() {
root.mcCursor.gotoAndStop("rotate");
var _local3 = mPart._rotation + 45;
_local3 = Math.round(_local3 / 45) * 45;
var _local2 = _local3 / 45;
if (_local2 < 0) {
_local2 = 9 + _local2;
} else if (_local2 > 0) {
_local2++;
} else if (_local2 == 0) {
_local2 = 1;
}
Partnew.gotoAndStop(_local2);
mPart._rotation = _local3;
root.MyApp.rSoundManager.playRandom("Rotating_Stone_Shape");
alignSecondParts();
bitmapFigure.btn.onRelease = mx.utils.Delegate.create(this, releaseMe);
bitmapFigure.btn.onReleaseOutside = mx.utils.Delegate.create(this, releaseMeOutside);
}
function releaseMe() {
if (!moveMe) {
root.mActivePart.swapDepths(root.mActivePart.nDepth);
root.mActivePart.releaseMeOutside();
root.mActivePart = this;
swapDepths(CONST_DRAG_DEPTH);
root.MyApp.rSoundManager.playRandom("Lifting_Stone_Shape");
bitmapFigure._y = bitmapFigure._y - nUp;
onEnterFrame = mx.utils.Delegate.create(this, drag);
root.mcCursor.gotoAndStop("down");
moveMe = true;
root.btnHelp.btn.enabled = false;
root.btnSound.btn.enabled = false;
root.btnSound.gotoAndStop(1);
} else {
releaseMeOutside();
}
}
function releaseMeOutside() {
if (moveMe) {
root.MyApp.rSoundManager.playRandom("Drop_Heavy_Stone");
bitmapFigure._y = 0;
onEnterFrame = null;
root.mcCursor.gotoAndStop("standard");
moveMe = false;
_x = root.MyApp.rWorkArea.SwapToGrid(_x, nSG);
_y = root.MyApp.rWorkArea.SwapToGrid(_y, nSG);
root.mActivePart = null;
alignSecondParts();
if (root.MyApp.rWorkArea.checkSolution()) {
root.MyApp.rTimer.stopTimer();
root.MyApp.nextLevel();
}
}
root.btnHelp.btn.enabled = true;
root.btnSound.btn.enabled = true;
}
}
Symbol 556 MovieClip [__Packages.TCApplication] Frame 0
class TCApplication
{
var mcHelp, rDC, _cblnPause, aMovingArray, rLevel, rTimer, rWorkArea, rSoundManager, nLevel, nLevelCount, nScore, PlayAreaWidth, PlayAreaHeight, saveData, isShowHelp, bGameOver, blnGameOn, SO, nFWidth, nFHeight, BDFigure, Xf, Yf, nLevelTime, _mcLoader, _mcLoaderSoundManager, isPractice, nGameDifficulty;
function TCApplication (__root) {
mcHelp = __root._smcHelp;
rDC = __root;
_cblnPause = false;
init();
}
function init(Void) {
_root._parent.gameStart(true);
var _local3 = new Object();
_local3.onKeyUp = utils.delegate.DelegateX.create(this, myOnKeyDown);
Key.addListener(_local3);
aMovingArray = new Array();
rLevel = new TCLevel(this);
rTimer = new TCTimer(this);
rWorkArea = new TCWorkArea(this);
rSoundManager = new TCSoundManager(this);
nLevel = random(5);
nLevelCount = 0;
nScore = 0;
PlayAreaWidth = 500;
PlayAreaHeight = 500;
saveData = getFromDisk();
isShowHelp = saveData.bShowHelp;
if (saveData.bMusic == "0") {
rSoundManager.turnOnOffMusic(false);
} else {
rSoundManager.turnOnOffMusic(true);
}
if (saveData.bSound == "0") {
rSoundManager.turnOnOffSound(false);
} else {
rSoundManager.turnOnOffSound(true);
}
rDC.MC_Twinkle.swapDepths(50000);
}
function setScore(score) {
rDC.mcBg.tfScore.text = score;
}
function Pause(_this) {
var _local3 = _this.showMessage("PAUSE");
_this.rTimer.stopTimer();
clearInterval(_this.rLevel.idLevelInterval);
var __this = _this;
_local3.btnOk.onRelease = function () {
__this.rTimer.startTimer(__this.rTimer.gettimer());
this._parent.removeMovieClip();
};
}
function showMessage(str) {
var _local2 = rDC.attachMovie("message", "message", 10000, {_x:248.5, _y:203});
_local2.tfMes.text = str;
_local2.BtnBack.useHandCursor = false;
return(_local2);
}
function roundFinished() {
trace("roundFinished");
clearInterval(rLevel.idLevelInterval);
nLevel++;
var _local2 = showMessage("Congratulations.");
_local2.btnOk.onRelease = function () {
this._parent.removeMovieClip();
};
}
function startNewRound(__nLevel) {
trace("startNewRound" + __nLevel);
bGameOver = false;
rWorkArea.init();
initGUI();
blnGameOn = true;
rWorkArea.LoadPart();
rLevel.decodeLevel(__nLevel);
rTimer.startTimer(0);
setScore(nScore);
customCursor();
if ((saveData.bShowHelp == "0") || (saveData.bShowHelp == undefined)) {
}
rSoundManager.backgroundmusic.start(0, 999);
}
function initGUI() {
rDC.mcDeepBg.swapDepths(1240);
rDC.mcBg.swapDepths(12000);
rDC.mcVisualFigure.swapDepths(1241);
rDC.btnSound.swapDepths(12420);
rDC.btnHelp.swapDepths(12430);
rDC.mcLogo.swapDepths(12440);
rDC.btnHelp.btn.onRelease = utils.delegate.DelegateX.create(this, showHelp);
rDC.btnHelp.btn.onRollOver = utils.delegate.DelegateX.create(rSoundManager, rSoundManager.playRollOverSnd);
rDC.btnTemp.onRelease = utils.delegate.DelegateX.create(this, typeParts);
}
function getFromDisk(Void) {
var _local2 = new Object();
SO = SharedObject.getLocal("tangram");
_local2.bSound = SO.data.bSound;
_local2.bMusic = SO.data.bMusic;
_local2.bShowHelp = SO.data.bShowHelp;
return(_local2);
}
function saveSoundStateOnUserDisk(bsound) {
SO = SharedObject.getLocal("tangram");
SO.data.bSound = bsound;
SO.flush();
}
function saveMusicStateOnUserDisk(bmusic) {
SO = SharedObject.getLocal("tangram");
SO.data.bMusic = bmusic;
SO.flush();
}
function ToBitmap(Void) {
nFWidth = rDC.ContainerFigure._width;
nFHeight = rDC.ContainerFigure._height;
BDFigure = new flash.display.BitmapData(nFWidth, nFHeight, true, 1355599052);
var _local2 = rDC.createEmptyMovieClip("mc1", 500);
_local2._x = Xf;
_local2._y = Yf;
_local2.attachBitmap(BDFigure, 100);
BDFigure.draw(rDC.ContainerFigure);
rDC.ContainerFigure._visible = false;
}
function gameOver(nWin) {
bGameOver = true;
if (nWin == 1) {
rSoundManager.victorySnd.start();
} else {
rSoundManager.loseSnd.start();
_root._parent.gameOver(nScore);
}
setScore(nScore);
Mouse.show();
rDC.mcCursor.stopDrag();
rDC.mcCursor._x = -100;
rDC.mcCursor.gotoAndStop("standard");
blnGameOn = false;
clearAll();
rDC.attachMovie("mcGameOverScreen", "mcGameOverScreen", 100000);
rDC.mcGameOverScreen.tfScore.text = nScore;
rDC.mcGameOverScreen.btnReplay.onRelease = utils.delegate.DelegateX.create(rDC.mcGameOverScreen, rDC.mcGameOverScreen.play);
rDC.mcGameOverScreen.btnReplay.onRollOver = utils.delegate.DelegateX.create(rSoundManager, rSoundManager.playRollOverSnd);
rSoundManager.backgroundmusic.stop("StnHng_Loop");
}
function clearAll() {
rWorkArea.ContainerPart.removeMovieClip();
}
function ColorMc(mc, color) {
var _local1 = new Color(mc);
_local1.setRGB(color);
}
function nextLevel(Void) {
trace("nextLevel");
var _local2 = rWorkArea.aFigure[nLevel].bonus * (nLevelTime - rTimer.gettimer());
nScore = nScore + rWorkArea.aFigure[nLevel].score;
rDC.mcBg.bonus.nBonusValue = _local2;
rDC.mcBg.bonus.gotoAndPlay(2);
setScore(nScore);
nScore = nScore + _local2;
nLevel++;
nLevelCount++;
nLevelTime = rWorkArea.totalTime - (nLevelCount * 10);
trace("nLevelTime " + nLevelTime);
BDFigure.dispose();
rTimer.clearTimer();
Mouse.show();
rDC.mcCursor.stopDrag();
rDC.mcCursor._x = -100;
rDC.mcCursor.gotoAndStop("standard");
}
function showLevelCompleteScreen(Void) {
trace("showLevelCompleteScreen");
if (!bGameOver) {
rSoundManager.victorySnd.start();
rDC.attachMovie("mcLevelCompleteScreen", "mcLevelCompleteScreen", 100000);
rDC.mcLevelCompleteScreen.btnContinue.onRelease = utils.delegate.DelegateX.create(this, newLevel);
rDC.mcLevelCompleteScreen.btnContinue.onRollOver = utils.delegate.DelegateX.create(rSoundManager, rSoundManager.playRollOverSnd);
}
}
function restartGame(Void) {
bGameOver = false;
rSoundManager.playClickSnd();
BDFigure.dispose();
rWorkArea.ContainerPart = rDC.createEmptyMovieClip("ContainerPart", 5000);
rWorkArea.createParts();
rTimer.clearTimer();
nScore = 0;
nLevelCount = 0;
setScore(nScore);
nLevel = random(5);
customCursor();
newLevel();
if (rDC.mcGameOverScreen != undefined) {
rDC.mcGameOverScreen.removeMovieClip();
}
}
function newLevel(Void) {
trace("newLevel" + nLevel);
rDC.mcLevelCompleteScreen.removeMovieClip();
customCursor();
setScore(nScore);
rWorkArea.createFigures(nLevel);
new mx.transitions.Tween(rDC.ContainerPart, "_alpha", mx.transitions.easing.None.easeNone, 0, 100, 0.5, true);
new mx.transitions.Tween(rDC.mcVisualFigure, "_alpha", mx.transitions.easing.None.easeNone, 0, 100, 0.5, true);
rTimer.startTimer(0);
}
function loaderSaysStartGame(mcLoader, loaderSoundManager, gameDifficulty) {
trace("loaderSaysStartGame::" + gameDifficulty);
_mcLoader = mcLoader;
_mcLoaderSoundManager = loaderSoundManager;
mcLoader.currentGameName = "SOLSTICE SHADOW";
isPractice = mcLoader.practicingNow;
nGameDifficulty = gameDifficulty;
startNewRound();
}
function showHelp() {
_root._parent.showHelp();
}
function customCursor() {
Mouse.hide();
trace("customCursor " + rDC.mcCursor);
rDC.mcCursor.swapDepths(300000);
rDC.mcCursor.startDrag(true);
}
function typeParts() {
var _local2 = 0;
while (_local2 < 7) {
trace("type= " + rDC.ContainerPart["PartTangram" + _local2].type);
trace((((((((((("sx=\"" + rDC.ContainerPart["PartTangram" + _local2]._x) + "\"") + " sy=\"") + rDC.ContainerPart["PartTangram" + _local2]._y) + "\"") + " sf=\"") + rDC.ContainerPart["PartTangram" + _local2].Partnew._currentframe) + "\"") + " sr=\"") + rDC.ContainerPart["PartTangram" + _local2].mPart._rotation) + "\"");
trace("");
_local2++;
}
}
function myOnKeyDown() {
if (Key.getCode() == 32) {
rDC.mActivePart.rotateMe();
}
}
}
Symbol 557 MovieClip [__Packages.TCLevel] Frame 0
class TCLevel
{
var rApp, levelArray, nLevel, nPlanTask, nPreTasks, nLevelTimeOut;
function TCLevel (__app) {
rApp = __app;
init();
}
function init(Void) {
levelArray = new Array();
var _local3 = 0;
while (_local3 < rApp.rWorkArea.Width) {
levelArray[_local3] = [];
var _local2 = 0;
while (_local2 < rApp.rWorkArea.Height) {
levelArray[_local3][_local2] = 0;
_local2++;
}
_local3++;
}
}
function decodeLevel(theNum) {
nLevel = theNum;
levelArray[3][0] = 2;
levelArray[4][0] = 1;
levelArray[2][1] = 2;
levelArray[3][1] = 5;
levelArray[4][1] = 5;
levelArray[5][1] = 1;
levelArray[1][2] = 2;
levelArray[2][2] = 5;
levelArray[3][2] = 5;
levelArray[4][2] = 5;
levelArray[5][2] = 5;
levelArray[6][2] = 1;
levelArray[0][3] = 2;
levelArray[1][3] = 5;
levelArray[2][3] = 5;
levelArray[3][3] = 5;
levelArray[4][3] = 5;
levelArray[5][3] = 5;
levelArray[6][3] = 5;
levelArray[7][3] = 1;
}
function getLevelPlanTask(Void) {
return(nPlanTask);
}
function getLevelPreTasks(Void) {
return(nPreTasks);
}
function getLevelTimeOut(Void) {
return(nLevelTimeOut);
}
}
Symbol 558 MovieClip [__Packages.TCTimer] Frame 0
class TCTimer
{
var rApp, timer, nTimerTimeOut, nClockTime, idTimerInterval, aTime;
function TCTimer (__app) {
rApp = __app;
init();
}
function init(Void) {
timer = 0;
nTimerTimeOut = 1000;
nClockTime = 0;
idTimerInterval = 0;
aTime = new Array(9, 9.3, 10, 10.3, 11, 11.3, 12, 12.3, 13, 13.3, 14, 14.3, 15, 15.3, 16, 16.3, 17, 17.3, 18);
}
function runDayTime22(Void) {
timer++;
trace(timer);
var _local4 = Math.floor(timer / 60);
var _local6 = Math.floor(timer % 60);
rApp.rDC.clock.text = _local4;
rApp.rDC.clock.text = rApp.rDC.clock.text + ":";
var _local3 = String(_local6);
if (_local3.length == 1) {
_local3 = "0" + _local3;
}
rApp.rDC.clock.text = rApp.rDC.clock.text + _local3;
nClockTime = Number((_local4 + ".") + _local3);
var _local5 = Math.round((timer * 120) / rApp.nLevelTime);
rApp.rDC.mcBg.timer.gotoAndStop(_local5);
if (_local5 == 120) {
stopTimer();
rApp.rDC.mcBg.timer.play();
rApp.bGameOver = true;
_global.setTimeout(rApp, "gameOver", 500);
}
}
function runDayTime() {
timer++;
var _local4 = Math.floor((rApp.nLevelTime - timer) / 60);
var _local5 = Math.floor((rApp.nLevelTime - timer) % 60);
if (_local4 < 10) {
_root.mcBg.timer.min_txt = "0" + _local4;
} else {
_root.mcBg.timer.min_txt = _local4;
}
if (_local5 < 10) {
_root.mcBg.timer.sec_txt = "0" + _local5;
} else {
_root.mcBg.timer.sec_txt = _local5;
}
if ((_local4 <= 0) && (_local5 <= 0)) {
stopTimer();
rApp.rDC.mcBg.timer.play();
rApp.bGameOver = true;
_global.setTimeout(rApp, "gameOver", 500);
}
}
function startTimer(_timer) {
timer = _timer;
clearInterval(idTimerInterval);
idTimerInterval = _global.setInterval(this, "runDayTime", nTimerTimeOut);
}
function stopTimer(Void) {
clearInterval(idTimerInterval);
}
function getNumberTime(nTime) {
var _local2 = 0;
while (_local2 < 20) {
if (nTime == aTime[_local2]) {
return(_local2);
}
_local2++;
}
}
function gettimer(Void) {
return(timer);
}
function clearTimer(Void) {
timer = 0;
rApp.rDC.clock.text = "00:00";
rApp.rDC.mcBg.timer.gotoAndStop(1);
}
}
Symbol 559 MovieClip [__Packages.TCWorkArea] Frame 0
class TCWorkArea
{
var rApp, Width, Height, ContainerPart, ContainerFigure, VisualFigure, ContainerPartCopyForCheckSolution, deltaMouseX, deltaMouseY, aPart, aFigure, translateMatrix, aDifficulty, content, totalTime, mcParts;
function TCWorkArea (__app) {
rApp = __app;
}
function init(Void) {
trace("initWorkArea");
Width = Math.round(rApp.PlayAreaWidth / sizegrid);
Height = Math.round(rApp.PlayAreaHeight / sizegrid);
var _local2 = 0;
while (_local2 < 7) {
rApp.rDC["part" + _local2].swapDepths(7500 + _local2);
_local2++;
}
ContainerPart = rApp.rDC.createEmptyMovieClip("ContainerPart", 5000);
ContainerFigure = rApp.rDC.createEmptyMovieClip("ContainerFigure", 30);
VisualFigure = rApp.rDC.createEmptyMovieClip("VisualFigure", 3000);
ContainerPartCopyForCheckSolution = rApp.rDC.createEmptyMovieClip("ContainerPartCopyForCheckSolution", 40);
rApp.rDC.mcVisualFigure.setMask(VisualFigure);
deltaMouseX = (deltaMouseY = 0);
aPart = new Array();
aFigure = new Array();
translateMatrix = new flash.geom.Matrix();
aDifficulty = new Array();
}
function BuildContentMc(Void) {
content = rApp.rDC.createEmptyMovieClip("contentMC", 50);
content._x = (content._y = 0);
content.lineStyle(1, 16777215, 100);
var _local3 = 0;
while (_local3 < 20) {
content.moveTo(_local3 * sizegrid, 0);
content.lineTo(_local3 * sizegrid, 19 * sizegrid);
_local3++;
}
var _local2 = 0;
while (_local2 < 20) {
content.moveTo(0, _local2 * sizegrid);
content.lineTo(19 * sizegrid, _local2 * sizegrid);
_local2++;
}
}
function ArrayCopy(AR1, AR2) {
var _local3 = 0;
while (_local3 < Width) {
var _local2 = 0;
while (_local2 < Height) {
AR1[_local3][_local2] = AR2[_local3][_local2];
_local2++;
}
_local3++;
}
}
function arrangeDepths() {
}
function SwapToGrid(nC, lsizegrid) {
var _local4;
var _local1 = Math.floor(nC / lsizegrid);
var _local3 = _local1 * lsizegrid;
var _local2 = (_local1 + 1) * lsizegrid;
var _local8 = Math.abs(_local3 - nC);
var _local7 = Math.abs(_local2 - nC);
if (_local8 <= _local7) {
_local4 = _local3;
} else {
_local4 = _local2;
}
return(_local4);
}
function LoadPart(Void) {
var _local2 = new XML("<tangram><parts><part cx=\"180\" cy=\"120\"><point x=\"60\" y=\"60\"/><point x=\"300\" y=\"60\"/><point x=\"180\" y=\"180\"/><point x=\"60\" y=\"60\"/></part><part cx=\"150\" cy=\"120\"><point x=\"90\" y=\"90\"/><point x=\"210\" y=\"90\"/><point x=\"150\" y=\"150\"/><point x=\"90\" y=\"90\"/></part><part cx=\"180\" cy=\"150\"><point x=\"180\" y=\"90\"/><point x=\"120\" y=\"150\"/><point x=\"180\" y=\"210\"/><point x=\"240\" y=\"150\"/><point x=\"180\" y=\"90\"/></part><part cx=\"210\" cy=\"180\"><point x=\"120\" y=\"210\"/><point x=\"180\" y=\"150\"/><point x=\"300\" y=\"150\"/><point x=\"240\" y=\"210\"/><point x=\"120\" y=\"210\"/></part><part cx=\"150\" cy=\"150\"><point x=\"120\" y=\"60\"/><point x=\"120\" y=\"180\"/><point x=\"240\" y=\"180\"/><point x=\"120\" y=\"60\"/></part><part cx=\"180\" cy=\"120\"><point x=\"120\" y=\"90\"/><point x=\"240\" y=\"90\"/><point x=\"180\" y=\"150\"/><point x=\"120\" y=\"90\"/></part><part cx=\"240\" cy=\"150\"><point x=\"120\" y=\"90\"/><point x=\"360\" y=\"90\"/><point x=\"240\" y=\"210\"/><point x=\"120\" y=\"90\"/></part></parts><figures timeTotal=\"100\"><figure name=\"0\" x=\"75\" y=\"90\" difficulty=\"1\" score=\"100\" time=\"60\" bonus=\"10\"><figurepart x=\"360\" y=\"240\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"75\" sy=\"210\" sf=\"2\" sr=\"45\"/><figurepart x=\"300\" y=\"270\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"390\" sy=\"75\" sf=\"8\" sr=\"-45\"/><figurepart x=\"240\" y=\"240\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"450\" sy=\"210\" sf=\"2\" sr=\"45\"/><figurepart x=\"390\" y=\"30\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"270\" sy=\"60\" sf=\"1\" sr=\"0\"/><figurepart x=\"270\" y=\"150\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"570\" sy=\"360\" sf=\"7\" sr=\"-90\"/><figurepart x=\"180\" y=\"270\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"90\" sy=\"345\" sf=\"2\" sr=\"45\"/><figurepart x=\"120\" y=\"240\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"225\" sy=\"180\" sf=\"1\" sr=\"0\"/></figure><figure name=\"1\" x=\"75\" y=\"75\" difficulty=\"1\" score=\"200\" time=\"45\" bonus=\"10\"><figurepart x=\"300\" y=\"240\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"105\" sy=\"345\" sf=\"2\" sr=\"45\"/><figurepart x=\"180\" y=\"210\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"270\" sy=\"375\" sf=\"1\" sr=\"0\"/><figurepart x=\"420\" y=\"240\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"435\" sy=\"120\" sf=\"1\" sr=\"0\"/><figurepart x=\"150\" y=\"150\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"570\" sy=\"180\" sf=\"3\" sr=\"90\"/><figurepart x=\"270\" y=\"150\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"60\" sy=\"135\" sf=\"3\" sr=\"90\"/><figurepart x=\"120\" y=\"210\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"495\" sy=\"180\" sf=\"3\" sr=\"90\"/><figurepart x=\"120\" y=\"60\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"315\" sy=\"90\" sf=\"1\" sr=\"0\"/></figure><figure name=\"2\" x=\"135\" y=\"120\" difficulty=\"1\" score=\"300\" time=\"30\" bonus=\"10\"><figurepart x=\"240\" y=\"60\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"225\" sy=\"135\" sf=\"1\" sr=\"0\"/><figurepart x=\"240\" y=\"150\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"570\" sy=\"135\" sf=\"6\" sr=\"-135\"/><figurepart x=\"360\" y=\"60\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"420\" sy=\"90\" sf=\"1\" sr=\"0\"/><figurepart x=\"210\" y=\"210\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"495\" sy=\"300\" sf=\"8\" sr=\"-45\"/><figurepart x=\"30\" y=\"90\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"570\" sy=\"360\" sf=\"7\" sr=\"-90\"/><figurepart x=\"300\" y=\"150\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"60\" sy=\"150\" sf=\"3\" sr=\"90\"/><figurepart x=\"120\" y=\"180\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"75\" sy=\"315\" sf=\"2\" sr=\"45\"/></figure><figure name=\"3\" x=\"135\" y=\"90\" difficulty=\"1\" score=\"100\" time=\"60\" bonus=\"10\"><figurepart x=\"240\" y=\"60\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"495\" sy=\"135\" sf=\"5\" sr=\"-180\"/><figurepart x=\"240\" y=\"210\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"90\" sy=\"195\" sf=\"5\" sr=\"-180\"/><figurepart x=\"180\" y=\"240\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"180\" sy=\"150\" sf=\"1\" sr=\"0\"/><figurepart x=\"90\" y=\"210\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"330\" sy=\"45\" sf=\"1\" sr=\"0\"/><figurepart x=\"270\" y=\"270\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"60\" sy=\"270\" sf=\"3\" sr=\"90\"/><figurepart x=\"300\" y=\"150\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"450\" sy=\"285\" sf=\"4\" sr=\"135\"/><figurepart x=\"180\" y=\"120\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-180\" sx=\"555\" sy=\"345\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"4\" x=\"90\" y=\"120\" difficulty=\"1\" score=\"100\" time=\"45\" bonus=\"10\"><figurepart x=\"285\" y=\"105\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"90\" sy=\"345\" sf=\"2\" sr=\"45\"/><figurepart x=\"120\" y=\"150\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"195\" sy=\"45\" sf=\"5\" sr=\"180\"/><figurepart x=\"60\" y=\"120\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"75\" sy=\"135\" sf=\"1\" sr=\"0\"/><figurepart x=\"375\" y=\"135\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"345\" sy=\"75\" sf=\"1\" sr=\"0\"/><figurepart x=\"150\" y=\"90\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"480\" sy=\"75\" sf=\"4\" sr=\"135\"/><figurepart x=\"180\" y=\"150\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"465\" sy=\"300\" sf=\"1\" sr=\"0\"/><figurepart x=\"240\" y=\"180\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-180\" sx=\"555\" sy=\"345\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"5\" x=\"90\" y=\"90\" difficulty=\"1\" score=\"100\" time=\"30\" bonus=\"10\"><figurepart x=\"300\" y=\"180\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"330\" sy=\"75\" sf=\"1\" sr=\"0\"/><figurepart x=\"120\" y=\"150\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"555\" sy=\"360\" sf=\"8\" sr=\"-45\"/><figurepart x=\"60\" y=\"180\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"405\" sy=\"135\" sf=\"1\" sr=\"0\"/><figurepart x=\"390\" y=\"210\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"525\" sy=\"165\" sf=\"1\" sr=\"0\"/><figurepart x=\"210\" y=\"90\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"60\" sy=\"330\" sf=\"1\" sr=\"0\"/><figurepart x=\"360\" y=\"270\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"480\" sy=\"90\" sf=\"1\" sr=\"0\"/><figurepart x=\"180\" y=\"180\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-180\" sx=\"120\" sy=\"120\" sf=\"4\" sr=\"135\"/></figure><figure name=\"6\" x=\"120\" y=\"45\" difficulty=\"1\" score=\"100\" time=\"60\" bonus=\"10\"><figurepart x=\"120\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"435\" sy=\"150\" sf=\"1\" sr=\"0\"/><figurepart x=\"375\" y=\"240\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"345\" sy=\"360\" sf=\"5\" sr=\"-180\"/><figurepart x=\"315\" y=\"210\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"555\" sy=\"300\" sf=\"1\" sr=\"0\"/><figurepart x=\"210\" y=\"90\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"345\" sy=\"45\" sf=\"5\" sr=\"180\"/><figurepart x=\"75\" y=\"270\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"540\" sy=\"195\" sf=\"7\" sr=\"-90\"/><figurepart x=\"375\" y=\"180\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"90\" sy=\"315\" sf=\"6\" sr=\"-135\"/><figurepart x=\"165\" y=\"240\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"105\" sy=\"120\" sf=\"4\" sr=\"135\"/></figure><figure name=\"7\" x=\"105\" y=\"135\" difficulty=\"1\" score=\"100\" time=\"45\" bonus=\"10\"><figurepart x=\"120\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"555\" sy=\"315\" sf=\"8\" sr=\"-45\"/><figurepart x=\"360\" y=\"150\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"300\" sy=\"50\" sf=\"1\" sr=\"0\"/><figurepart x=\"180\" y=\"180\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"195\" sy=\"75\" sf=\"1\" sr=\"0\"/><figurepart x=\"270\" y=\"210\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"420\" sy=\"45\" sf=\"1\" sr=\"0\"/><figurepart x=\"270\" y=\"150\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"525\" sy=\"165\" sf=\"7\" sr=\"-90\"/><figurepart x=\"210\" y=\"120\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"330\" sy=\"375\" sf=\"1\" sr=\"0\"/><figurepart x=\"300\" y=\"60\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"120\" sy=\"315\" sf=\"2\" sr=\"45\"/></figure><figure name=\"8\" x=\"165\" y=\"90\" difficulty=\"1\" score=\"100\" time=\"30\" bonus=\"10\"><figurepart x=\"240\" y=\"180\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"150\" sy=\"180\" sf=\"6\" sr=\"-135\"/><figurepart x=\"150\" y=\"120\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"570\" sy=\"210\" sf=\"6\" sr=\"-135\"/><figurepart x=\"120\" y=\"60\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"360\" sy=\"75\" sf=\"1\" sr=\"0\"/><figurepart x=\"270\" y=\"90\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"510\" sy=\"105\" sf=\"2\" sr=\"45\"/><figurepart x=\"270\" y=\"270\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"525\" sy=\"300\" sf=\"1\" sr=\"0\"/><figurepart x=\"60\" y=\"30\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"330\" sy=\"360\" sf=\"8\" sr=\"-45\"/><figurepart x=\"120\" y=\"180\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"75\" sy=\"330\" sf=\"2\" sr=\"45\"/></figure><figure name=\"9\" x=\"180\" y=\"105\" difficulty=\"1\" score=\"100\" time=\"60\" bonus=\"10\"><figurepart x=\"60\" y=\"180\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"570\" sy=\"330\" sf=\"8\" sr=\"-45\"/><figurepart x=\"210\" y=\"60\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"375\" sy=\"375\" sf=\"1\" sr=\"0\"/><figurepart x=\"60\" y=\"60\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"495\" sy=\"90\" sf=\"1\" sr=\"0\"/><figurepart x=\"270\" y=\"90\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"345\" sy=\"45\" sf=\"1\" sr=\"0\"/><figurepart x=\"210\" y=\"210\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"525\" sy=\"195\" sf=\"3\" sr=\"90\"/><figurepart x=\"180\" y=\"30\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"165\" sy=\"360\" sf=\"2\" sr=\"45\"/><figurepart x=\"180\" y=\"120\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"105\" sy=\"210\" sf=\"7\" sr=\"-90\"/></figure><figure name=\"10\" x=\"135\" y=\"60\" difficulty=\"1\" score=\"100\" time=\"45\" bonus=\"10\"><figurepart x=\"240\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"135\" sy=\"135\" sf=\"1\" sr=\"0\"/><figurepart x=\"240\" y=\"330\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"570\" sy=\"255\" sf=\"7\" sr=\"-90\"/><figurepart x=\"180\" y=\"60\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"525\" sy=\"120\" sf=\"1\" sr=\"0\"/><figurepart x=\"150\" y=\"150\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"495\" sy=\"225\" sf=\"3\" sr=\"90\"/><figurepart x=\"90\" y=\"150\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"255\" sy=\"345\" sf=\"7\" sr=\"-90\"/><figurepart x=\"300\" y=\"270\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"480\" sy=\"375\" sf=\"1\" sr=\"0\"/><figurepart x=\"240\" y=\"240\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"150\" sy=\"300\" sf=\"1\" sr=\"0\"/></figure><figure name=\"11\" x=\"135\" y=\"60\" difficulty=\"1\" score=\"100\" time=\"30\" bonus=\"10\"><figurepart x=\"300\" y=\"60\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"210\" sy=\"90\" sf=\"4\" sr=\"135\"/><figurepart x=\"240\" y=\"150\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"420\" sy=\"330\" sf=\"4\" sr=\"135\"/><figurepart x=\"300\" y=\"180\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"510\" sy=\"225\" sf=\"1\" sr=\"0\"/><figurepart x=\"150\" y=\"270\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"120\" sy=\"375\" sf=\"1\" sr=\"0\"/><figurepart x=\"90\" y=\"270\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"90\" sy=\"255\" sf=\"3\" sr=\"90\"/><figurepart x=\"360\" y=\"150\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"120\" sy=\"135\" sf=\"6\" sr=\"-135\"/><figurepart x=\"240\" y=\"240\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"555\" sy=\"345\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"12\" x=\"150\" y=\"90\" difficulty=\"1\" score=\"100\" time=\"60\" bonus=\"10\"><figurepart x=\"180\" y=\"60\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"150\" sy=\"135\" sf=\"6\" sr=\"-135\"/><figurepart x=\"210\" y=\"180\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"570\" sy=\"255\" sf=\"6\" sr=\"-135\"/><figurepart x=\"240\" y=\"240\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"480\" sy=\"285\" sf=\"1\" sr=\"0\"/><figurepart x=\"150\" y=\"150\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"510\" sy=\"90\" sf=\"6\" sr=\"-135\"/><figurepart x=\"330\" y=\"90\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"60\" sy=\"225\" sf=\"1\" sr=\"0\"/><figurepart x=\"270\" y=\"60\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"555\" sy=\"345\" sf=\"5\" sr=\"180\"/><figurepart x=\"120\" y=\"240\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-180\" sx=\"135\" sy=\"330\" sf=\"1\" sr=\"0\"/></figure><figure name=\"13\" x=\"180\" y=\"60\" difficulty=\"1\" score=\"100\" time=\"45\" bonus=\"10\"><figurepart x=\"240\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"60\" sy=\"360\" sf=\"2\" sr=\"45\"/><figurepart x=\"30\" y=\"60\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"345\" sy=\"105\" sf=\"7\" sr=\"-90\"/><figurepart x=\"270\" y=\"240\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"240\" sy=\"330\" sf=\"1\" sr=\"0\"/><figurepart x=\"90\" y=\"90\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"465\" sy=\"45\" sf=\"1\" sr=\"0\"/><figurepart x=\"30\" y=\"150\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"105\" sy=\"225\" sf=\"1\" sr=\"0\"/><figurepart x=\"150\" y=\"330\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"555\" sy=\"135\" sf=\"6\" sr=\"-135\"/><figurepart x=\"150\" y=\"240\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"570\" sy=\"345\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"14\" x=\"60\" y=\"150\" difficulty=\"1\" score=\"100\" time=\"130\" bonus=\"10\"><figurepart x=\"300\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"345\" sy=\"105\" sf=\"5\" sr=\"180\"/><figurepart x=\"90\" y=\"60\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"165\" sy=\"360\" sf=\"1\" sr=\"0\"/><figurepart x=\"60\" y=\"120\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"210\" sy=\"90\" sf=\"1\" sr=\"0\"/><figurepart x=\"150\" y=\"150\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"495\" sy=\"120\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"90\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"270\" sy=\"360\" sf=\"4\" sr=\"135\"/><figurepart x=\"240\" y=\"90\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"375\" sy=\"360\" sf=\"1\" sr=\"0\"/><figurepart x=\"420\" y=\"120\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"555\" sy=\"330\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"15\" x=\"210\" y=\"120\" difficulty=\"1\" score=\"100\" time=\"100\" bonus=\"10\"><figurepart x=\"60\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"70\" sy=\"110\" sf=\"4\" sr=\"135\"/><figurepart x=\"240\" y=\"150\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"120\" y=\"180\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"150\" sf=\"2\" sr=\"45\"/><figurepart x=\"210\" y=\"210\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"300\" sy=\"50\" sf=\"1\" sr=\"0\"/><figurepart x=\"210\" y=\"90\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"540\" sy=\"250\" sf=\"6\" sr=\"-135\"/><figurepart x=\"60\" y=\"210\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"60\" sy=\"300\" sf=\"4\" sr=\"135\"/><figurepart x=\"120\" y=\"60\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"580\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"16\" x=\"150\" y=\"120\" difficulty=\"1\" score=\"100\" time=\"45\" bonus=\"10\"><figurepart x=\"240\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"75\" sy=\"375\" sf=\"2\" sr=\"45\"/><figurepart x=\"180\" y=\"30\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"475\" sy=\"100\" sf=\"8\" sr=\"-45\"/><figurepart x=\"60\" y=\"60\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"500\" sy=\"210\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"210\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"320\" sy=\"40\" sf=\"1\" sr=\"0\"/><figurepart x=\"330\" y=\"150\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"575\" sy=\"360\" sf=\"7\" sr=\"-90\"/><figurepart x=\"120\" y=\"30\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"75\" sy=\"110\" sf=\"4\" sr=\"135\"/><figurepart x=\"120\" y=\"120\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"435\" sy=\"355\" sf=\"1\" sr=\"0\"/></figure><figure name=\"17\" x=\"135\" y=\"105\" difficulty=\"1\" score=\"100\" time=\"90\" bonus=\"10\"><figurepart x=\"300\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"75\" sy=\"350\" sf=\"2\" sr=\"45\"/><figurepart x=\"210\" y=\"60\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"475\" sy=\"100\" sf=\"8\" sr=\"-45\"/><figurepart x=\"180\" y=\"120\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"525\" sy=\"190\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"210\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"320\" sy=\"40\" sf=\"1\" sr=\"0\"/><figurepart x=\"90\" y=\"150\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"575\" sy=\"360\" sf=\"7\" sr=\"-90\"/><figurepart x=\"270\" y=\"60\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"75\" sy=\"130\" sf=\"5\" sr=\"180\"/><figurepart x=\"120\" y=\"60\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"435\" sy=\"355\" sf=\"1\" sr=\"0\"/></figure><figure name=\"18\" x=\"195\" y=\"90\" difficulty=\"1\" score=\"100\" time=\"40\" bonus=\"10\"><figurepart x=\"120\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"75\" sy=\"350\" sf=\"2\" sr=\"45\"/><figurepart x=\"60\" y=\"210\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"475\" sy=\"100\" sf=\"8\" sr=\"-45\"/><figurepart x=\"120\" y=\"240\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"100\" sy=\"190\" sf=\"2\" sr=\"45\"/><figurepart x=\"90\" y=\"30\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"320\" sy=\"40\" sf=\"1\" sr=\"0\"/><figurepart x=\"30\" y=\"150\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"360\" sf=\"7\" sr=\"-90\"/><figurepart x=\"180\" y=\"270\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"-180\" sx=\"100\" sy=\"100\" sf=\"5\" sr=\"180\"/><figurepart x=\"180\" y=\"180\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"475\" sy=\"225\" sf=\"4\" sr=\"135\"/></figure><figure name=\"19\" x=\"165\" y=\"90\" difficulty=\"1\" score=\"100\" time=\"30\" bonus=\"10\"><figurepart x=\"135\" y=\"180\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"75\" sy=\"300\" sf=\"2\" sr=\"45\"/><figurepart x=\"60\" y=\"90\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"-180\" sx=\"475\" sy=\"100\" sf=\"8\" sr=\"-45\"/><figurepart x=\"255\" y=\"180\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"575\" sy=\"150\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"30\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"320\" sy=\"40\" sf=\"1\" sr=\"0\"/><figurepart x=\"165\" y=\"270\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"575\" sy=\"360\" sf=\"7\" sr=\"-90\"/><figurepart x=\"120\" y=\"90\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"75\" sy=\"130\" sf=\"5\" sr=\"180\"/><figurepart x=\"240\" y=\"60\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-180\" sx=\"475\" sy=\"275\" sf=\"4\" sr=\"135\"/></figure><figure name=\"20\" x=\"150\" y=\"105\" difficulty=\"1\" score=\"100\" time=\"100\" bonus=\"10\"><figurepart x=\"120\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"75\" sy=\"350\" sf=\"2\" sr=\"45\"/><figurepart x=\"210\" y=\"120\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"475\" sy=\"100\" sf=\"8\" sr=\"-45\"/><figurepart x=\"330\" y=\"150\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"440\" sy=\"355\" sf=\"2\" sr=\"45\"/><figurepart x=\"90\" y=\"30\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"320\" sy=\"40\" sf=\"1\" sr=\"0\"/><figurepart x=\"270\" y=\"30\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-180\" sx=\"575\" sy=\"360\" sf=\"7\" sr=\"-90\"/><figurepart x=\"270\" y=\"120\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"75\" sy=\"200\" sf=\"2\" sr=\"45\"/><figurepart x=\"180\" y=\"180\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-180\" sx=\"565\" sy=\"180\" sf=\"7\" sr=\"-90\"/></figure><figure name=\"21\" x=\"120\" y=\"60\" difficulty=\"1\" score=\"100\" time=\"45\" bonus=\"10\"><figurepart x=\"120\" y=\"240\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"75\" sy=\"350\" sf=\"2\" sr=\"45\"/><figurepart x=\"330\" y=\"120\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"500\" sy=\"100\" sf=\"8\" sr=\"-45\"/><figurepart x=\"300\" y=\"180\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"525\" sy=\"190\" sf=\"2\" sr=\"45\"/><figurepart x=\"210\" y=\"150\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"-180\" sx=\"320\" sy=\"40\" sf=\"1\" sr=\"0\"/><figurepart x=\"270\" y=\"90\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"575\" sy=\"360\" sf=\"7\" sr=\"-90\"/><figurepart x=\"330\" y=\"60\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"75\" sy=\"130\" sf=\"5\" sr=\"180\"/><figurepart x=\"240\" y=\"240\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"200\" sy=\"130\" sf=\"4\" sr=\"135\"/></figure><figure name=\"22\" x=\"120\" y=\"90\" difficulty=\"1\" score=\"100\" time=\"75\" bonus=\"10\"><figurepart x=\"60\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"75\" sy=\"350\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"120\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"500\" sy=\"100\" sf=\"8\" sr=\"-45\"/><figurepart x=\"240\" y=\"180\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"190\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"210\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"470\" sy=\"300\" sf=\"1\" sr=\"0\"/><figurepart x=\"210\" y=\"270\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"360\" sf=\"7\" sr=\"-90\"/><figurepart x=\"210\" y=\"120\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"75\" sy=\"130\" sf=\"5\" sr=\"180\"/><figurepart x=\"300\" y=\"120\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"260\" sy=\"70\" sf=\"4\" sr=\"135\"/></figure><figure name=\"23\" x=\"135\" y=\"120\" difficulty=\"1\" score=\"100\" time=\"30\" bonus=\"10\"><figurepart x=\"360\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"75\" sy=\"350\" sf=\"2\" sr=\"45\"/><figurepart x=\"180\" y=\"30\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"500\" sy=\"100\" sf=\"8\" sr=\"-45\"/><figurepart x=\"60\" y=\"180\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"190\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"90\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"320\" sy=\"40\" sf=\"1\" sr=\"0\"/><figurepart x=\"270\" y=\"90\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"575\" sy=\"360\" sf=\"7\" sr=\"-90\"/><figurepart x=\"240\" y=\"30\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"320\" sy=\"350\" sf=\"5\" sr=\"180\"/><figurepart x=\"180\" y=\"180\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"95\" sy=\"105\" sf=\"4\" sr=\"135\"/></figure><figure name=\"24\" x=\"180\" y=\"60\" difficulty=\"1\" score=\"100\" time=\"60\" bonus=\"10\"><figurepart x=\"240\" y=\"240\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"75\" sy=\"295\" sf=\"3\" sr=\"90\"/><figurepart x=\"150\" y=\"120\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"500\" sy=\"100\" sf=\"8\" sr=\"-45\"/><figurepart x=\"180\" y=\"60\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"525\" sy=\"190\" sf=\"2\" sr=\"45\"/><figurepart x=\"210\" y=\"150\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"320\" sy=\"40\" sf=\"1\" sr=\"0\"/><figurepart x=\"30\" y=\"270\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"360\" sf=\"7\" sr=\"-90\"/><figurepart x=\"150\" y=\"240\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"75\" sy=\"130\" sf=\"5\" sr=\"180\"/><figurepart x=\"60\" y=\"180\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"200\" sy=\"130\" sf=\"4\" sr=\"135\"/></figure><figure name=\"25\" x=\"135\" y=\"90\" difficulty=\"1\" score=\"100\" time=\"45\" bonus=\"10\"><figurepart x=\"240\" y=\"60\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"65\" sy=\"375\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"120\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"520\" sy=\"100\" sf=\"8\" sr=\"-45\"/><figurepart x=\"180\" y=\"240\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"525\" sy=\"190\" sf=\"2\" sr=\"45\"/><figurepart x=\"90\" y=\"210\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"320\" sy=\"40\" sf=\"1\" sr=\"0\"/><figurepart x=\"90\" y=\"150\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"360\" sf=\"7\" sr=\"-90\"/><figurepart x=\"210\" y=\"120\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"75\" sy=\"130\" sf=\"5\" sr=\"180\"/><figurepart x=\"240\" y=\"180\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"490\" sy=\"290\" sf=\"4\" sr=\"135\"/></figure><figure name=\"26\" x=\"105\" y=\"150\" difficulty=\"1\" score=\"100\" time=\"120\" bonus=\"10\"><figurepart x=\"120\" y=\"60\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"75\" sy=\"350\" sf=\"2\" sr=\"45\"/><figurepart x=\"240\" y=\"210\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"520\" sy=\"100\" sf=\"6\" sr=\"-135\"/><figurepart x=\"180\" y=\"120\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"390\" sy=\"360\" sf=\"2\" sr=\"45\"/><figurepart x=\"270\" y=\"150\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"320\" sy=\"40\" sf=\"1\" sr=\"0\"/><figurepart x=\"270\" y=\"90\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"360\" sf=\"7\" sr=\"-90\"/><figurepart x=\"330\" y=\"60\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"75\" sy=\"130\" sf=\"5\" sr=\"180\"/><figurepart x=\"420\" y=\"120\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"150\" sy=\"250\" sf=\"6\" sr=\"-135\"/></figure><figure name=\"27\" x=\"180\" y=\"75\" difficulty=\"1\" score=\"100\" time=\"100\" bonus=\"10\"><figurepart x=\"60\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"500\" sy=\"140\" sf=\"2\" sr=\"45\"/><figurepart x=\"180\" y=\"210\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"-180\" sx=\"50\" sy=\"300\" sf=\"3\" sr=\"90\"/><figurepart x=\"60\" y=\"240\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"525\" sy=\"240\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"270\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"320\" sy=\"40\" sf=\"1\" sr=\"0\"/><figurepart x=\"270\" y=\"270\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"575\" sy=\"350\" sf=\"7\" sr=\"-90\"/><figurepart x=\"120\" y=\"150\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"-180\" sx=\"50\" sy=\"130\" sf=\"3\" sr=\"90\"/><figurepart x=\"300\" y=\"120\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"280\" sy=\"170\" sf=\"6\" sr=\"-135\"/></figure><figure name=\"28\" x=\"150\" y=\"120\" difficulty=\"1\" score=\"100\" time=\"30\" bonus=\"10\"><figurepart x=\"240\" y=\"240\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"75\" sy=\"350\" sf=\"2\" sr=\"45\"/><figurepart x=\"90\" y=\"120\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"500\" sy=\"100\" sf=\"8\" sr=\"-45\"/><figurepart x=\"60\" y=\"60\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"525\" sy=\"180\" sf=\"2\" sr=\"45\"/><figurepart x=\"270\" y=\"90\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"320\" sy=\"40\" sf=\"1\" sr=\"0\"/><figurepart x=\"330\" y=\"150\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"175\" sy=\"300\" sf=\"1\" sr=\"0\"/><figurepart x=\"300\" y=\"30\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"60\" sy=\"130\" sf=\"4\" sr=\"135\"/><figurepart x=\"180\" y=\"60\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"500\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"29\" x=\"90\" y=\"120\" difficulty=\"1\" score=\"100\" time=\"45\" bonus=\"10\"><figurepart x=\"120\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"75\" sy=\"350\" sf=\"2\" sr=\"45\"/><figurepart x=\"300\" y=\"150\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"240\" y=\"120\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"280\" sf=\"2\" sr=\"45\"/><figurepart x=\"390\" y=\"90\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"320\" sy=\"40\" sf=\"1\" sr=\"0\"/><figurepart x=\"270\" y=\"210\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"175\" sy=\"300\" sf=\"1\" sr=\"0\"/><figurepart x=\"360\" y=\"150\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"60\" sy=\"130\" sf=\"4\" sr=\"135\"/><figurepart x=\"300\" y=\"60\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"480\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"30\" x=\"165\" y=\"60\" difficulty=\"1\" score=\"100\" time=\"60\" bonus=\"10\"><figurepart x=\"120\" y=\"240\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"75\" sy=\"350\" sf=\"2\" sr=\"45\"/><figurepart x=\"60\" y=\"210\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"300\" y=\"180\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"280\" sf=\"2\" sr=\"45\"/><figurepart x=\"90\" y=\"150\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"180\" sy=\"95\" sf=\"8\" sr=\"-45\"/><figurepart x=\"210\" y=\"150\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"480\" sy=\"130\" sf=\"5\" sr=\"180\"/><figurepart x=\"240\" y=\"210\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"60\" sy=\"130\" sf=\"4\" sr=\"135\"/><figurepart x=\"180\" y=\"60\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-180\" sx=\"480\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"31\" x=\"135\" y=\"60\" difficulty=\"1\" score=\"100\" time=\"25\" bonus=\"10\"><figurepart x=\"60\" y=\"180\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"75\" sy=\"350\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"240\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"180\" y=\"180\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"150\" sf=\"2\" sr=\"45\"/><figurepart x=\"210\" y=\"90\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"165\" sy=\"95\" sf=\"8\" sr=\"-45\"/><figurepart x=\"330\" y=\"270\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"480\" sy=\"130\" sf=\"5\" sr=\"180\"/><figurepart x=\"210\" y=\"240\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"50\" sy=\"130\" sf=\"4\" sr=\"135\"/><figurepart x=\"300\" y=\"180\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"570\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"32\" x=\"195\" y=\"60\" difficulty=\"1\" score=\"100\" time=\"40\" bonus=\"10\"><figurepart x=\"180\" y=\"180\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"75\" sy=\"350\" sf=\"2\" sr=\"45\"/><figurepart x=\"90\" y=\"240\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"60\" y=\"60\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"280\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"270\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"350\" sy=\"280\" sf=\"8\" sr=\"-45\"/><figurepart x=\"30\" y=\"150\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"480\" sy=\"130\" sf=\"5\" sr=\"180\"/><figurepart x=\"60\" y=\"210\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"40\" sy=\"130\" sf=\"3\" sr=\"90\"/><figurepart x=\"180\" y=\"60\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-180\" sx=\"480\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"33\" x=\"135\" y=\"90\" difficulty=\"1\" score=\"100\" time=\"80\" bonus=\"10\"><figurepart x=\"300\" y=\"180\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"75\" sy=\"350\" sf=\"2\" sr=\"45\"/><figurepart x=\"120\" y=\"210\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"180\" y=\"180\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"280\" sf=\"2\" sr=\"45\"/><figurepart x=\"30\" y=\"150\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"200\" sy=\"70\" sf=\"1\" sr=\"0\"/><figurepart x=\"90\" y=\"150\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"500\" sy=\"130\" sf=\"5\" sr=\"180\"/><figurepart x=\"60\" y=\"90\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"60\" sy=\"130\" sf=\"4\" sr=\"135\"/><figurepart x=\"180\" y=\"60\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"480\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"34\" x=\"165\" y=\"60\" difficulty=\"1\" score=\"100\" time=\"40\" bonus=\"10\"><figurepart x=\"300\" y=\"180\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"75\" sy=\"225\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"180\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"120\" y=\"120\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"575\" sy=\"280\" sf=\"2\" sr=\"45\"/><figurepart x=\"210\" y=\"210\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"180\" sy=\"95\" sf=\"8\" sr=\"-45\"/><figurepart x=\"30\" y=\"210\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"480\" sy=\"130\" sf=\"5\" sr=\"180\"/><figurepart x=\"150\" y=\"60\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"50\" sy=\"350\" sf=\"7\" sr=\"-90\"/><figurepart x=\"120\" y=\"240\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"480\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"35\" x=\"135\" y=\"60\" difficulty=\"1\" score=\"100\" time=\"30\" bonus=\"10\"><figurepart x=\"180\" y=\"180\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"360\" sy=\"75\" sf=\"6\" sr=\"-135\"/><figurepart x=\"105\" y=\"90\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"165\" y=\"60\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"280\" sf=\"2\" sr=\"45\"/><figurepart x=\"90\" y=\"150\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"180\" sy=\"95\" sf=\"8\" sr=\"-45\"/><figurepart x=\"30\" y=\"210\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"500\" sy=\"130\" sf=\"5\" sr=\"180\"/><figurepart x=\"225\" y=\"90\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"-180\" sx=\"60\" sy=\"130\" sf=\"4\" sr=\"135\"/><figurepart x=\"300\" y=\"180\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"480\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"36\" x=\"150\" y=\"30\" difficulty=\"1\" score=\"100\" time=\"30\" bonus=\"10\"><figurepart x=\"60\" y=\"240\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"75\" sy=\"350\" sf=\"2\" sr=\"45\"/><figurepart x=\"270\" y=\"180\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"300\" y=\"240\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"280\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"210\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"180\" sy=\"95\" sf=\"8\" sr=\"-45\"/><figurepart x=\"150\" y=\"330\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"480\" sy=\"130\" sf=\"5\" sr=\"180\"/><figurepart x=\"270\" y=\"300\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"60\" sy=\"130\" sf=\"4\" sr=\"135\"/><figurepart x=\"180\" y=\"120\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"480\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"37\" x=\"135\" y=\"75\" difficulty=\"1\" score=\"100\" time=\"60\" bonus=\"10\"><figurepart x=\"120\" y=\"180\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"75\" sy=\"295\" sf=\"3\" sr=\"90\"/><figurepart x=\"210\" y=\"240\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"240\" y=\"180\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"130\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"90\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"280\" sy=\"95\" sf=\"2\" sr=\"45\"/><figurepart x=\"90\" y=\"30\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"480\" sy=\"120\" sf=\"5\" sr=\"180\"/><figurepart x=\"150\" y=\"240\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"60\" sy=\"160\" sf=\"4\" sr=\"135\"/><figurepart x=\"285\" y=\"255\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-180\" sx=\"500\" sy=\"260\" sf=\"6\" sr=\"-135\"/></figure><figure name=\"38\" x=\"150\" y=\"45\" difficulty=\"1\" score=\"100\" time=\"80\" bonus=\"10\"><figurepart x=\"300\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"75\" sy=\"250\" sf=\"4\" sr=\"135\"/><figurepart x=\"60\" y=\"270\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"300\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"300\" y=\"240\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"150\" sf=\"2\" sr=\"45\"/><figurepart x=\"90\" y=\"210\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"180\" sy=\"95\" sf=\"8\" sr=\"-45\"/><figurepart x=\"210\" y=\"150\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"480\" sy=\"130\" sf=\"5\" sr=\"180\"/><figurepart x=\"120\" y=\"150\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"60\" sy=\"130\" sf=\"4\" sr=\"135\"/><figurepart x=\"180\" y=\"240\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-180\" sx=\"550\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"39\" x=\"180\" y=\"30\" difficulty=\"1\" score=\"100\" time=\"100\" bonus=\"10\"><figurepart x=\"240\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"75\" sy=\"250\" sf=\"4\" sr=\"135\"/><figurepart x=\"60\" y=\"330\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"240\" y=\"240\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"280\" sf=\"2\" sr=\"45\"/><figurepart x=\"90\" y=\"270\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"180\" sy=\"95\" sf=\"8\" sr=\"-45\"/><figurepart x=\"150\" y=\"210\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"480\" sy=\"130\" sf=\"5\" sr=\"180\"/><figurepart x=\"270\" y=\"300\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"60\" sy=\"130\" sf=\"4\" sr=\"135\"/><figurepart x=\"180\" y=\"300\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"450\" sy=\"350\" sf=\"2\" sr=\"45\"/></figure><figure name=\"40\" x=\"150\" y=\"75\" difficulty=\"1\" score=\"100\" time=\"40\" bonus=\"10\"><figurepart x=\"60\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"75\" sy=\"350\" sf=\"2\" sr=\"45\"/><figurepart x=\"210\" y=\"180\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"180\" y=\"120\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"575\" sy=\"280\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"210\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"380\" sy=\"150\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"30\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"480\" sy=\"130\" sf=\"5\" sr=\"180\"/><figurepart x=\"210\" y=\"240\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"60\" sy=\"130\" sf=\"4\" sr=\"135\"/><figurepart x=\"300\" y=\"240\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"480\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"41\" x=\"135\" y=\"90\" difficulty=\"1\" score=\"100\" time=\"30\" bonus=\"10\"><figurepart x=\"300\" y=\"180\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"75\" sy=\"350\" sf=\"2\" sr=\"45\"/><figurepart x=\"210\" y=\"180\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"60\" y=\"60\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"150\" sf=\"2\" sr=\"45\"/><figurepart x=\"210\" y=\"90\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"280\" sy=\"50\" sf=\"1\" sr=\"0\"/><figurepart x=\"30\" y=\"150\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"480\" sy=\"130\" sf=\"5\" sr=\"180\"/><figurepart x=\"270\" y=\"120\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"60\" sy=\"130\" sf=\"4\" sr=\"135\"/><figurepart x=\"120\" y=\"120\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"580\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"42\" x=\"165\" y=\"120\" difficulty=\"1\" score=\"100\" time=\"60\" bonus=\"10\"><figurepart x=\"240\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"75\" sy=\"120\" sf=\"4\" sr=\"135\"/><figurepart x=\"240\" y=\"210\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"-180\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"60\" y=\"60\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"150\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"150\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"300\" sy=\"50\" sf=\"1\" sr=\"0\"/><figurepart x=\"90\" y=\"150\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"520\" sy=\"250\" sf=\"6\" sr=\"-135\"/><figurepart x=\"210\" y=\"180\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"60\" sy=\"300\" sf=\"4\" sr=\"135\"/><figurepart x=\"180\" y=\"60\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"580\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"43\" x=\"180\" y=\"90\" difficulty=\"1\" score=\"100\" time=\"130\" bonus=\"10\"><figurepart x=\"60\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"200\" sy=\"350\" sf=\"5\" sr=\"180\"/><figurepart x=\"240\" y=\"90\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"120\" y=\"60\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"150\" sf=\"2\" sr=\"45\"/><figurepart x=\"270\" y=\"150\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"300\" sy=\"50\" sf=\"1\" sr=\"0\"/><figurepart x=\"210\" y=\"210\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"470\" sy=\"310\" sf=\"7\" sr=\"-90\"/><figurepart x=\"210\" y=\"120\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"60\" sy=\"300\" sf=\"4\" sr=\"135\"/><figurepart x=\"120\" y=\"180\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"580\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"44\" x=\"180\" y=\"90\" difficulty=\"1\" score=\"100\" time=\"30\" bonus=\"10\"><figurepart x=\"240\" y=\"180\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"70\" sy=\"200\" sf=\"7\" sr=\"-90\"/><figurepart x=\"150\" y=\"180\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"180\" y=\"240\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"575\" sy=\"150\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"90\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"300\" sy=\"50\" sf=\"1\" sr=\"0\"/><figurepart x=\"90\" y=\"210\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"520\" sy=\"250\" sf=\"6\" sr=\"-135\"/><figurepart x=\"210\" y=\"120\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"60\" sy=\"350\" sf=\"4\" sr=\"135\"/><figurepart x=\"60\" y=\"120\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"580\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"45\" x=\"195\" y=\"60\" difficulty=\"1\" score=\"100\" time=\"40\" bonus=\"10\"><figurepart x=\"60\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"75\" sy=\"120\" sf=\"4\" sr=\"135\"/><figurepart x=\"60\" y=\"270\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"120\" y=\"300\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"150\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"210\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"125\" sy=\"375\" sf=\"1\" sr=\"0\"/><figurepart x=\"150\" y=\"30\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"520\" sy=\"250\" sf=\"6\" sr=\"-135\"/><figurepart x=\"210\" y=\"240\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"60\" sy=\"300\" sf=\"4\" sr=\"135\"/><figurepart x=\"180\" y=\"120\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"580\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"46\" x=\"150\" y=\"45\" difficulty=\"1\" score=\"100\" time=\"60\" bonus=\"10\"><figurepart x=\"60\" y=\"180\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"75\" sy=\"120\" sf=\"4\" sr=\"135\"/><figurepart x=\"210\" y=\"180\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"240\" y=\"240\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"150\" sf=\"2\" sr=\"45\"/><figurepart x=\"150\" y=\"150\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"300\" sy=\"50\" sf=\"1\" sr=\"0\"/><figurepart x=\"150\" y=\"270\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"520\" sy=\"250\" sf=\"6\" sr=\"-135\"/><figurepart x=\"180\" y=\"330\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"60\" sy=\"300\" sf=\"4\" sr=\"135\"/><figurepart x=\"240\" y=\"120\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"580\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"47\" x=\"120\" y=\"120\" difficulty=\"1\" score=\"100\" time=\"80\" bonus=\"10\"><figurepart x=\"120\" y=\"60\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"75\" sy=\"120\" sf=\"4\" sr=\"135\"/><figurepart x=\"210\" y=\"60\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"180\" y=\"240\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"575\" sy=\"150\" sf=\"2\" sr=\"45\"/><figurepart x=\"330\" y=\"90\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"300\" sy=\"50\" sf=\"1\" sr=\"0\"/><figurepart x=\"270\" y=\"30\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"90\" sx=\"490\" sy=\"280\" sf=\"7\" sr=\"-90\"/><figurepart x=\"180\" y=\"30\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"60\" sy=\"300\" sf=\"4\" sr=\"135\"/><figurepart x=\"240\" y=\"180\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"580\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure><figure name=\"48\" x=\"150\" y=\"90\" difficulty=\"1\" score=\"100\" time=\"40\" bonus=\"10\"><figurepart x=\"240\" y=\"120\" type=\"0\" xscale=\"100\" yscale=\"100\" rot=\"180\" sx=\"75\" sy=\"120\" sf=\"4\" sr=\"135\"/><figurepart x=\"180\" y=\"90\" type=\"1\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"500\" sy=\"50\" sf=\"5\" sr=\"180\"/><figurepart x=\"300\" y=\"60\" type=\"2\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"575\" sy=\"150\" sf=\"2\" sr=\"45\"/><figurepart x=\"210\" y=\"30\" type=\"3\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"300\" sy=\"50\" sf=\"1\" sr=\"0\"/><figurepart x=\"90\" y=\"150\" type=\"4\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"520\" sy=\"250\" sf=\"6\" sr=\"-135\"/><figurepart x=\"150\" y=\"120\" type=\"5\" xscale=\"100\" yscale=\"100\" rot=\"-90\" sx=\"60\" sy=\"340\" sf=\"4\" sr=\"135\"/><figurepart x=\"120\" y=\"240\" type=\"6\" xscale=\"100\" yscale=\"100\" rot=\"0\" sx=\"580\" sy=\"350\" sf=\"8\" sr=\"-45\"/></figure></figures></tangram>");
_local2.load("xmlName");
_local2.ignoreWhite = true;
var parent = this;
_local2.onLoad = function (success) {
parent.ParsePuzzle(this);
};
}
function solve(count) {
_root.mActivePart = null;
var _local5 = 0;
while (_local5 < aPart.length) {
rApp.ColorMc(rApp.rDC.ContainerPart["PartTangram" + _local5].butPart, 16777215);
_local5++;
}
var _local3 = 0;
while (_local3 < aFigure[count].point.length) {
ContainerPart["PartTangram" + _local3]._x = aFigure[count].point[_local3].x + rApp.Xf;
ContainerPart["PartTangram" + _local3]._y = aFigure[count].point[_local3].y + rApp.Yf;
ContainerPart["PartTangram" + _local3].mPart._rotation = aFigure[count].point[_local3].rot;
ContainerPart["PartTangram" + _local3].butPart._rotation = aFigure[count].point[_local3].rot;
ContainerPart["PartTangram" + _local3]._xscale = aFigure[count].point[_local3].xscale;
ContainerPart["PartTangram" + _local3]._yscale = aFigure[count].point[_local3].yscale;
_local3++;
}
}
function ParsePuzzle(xTan) {
var _local5 = 0;
while (_local5 < xTan.firstChild.childNodes.length) {
var _local4 = xTan.firstChild.childNodes[_local5];
switch (_local4.nodeName) {
case "parts" :
var _local2 = 0;
while (_local2 < _local4.childNodes.length) {
aPart[_local2] = _local4.childNodes[_local2];
aPart[_local2] = {};
aPart[_local2].cx = _local4.childNodes[_local2].attributes.cx;
aPart[_local2].cy = _local4.childNodes[_local2].attributes.cy;
aPart[_local2].point = [];
var _local3 = 0;
while (_local3 < _local4.childNodes[_local2].childNodes.length) {
aPart[_local2].point[_local3] = {};
aPart[_local2].point[_local3].X = _local4.childNodes[_local2].childNodes[_local3].attributes.x;
aPart[_local2].point[_local3].Y = _local4.childNodes[_local2].childNodes[_local3].attributes.y;
_local3++;
}
_local2++;
}
break;
case "figures" :
totalTime = Number(_local4.attributes.timeTotal);
_local2 = 0;
for(;;){
if (_local2 >= _local4.childNodes.length) {
break;
}
aFigure[_local2] = _local4.childNodes[_local2];
aFigure[_local2] = {};
aFigure[_local2].difficulty = _local4.childNodes[_local2].attributes.difficulty;
if (rApp.nGameDifficulty == aFigure[_local2].difficulty) {
aDifficulty.push(_local2);
}
aFigure[_local2].name = _local4.childNodes[_local2].attributes.name;
aFigure[_local2].x = Number(_local4.childNodes[_local2].attributes.x);
aFigure[_local2].y = Number(_local4.childNodes[_local2].attributes.y);
aFigure[_local2].score = Number(_local4.childNodes[_local2].attributes.score);
aFigure[_local2].time = Number(_local4.childNodes[_local2].attributes.time);
aFigure[_local2].bonus = Number(_local4.childNodes[_local2].attributes.bonus);
aFigure[_local2].point = [];
var _local3 = 0;
while (_local3 < _local4.childNodes[_local2].childNodes.length) {
aFigure[_local2].point[_local3] = {};
aFigure[_local2].point[_local3].x = parseInt(_local4.childNodes[_local2].childNodes[_local3].attributes.x);
aFigure[_local2].point[_local3].y = parseInt(_local4.childNodes[_local2].childNodes[_local3].attributes.y);
aFigure[_local2].point[_local3].rot = parseInt(_local4.childNodes[_local2].childNodes[_local3].attributes.rot);
aFigure[_local2].point[_local3].type = parseInt(_local4.childNodes[_local2].childNodes[_local3].attributes.type);
aFigure[_local2].point[_local3].xscale = parseInt(_local4.childNodes[_local2].childNodes[_local3].attributes.xscale);
aFigure[_local2].point[_local3].yscale = parseInt(_local4.childNodes[_local2].childNodes[_local3].attributes.yscale);
aFigure[_local2].point[_local3].sx = parseInt(_local4.childNodes[_local2].childNodes[_local3].attributes.sx);
aFigure[_local2].point[_local3].sy = parseInt(_local4.childNodes[_local2].childNodes[_local3].attributes.sy);
aFigure[_local2].point[_local3].sr = parseInt(_local4.childNodes[_local2].childNodes[_local3].attributes.sr);
aFigure[_local2].point[_local3].sf = parseInt(_local4.childNodes[_local2].childNodes[_local3].attributes.sf);
_local3++;
}
_local2++;
};
}
_local5++;
}
rApp.nLevelTime = totalTime;
createParts();
createFigures(rApp.nLevel);
rApp.rDC.mcVisualFigure._visible = true;
new mx.transitions.Tween(rApp.rDC.ContainerPart, "_alpha", mx.transitions.easing.None.easeNone, 0, 100, 0.5, true);
new mx.transitions.Tween(rApp.rDC.mcVisualFigure, "_alpha", mx.transitions.easing.None.easeNone, 0, 100, 0.5, true);
}
function arrangeFigures(nFigure) {
rApp.Xf = Math.round(aFigure[nFigure].x);
rApp.Yf = Math.round(aFigure[nFigure].y);
VisualFigure._x = rApp.Xf;
VisualFigure._y = rApp.Yf;
translateMatrix = new flash.geom.Matrix();
translateMatrix.translate(-1 * rApp.Xf, -1 * rApp.Yf);
}
function createFigures(nFigure) {
arrangeFigures(nFigure);
rApp.rDC.tfNameFigure.text = aFigure[nFigure].name;
var _local5 = 0;
while (_local5 < aPart.length) {
var _local2 = ContainerFigure.createEmptyMovieClip("part" + _local5, 100 + _local5);
var _local8 = aPart[_local5].point[0].X;
var _local7 = aPart[_local5].point[0].Y;
_local2.lineStyle(0.25, 16777215, 0);
_local2.beginFill(16777215, 30);
_local2.centerX = aPart[_local5].cx - aPart[_local5].point[0].X;
_local2.centerY = aPart[_local5].cy - aPart[_local5].point[0].Y;
_local2.moveTo(-_local2.centerX, -_local2.centerY);
var _local4 = 1;
while (_local4 < aPart[_local5].point.length) {
_local2.lineTo((aPart[_local5].point[_local4].X - aPart[_local5].point[0].X) - _local2.centerX, (aPart[_local5].point[_local4].Y - aPart[_local5].point[0].Y) - _local2.centerY);
_local4++;
}
_local2.endFill();
_local2._x = aFigure[nFigure].point[_local5].x;
_local2._y = aFigure[nFigure].point[_local5].y;
_local2._rotation = aFigure[nFigure].point[_local5].rot;
_local2._xscale = aFigure[nFigure].point[_local5].xscale;
_local2._yscale = aFigure[nFigure].point[_local5].yscale;
_local5++;
}
rApp.ToBitmap();
_local5 = 0;
while (_local5 < aPart.length) {
var _local2 = VisualFigure.createEmptyMovieClip("part" + _local5, 100 + _local5);
var _local8 = aPart[_local5].point[0].X;
var _local7 = aPart[_local5].point[0].Y;
_local2.lineStyle(0.25, 16777215, 0);
_local2.beginFill(16777215, 100);
_local2.centerX = aPart[_local5].cx - aPart[_local5].point[0].X;
_local2.centerY = aPart[_local5].cy - aPart[_local5].point[0].Y;
_local2.moveTo(-_local2.centerX, -_local2.centerY);
var _local4 = 1;
while (_local4 < aPart[_local5].point.length) {
_local2.lineTo((aPart[_local5].point[_local4].X - aPart[_local5].point[0].X) - _local2.centerX, (aPart[_local5].point[_local4].Y - aPart[_local5].point[0].Y) - _local2.centerY);
_local4++;
}
_local2.endFill();
_local2._x = aFigure[nFigure].point[_local5].x;
_local2._y = aFigure[nFigure].point[_local5].y;
_local2._rotation = aFigure[nFigure].point[_local5].rot;
_local2._xscale = aFigure[nFigure].point[_local5].xscale;
_local2._yscale = aFigure[nFigure].point[_local5].yscale;
_local5++;
}
VisualFigure._visible = true;
_local5 = 0;
while (_local5 < aPart.length) {
var _local6 = ContainerPart["PartTangram" + _local5];
_local6.sx = aFigure[nFigure].point[_local5].sx;
_local6.sy = aFigure[nFigure].point[_local5].sy;
_local6.sr = aFigure[nFigure].point[_local5].sr;
_local6.sf = aFigure[nFigure].point[_local5].sf;
_local6.placePartsOnGrass();
_local5++;
}
}
function createParts(Void) {
trace("createParts::" + aPart.length);
var _local2 = 0;
while (_local2 < aPart.length) {
var _local3 = ContainerPart.attachMovie("PartTangram", "PartTangram" + _local2, 100 + _local2, {_x:300, _y:_local2 * 50});
var _local4 = ContainerPartCopyForCheckSolution.createEmptyMovieClip("PartTangram" + _local2, 100 + _local2);
_local3.mPart = _local3.createEmptyMovieClip("part", 100);
if (_local2 == 0) {
_local3.bitmapFigure = _local3.attachMovie("Part0", "Partnew", 190);
}
if (_local2 == 6) {
_local3.bitmapFigure = _local3.attachMovie("Part6", "Partnew", 190);
}
if (_local2 == 3) {
_local3.bitmapFigure = _local3.attachMovie("Part3", "Partnew", 190);
}
if (_local2 == 1) {
_local3.bitmapFigure = _local3.attachMovie("Part1", "Partnew", 190);
}
if (_local2 == 5) {
_local3.bitmapFigure = _local3.attachMovie("Part5", "Partnew", 190);
}
if (_local2 == 2) {
_local3.bitmapFigure = _local3.attachMovie("Part2", "Partnew", 190);
}
if (_local2 == 4) {
_local3.bitmapFigure = _local3.attachMovie("Part4", "Partnew", 190);
}
_local3.bitmapFigure._xscale = _local3.bitmapFigure._yscale;
_local3.mPart.bRoll = false;
_local3.mPart.lineStyle(0.25, 16711680, 0);
_local3.mPart.beginFill(0, 40);
_local3.mPart.centerX = aPart[_local2].cx - aPart[_local2].point[0].X;
_local3.mPart.centerY = aPart[_local2].cy - aPart[_local2].point[0].Y;
_local3.mPart.moveTo(-_local3.mPart.centerX, -_local3.mPart.centerY);
var _local5 = 1;
while (_local5 < aPart[_local2].point.length) {
var _local6 = (aPart[_local2].point[_local5].X - aPart[_local2].point[0].X) - _local3.mPart.centerX;
var _local7 = (aPart[_local2].point[_local5].Y - aPart[_local2].point[0].Y) - _local3.mPart.centerY;
_local3.mPart.lineTo(_local6, _local7);
_local5++;
}
_local3.mPart.endFill();
_local4.lineStyle(0.25, 16711680, 0);
_local4.beginFill(0, 40);
_local4.centerX = aPart[_local2].cx - aPart[_local2].point[0].X;
_local4.centerY = aPart[_local2].cy - aPart[_local2].point[0].Y;
_local4.moveTo(-_local4.centerX, -_local4.centerY);
_local5 = 1;
while (_local5 < aPart[_local2].point.length) {
var _local6 = (aPart[_local2].point[_local5].X - aPart[_local2].point[0].X) - _local4.centerX;
var _local7 = (aPart[_local2].point[_local5].Y - aPart[_local2].point[0].Y) - _local4.centerY;
_local4.lineTo(_local6, _local7);
_local5++;
}
_local4.endFill();
_local3.setTypeRotation(_local2, 0);
_local2++;
}
}
function checkSolution(Void) {
var _local4 = getTimer();
mcParts.removeMovieClip();
if ((Math.floor(ContainerPartCopyForCheckSolution._width) != Math.floor(rApp.nFWidth)) || (Math.floor(ContainerPartCopyForCheckSolution._height) != Math.floor(rApp.nFHeight))) {
return(false);
}
rApp.BDParts = new flash.display.BitmapData(rApp.nFWidth, rApp.nFHeight, false, 13421772);
mcParts = rApp.rDC.createEmptyMovieClip("mc2", 700);
mcParts._x = rApp.Xf;
mcParts._y = rApp.Yf;
mcParts.attachBitmap(rApp.BDParts, 100);
rApp.BDParts.draw(rApp.rDC.ContainerPartCopyForCheckSolution, translateMatrix);
var _local5 = 0;
var _local3 = 0;
while (_local3 < rApp.nFWidth) {
var _local2 = 0;
while (_local2 < rApp.nFHeight) {
if ((rApp.BDFigure.getPixel(_local3, _local2) != 13421772) && (rApp.BDParts.getPixel(_local3, _local2) == 13421772)) {
rApp.BDParts.dispose();
trace("time exucate:: " + (getTimer() - _local4));
return(false);
}
_local2++;
}
_local3++;
}
rApp.BDParts.dispose();
new mx.transitions.Tween(rApp.rDC.ContainerPart, "_alpha", mx.transitions.easing.None.easeNone, 100, 0, 0.5, true);
new mx.transitions.Tween(rApp.rDC.mcVisualFigure, "_alpha", mx.transitions.easing.None.easeNone, 100, 0, 1, true);
trace("time exucate:: " + (getTimer() - _local4));
VisualFigure._visible = false;
return(true);
}
function checkSolution1(Void) {
var _local4 = getTimer();
mcParts.removeMovieClip();
var _local3 = 0;
while (_local3 < aPart.length) {
ContainerPart["PartTangram" + _local3].Partnew._visible = false;
_local3++;
}
trace("posle ContainerPart._width=" + ContainerPart._width);
rApp.BDParts = new flash.display.BitmapData(rApp.nFWidth, rApp.nFHeight, false, 13421772);
mcParts = rApp.rDC.createEmptyMovieClip("mc2", 700);
mcParts._x = rApp.Xf;
mcParts._y = rApp.Yf;
mcParts.attachBitmap(rApp.BDParts, 100);
rApp.BDParts.draw(rApp.rDC.ContainerPart, translateMatrix);
var _local5 = 0;
_local3 = 0;
while (_local3 < rApp.nFWidth) {
var _local2 = 0;
while (_local2 < rApp.nFHeight) {
if ((rApp.BDFigure.getPixel(_local3, _local2) != 13421772) && (rApp.BDParts.getPixel(_local3, _local2) == 13421772)) {
_local3 = 0;
while (_local3 < aPart.length) {
ContainerPart["PartTangram" + _local3].Partnew._visible = true;
_local3++;
}
rApp.BDParts.dispose();
trace("time exucate:: " + (getTimer() - _local4));
return(false);
}
_local2++;
}
_local3++;
}
_local3 = 0;
while (_local3 < aPart.length) {
ContainerPart["PartTangram" + _local3].Partnew._visible = true;
_local3++;
}
rApp.BDParts.dispose();
new mx.transitions.Tween(rApp.rDC.ContainerPart, "_alpha", mx.transitions.easing.None.easeNone, 100, 0, 0.5, true);
new mx.transitions.Tween(rApp.rDC.mcVisualFigure, "_alpha", mx.transitions.easing.None.easeNone, 100, 0, 1, true);
trace("time exucate:: " + (getTimer() - _local4));
VisualFigure._visible = false;
return(true);
}
static var sizegrid = 30;
static var sizegrid4 = sizegrid / 4;
}
Symbol 560 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 561 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 562 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 563 MovieClip [__Packages.mx.transitions.easing.None] Frame 0
class mx.transitions.easing.None
{
function None () {
}
static function easeNone(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeIn(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static var version = "1.1.0.52";
}
Symbol 564 MovieClip [__Packages.TCSoundManager] Frame 0
class TCSoundManager
{
var rApp, soundController, sndGeneralSound, Lifting_Stone_Shape_1, Lifting_Stone_Shape_2, Drop_Heavy_Stone_1, Drop_Heavy_Stone_2, Rotating_Stone_Shape_1, Rotating_Stone_Shape_2, rollOverSnd, clickSnd, loseSnd, victorySnd, backgroundmusic, bMusicState, bSoundState;
function TCSoundManager (__app) {
rApp = __app;
soundController = rApp.rDC.soundController;
init();
}
function init(Void) {
trace("CSASound::init");
soundController.createEmptyMovieClip("generalSound", 100);
sndGeneralSound = new Sound(soundController.generalSound);
var _local2;
_local2 = soundController.generalSound.createEmptyMovieClip("sounds1", 100);
Lifting_Stone_Shape_1 = new Sound(_local2);
Lifting_Stone_Shape_1.attachSound("Lifting_Stone_Shape_1");
_local2 = soundController.generalSound.createEmptyMovieClip("sounds2", 200);
Lifting_Stone_Shape_2 = new Sound(_local2);
Lifting_Stone_Shape_2.attachSound("Lifting_Stone_Shape_2");
_local2 = soundController.generalSound.createEmptyMovieClip("sounds4", 400);
Drop_Heavy_Stone_1 = new Sound(_local2);
Drop_Heavy_Stone_1.attachSound("Drop_Heavy_Stone_1");
_local2 = soundController.generalSound.createEmptyMovieClip("sounds5", 500);
Drop_Heavy_Stone_2 = new Sound(_local2);
Drop_Heavy_Stone_2.attachSound("Drop_Heavy_Stone_2");
_local2 = soundController.generalSound.createEmptyMovieClip("sounds7", 700);
Rotating_Stone_Shape_1 = new Sound(_local2);
Rotating_Stone_Shape_1.attachSound("Rotating_Stone_Shape_1");
_local2 = soundController.generalSound.createEmptyMovieClip("sounds8", 800);
Rotating_Stone_Shape_2 = new Sound(_local2);
Rotating_Stone_Shape_2.attachSound("Rotating_Stone_Shape_2");
_local2 = soundController.generalSound.createEmptyMovieClip("sounds10", 1000);
rollOverSnd = new Sound(_local2);
rollOverSnd.attachSound("rollOverSnd");
_local2 = soundController.generalSound.createEmptyMovieClip("sounds11", 1100);
clickSnd = new Sound(_local2);
clickSnd.attachSound("clickSnd");
_local2 = soundController.generalSound.createEmptyMovieClip("sounds12", 1200);
loseSnd = new Sound(_local2);
loseSnd.attachSound("loseSnd");
_local2 = soundController.generalSound.createEmptyMovieClip("sounds13", 1300);
victorySnd = new Sound(_local2);
victorySnd.attachSound("victorySnd");
soundController.createEmptyMovieClip("BGMusic", 2200);
backgroundmusic = new Sound(soundController.BGMusic);
backgroundmusic.attachSound("StnHng_Loop");
}
function playRollOverSnd(Void) {
rollOverSnd.start();
}
function playClickSnd(Void) {
clickSnd.start();
}
function turnOnOffMusic(bFlag) {
if (!bFlag) {
bMusicState = false;
backgroundmusic.setVolume(0);
} else {
bMusicState = true;
backgroundmusic.setVolume(100);
}
rApp.saveMusicStateOnUserDisk(Number(bMusicState));
}
function turnOnOffSound(bFlag) {
if (!bFlag) {
bSoundState = false;
sndGeneralSound.setVolume(0);
} else {
bSoundState = true;
sndGeneralSound.setVolume(100);
}
rApp.saveSoundStateOnUserDisk(Number(bSoundState));
}
function playRandom(soundName) {
var _local2 = (soundName + "_") + (random(2) + 1);
this[_local2].start();
}
function getMusicState(Void) {
return(bMusicState);
}
function getSoundState(Void) {
return(bSoundState);
}
}
Symbol 565 MovieClip [__Packages.utils.delegate.DelegateX] Frame 0
class utils.delegate.DelegateX
{
function DelegateX () {
}
static function create(obj, func, params) {
var _local2 = function () {
arguments.push(arguments.callee.args);
return(func.apply(arguments.callee.target, arguments));
};
_local2.args = params;
_local2.target = obj;
_local2.func = func;
return(_local2);
}
}
Symbol 42 MovieClip [mcGameOverScreen] Frame 1
stop();
btnBack.useHandCursor = false;
this.gnost.useHandCursor = false;
trace(this.gnost);
Symbol 42 MovieClip [mcGameOverScreen] Frame 2
function playAgain() {
_parent.playAgain();
}
btnBack.useHandCursor = false;
stop();
trace("endURL: " + _parent.endURL);
_parent.g_numScore = (g_numScore = _parent.MyApp.nScore);
endContainer.g_numScore = g_numScore;
if ((_parent.crypto == 2) || (_parent.crypto == 0)) {
_parent.endContainerHolder = endContainer;
_parent.xmlGameEnd.load((_parent.gameEndSubmitUrl + "?params=") + _parent.TEAEncrypt((((("freePlayID=" + _parent.freeplayid) + "&score=") + endContainer.g_numScore) + "&timeStamp=") + _parent.timeStamp, _parent.tKey));
} else {
_parent.endContainerHolder = endContainer;
_parent.t_fLoadGameEnd();
}
_parent.playAgain = function () {
trace(endContainer);
trace(endContainer);
_parent.MyApp.restartGame();
};
endContainer.playAgain = function () {
playAgain();
};
Symbol 55 MovieClip Frame 1
stop();
Symbol 67 Button
on (release) {
_parent._parent.MyApp.rSoundManager.playClickSnd();
nextFrame();
}
on (rollOver) {
_parent._parent.MyApp.rSoundManager.playRollOverSnd();
}
Symbol 71 Button
on (release) {
_parent._parent.MyApp.rSoundManager.playClickSnd();
_parent.gotoAndPlay("close");
}
on (rollOver) {
_parent._parent.MyApp.rSoundManager.playRollOverSnd();
}
Symbol 74 Button
on (release) {
_parent._parent._parent.MyApp.rSoundManager.playClickSnd();
nextFrame();
}
on (rollOver) {
_parent._parent._parent.MyApp.rSoundManager.playRollOverSnd();
}
Symbol 75 Button
on (release) {
_parent._parent._parent.MyApp.rSoundManager.playClickSnd();
prevFrame();
}
on (rollOver) {
_parent._parent._parent.MyApp.rSoundManager.playRollOverSnd();
}
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 2
stop();
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 2
stop();
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 2
stop();
Symbol 89 MovieClip Frame 3
stop();
Symbol 93 Button
on (release) {
_parent._parent.MyApp.rSoundManager.playClickSnd();
prevFrame();
}
on (rollOver) {
_parent._parent.MyApp.rSoundManager.playRollOverSnd();
}
Symbol 233 MovieClip Frame 120
_parent.bonus.gotoAndPlay(2);
Symbol 234 Button
on (release) {
_parent._parent.MyApp.rSoundManager.playClickSnd();
prevFrame();
}
on (rollOver) {
_parent._parent.MyApp.rSoundManager.playRollOverSnd();
}
Symbol 236 Button
on (release) {
_parent._parent.MyApp.rSoundManager.playClickSnd();
_parent.gotoAndPlay("close");
}
on (rollOver) {
_parent._parent.MyApp.rSoundManager.playRollOverSnd();
}
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 2
stop();
Symbol 237 MovieClip Frame 3
stop();
Symbol 237 MovieClip Frame 4
stop();
Symbol 238 MovieClip [mcHelpScreen] Frame 2
btnBack.useHandCursor = false;
Symbol 238 MovieClip [mcHelpScreen] Frame 23
stop();
Symbol 238 MovieClip [mcHelpScreen] Frame 30
this._parent.MyApp.showHelp(false, mcHelp.helpCheckBox._currentframe - 1);
Symbol 257 MovieClip [Part0] Frame 1
stop();
Symbol 257 MovieClip [Part0] Frame 2
stop();
Symbol 257 MovieClip [Part0] Frame 3
stop();
Symbol 257 MovieClip [Part0] Frame 4
stop();
Symbol 257 MovieClip [Part0] Frame 5
stop();
Symbol 257 MovieClip [Part0] Frame 6
stop();
Symbol 257 MovieClip [Part0] Frame 7
stop();
Symbol 257 MovieClip [Part0] Frame 8
stop();
Symbol 275 MovieClip [Part1] Frame 1
stop();
Symbol 275 MovieClip [Part1] Frame 2
stop();
Symbol 275 MovieClip [Part1] Frame 3
stop();
Symbol 275 MovieClip [Part1] Frame 4
stop();
Symbol 275 MovieClip [Part1] Frame 5
stop();
Symbol 275 MovieClip [Part1] Frame 6
stop();
Symbol 275 MovieClip [Part1] Frame 7
stop();
Symbol 275 MovieClip [Part1] Frame 8
stop();
Symbol 291 MovieClip [Part2] Frame 1
stop();
Symbol 291 MovieClip [Part2] Frame 2
stop();
Symbol 291 MovieClip [Part2] Frame 3
stop();
Symbol 291 MovieClip [Part2] Frame 4
stop();
Symbol 291 MovieClip [Part2] Frame 5
stop();
Symbol 291 MovieClip [Part2] Frame 6
stop();
Symbol 291 MovieClip [Part2] Frame 7
stop();
Symbol 291 MovieClip [Part2] Frame 8
stop();
Symbol 310 MovieClip [Part3] Frame 1
stop();
Symbol 310 MovieClip [Part3] Frame 2
stop();
Symbol 310 MovieClip [Part3] Frame 3
stop();
Symbol 310 MovieClip [Part3] Frame 4
stop();
Symbol 310 MovieClip [Part3] Frame 5
stop();
Symbol 310 MovieClip [Part3] Frame 6
stop();
Symbol 310 MovieClip [Part3] Frame 7
stop();
Symbol 310 MovieClip [Part3] Frame 8
stop();
Symbol 328 MovieClip [Part4] Frame 1
stop();
Symbol 328 MovieClip [Part4] Frame 2
stop();
Symbol 328 MovieClip [Part4] Frame 3
stop();
Symbol 328 MovieClip [Part4] Frame 4
stop();
Symbol 328 MovieClip [Part4] Frame 5
stop();
Symbol 328 MovieClip [Part4] Frame 6
stop();
Symbol 328 MovieClip [Part4] Frame 7
stop();
Symbol 328 MovieClip [Part4] Frame 8
stop();
Symbol 346 MovieClip [Part5] Frame 1
stop();
Symbol 346 MovieClip [Part5] Frame 2
stop();
Symbol 346 MovieClip [Part5] Frame 3
stop();
Symbol 346 MovieClip [Part5] Frame 4
stop();
Symbol 346 MovieClip [Part5] Frame 5
stop();
Symbol 346 MovieClip [Part5] Frame 6
stop();
Symbol 346 MovieClip [Part5] Frame 7
stop();
Symbol 346 MovieClip [Part5] Frame 8
stop();
Symbol 364 MovieClip [Part6] Frame 1
stop();
Symbol 364 MovieClip [Part6] Frame 2
stop();
Symbol 364 MovieClip [Part6] Frame 3
stop();
Symbol 364 MovieClip [Part6] Frame 4
stop();
Symbol 364 MovieClip [Part6] Frame 5
stop();
Symbol 364 MovieClip [Part6] Frame 6
stop();
Symbol 364 MovieClip [Part6] Frame 7
stop();
Symbol 364 MovieClip [Part6] Frame 8
stop();
Symbol 373 MovieClip Frame 21
stop();
Symbol 381 MovieClip Frame 13
stop();
Symbol 400 MovieClip [Part7] Frame 1
stop();
Symbol 400 MovieClip [Part7] Frame 2
stop();
Symbol 400 MovieClip [Part7] Frame 3
stop();
Symbol 400 MovieClip [Part7] Frame 4
stop();
Symbol 400 MovieClip [Part7] Frame 5
stop();
Symbol 400 MovieClip [Part7] Frame 6
stop();
Symbol 400 MovieClip [Part7] Frame 7
stop();
Symbol 400 MovieClip [Part7] Frame 8
stop();
Symbol 409 MovieClip Frame 21
stop();
Symbol 417 MovieClip Frame 13
stop();
Symbol 440 MovieClip [Part8] Frame 1
stop();
Symbol 440 MovieClip [Part8] Frame 2
stop();
Symbol 440 MovieClip [Part8] Frame 3
stop();
Symbol 440 MovieClip [Part8] Frame 4
stop();
Symbol 440 MovieClip [Part8] Frame 5
stop();
Symbol 440 MovieClip [Part8] Frame 6
stop();
Symbol 440 MovieClip [Part8] Frame 7
stop();
Symbol 440 MovieClip [Part8] Frame 8
stop();
Symbol 449 MovieClip Frame 21
stop();
Symbol 457 MovieClip Frame 13
stop();
Symbol 473 MovieClip [Part9] Frame 1
stop();
Symbol 473 MovieClip [Part9] Frame 2
stop();
Symbol 473 MovieClip [Part9] Frame 3
stop();
Symbol 473 MovieClip [Part9] Frame 4
stop();
Symbol 473 MovieClip [Part9] Frame 5
stop();
Symbol 473 MovieClip [Part9] Frame 6
stop();
Symbol 473 MovieClip [Part9] Frame 7
stop();
Symbol 473 MovieClip [Part9] Frame 8
stop();
Symbol 477 MovieClip Frame 1
this._xscale = 118;
this._yscale = 118;
this._x = this._x - 130;
this._y = this._y - 85;
Symbol 481 MovieClip Frame 6
stop();
Symbol 481 MovieClip Frame 11
_parent.gotoAndPlay(2);
Symbol 487 MovieClip Frame 1
stop();
Symbol 487 MovieClip Frame 2
stop();
Symbol 489 MovieClip Frame 1
stop();
_parent.MyApp.rSoundManager.playClickSnd();
_parent.nextFrame();
snap1.gotoAndPlay(81);
snap2.gotoAndPlay(81);
btnStart.btn.onRelease = null;
btnStart.btn.onRollOver = null;
btnStart.gotoAndStop(2);
Symbol 489 MovieClip Frame 3
_parent.gotoAndStop("main");
Symbol 496 MovieClip Frame 1
twinkle_2.gotoAndPlay(25);
twinkle_3.gotoAndPlay(75);
twinkle_4.gotoAndPlay(125);
twinkle_5.gotoAndPlay(175);
twinkle_6.gotoAndPlay(100);
Symbol 499 MovieClip Frame 1
stop();
var nBonusValue;
Symbol 499 MovieClip Frame 40
_root.MyApp.setScore(_root.MyApp.nScore);
_parent.score_glow.gotoAndPlay(2);
Symbol 505 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 47
if (_root.MyApp.rWorkArea.aFigure.length <= (_root.MyApp.nLevel + 1)) {
_root.MyApp.gameOver(1);
} else {
_root.MyApp.showLevelCompleteScreen();
}
Symbol 511 MovieClip Frame 1
trace(timer);
Symbol 526 Button
on (release) {
_parent.MyApp.rSoundManager.playClickSnd();
_parent.mcCursor.gotoAndStop("standard");
nextFrame();
}
on (rollOver) {
_parent.MyApp.rSoundManager.playRollOverSnd();
}
Symbol 527 Button
on (release) {
_parent.MyApp.rSoundManager.playClickSnd();
nextFrame();
}
on (rollOver) {
_parent.MyApp.rSoundManager.playRollOverSnd();
}
Symbol 530 Button
on (release) {
_parent.changeState("Sound", false);
nextFrame();
}
on (rollOver) {
_parent._parent.MyApp.rSoundManager.playRollOverSnd();
}
Symbol 533 Button
on (release) {
_parent.changeState("Sound", true);
prevFrame();
}
on (rollOver) {
_parent._parent.MyApp.rSoundManager.playRollOverSnd();
}
Symbol 534 MovieClip Frame 1
stop();
Symbol 534 MovieClip Frame 2
stop();
Symbol 536 Button
on (release) {
_parent.changeState("Music", false);
nextFrame();
}
on (rollOver) {
_parent._parent.MyApp.rSoundManager.playRollOverSnd();
}
Symbol 539 Button
on (release) {
_parent.changeState("Music", true);
prevFrame();
}
on (rollOver) {
_parent._parent.MyApp.rSoundManager.playRollOverSnd();
}
Symbol 540 MovieClip Frame 1
stop();
Symbol 540 MovieClip Frame 2
stop();
Symbol 542 MovieClip Frame 10
stop();
Symbol 544 Button
on (release) {
gotoAndStop (1);
}
on (rollOver) {
_parent._parent.MyApp.rSoundManager.playRollOverSnd();
}
Symbol 545 MovieClip Frame 1
stop();
Symbol 545 MovieClip Frame 2
function changeState(ref, state) {
this._parent.MyApp.rSoundManager.playClickSnd();
this._parent.MyApp.rSoundManager["turnOnOff" + ref](state);
}
stop();
if (!this._parent.MyApp.rSoundManager.getMusicState()) {
mcMusic.gotoAndStop(2);
}
if (!this._parent.MyApp.rSoundManager.getSoundState()) {
mcSnd.gotoAndStop(2);
}