STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/94820032?noj=FRM94820032-22DC" width="1" height="1"></div>

farm-roads.swf

This is the info page for
Flash #127010

(Click the ID number above for more basic data on this flash file.)


Text
Time:

HOME

Click here to get some tips for playing this game.

START

Instructions

Connect the farming community by
linking all the isolated roads in
order to join the paddocks,
plantations, windmills, farm houses
and barns. This will ensure that
farming life is far more productive
and efficient!
Start the game at the flashing red
signal. Rotate the roads by clicking
on the little red blocks which will
appear if you mouse-over the
corners of the roads. Navigate your
way through the farming
community by clicking on the
arrows on the left or right hand
side of the game to go either East
or West.

enter name

score

High Scores

Save

play again

Name        Score

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.

Quit

Quit

This game won't work
with landscape mode.
Please switch your
phone to portrait mode!

ActionScript [AS1/AS2]

Frame 2
function securescore(oldscore, ssval, ssmode) { ssmodified = false; if ((securestartscore + (securetotal / ssfactor)) != oldscore) { ssmodified = true; } if (ssmode == 1) { securetotal = securetotal + (ssval * ssfactor); } if (ssmode == 2) { securetotal = securetotal - (ssval * ssfactor); } if (ssmode == 3) { securetotal = securetotal + ((ssval * ssfactor) - oldscore); } if (ssmode == 4) { securetotal = ssval * ssfactor; } securecount = securecount + 1; if (oldscore != (securescorecheck / ssfactor)) { ssmodified = true; } if (ssmode == 1) { securescorecheck = securescorecheck + (ssval * ssfactor); } if (ssmode == 2) { securescorecheck = securescorecheck - (ssval * ssfactor); } if (ssmode == 3) { securescorecheck = ssval * ssfactor; } if (ssmode == 4) { securescorecheck = ssval * ssfactor; } if (ssmodified == true) { securescorecheck = 0; } securelog.push(securescorecheck / ssfactor); return(securescorecheck / ssfactor); } _global.ROOT = this; score = 0; securestartscore = 0; securescorecheck = 0; securetotal = 0; securecount = 0; ssfactor = (random(10) + 2) * -1; securelog = new Array(); function callBack(transactionID, eventID, outParam) { if (outParam.ErrorCode == 0) { var _local3 = outParam.ReturnValue; var _local2 = _local3.DeviceOrientation; if (_local2 == "DisplayUp") { _root.rotate_msg._visible = false; } else if (_local2 == "DisplayRightUp") { _root.rotate_msg._visible = true; } } else { var _local5 = outParam.ErrorCode; } } com.novelgames.flashgames.commonAS2.MainDevelopment.initialize(this); FSCommand2("FullScreen", true); var score; var myname = ""; var so = new sharedObjClass(); rotate_msg._visible = false; var sensors = (new com.nokia.lib.Service("Service.Sensor", "ISensor")); var inParam = {SearchCriterion:"Orientation"}; var outParams = sensors.FindSensorChannel(inParam); var channelInfo = outParams.ReturnValue; var channelId = channelInfo[0].ChannelId; var contextType = channelInfo[0].ContextType; var quantity = channelInfo[0].Quantity; var channelType = channelInfo[0].ChannelType; var location = channelInfo[0].Location; var vendorId = channelInfo[0].VendorId; var dataItemSize = channelInfo[0].DataItemSize; var channelDataTypeId = channelInfo[0].ChannelDataTypeId; var channelInfo = {ChannelId:channelId, ContextType:contextType, Quantity:quantity, ChannelType:channelType, Location:location, VendorId:vendorId, DataItemSize:dataItemSize, ChannelDataTypeId:channelDataTypeId}; var inParams = {ListeningType:"ChannelData", ChannelInfoMap:channelInfo}; sensors.RegisterForNotification(inParams, callBack); stop(); _focusrect = false; status = FSCommand2("DisableKeypadCompatibilityMode"); FSCommand2("FullScreen", true); FSCommand2("SetSoftKeys", "Left", "Right"); stop();
Symbol 6 MovieClip [empty] Frame 1
#initclip 49 Object.registerClass("empty", com.novelgames.flashgames.commonAS2.NewMovieClip); #endinitclip
Symbol 19 MovieClip [InstructionsButton] Frame 1
#initclip 36 Object.registerClass("InstructionsButton", com.novelgames.flashgames.commonAS2.InstructionsButton); #endinitclip
Symbol 24 Button
on (release) { _root.gotoAndPlay("start"); }
Symbol 27 MovieClip [GameOverDialog] Frame 1
#initclip 37 Object.registerClass("GameOverDialog", com.novelgames.flashgames.treeAS2.GameOverDialog); #endinitclip
Symbol 28 MovieClip [Game] Frame 1
#initclip 38 Object.registerClass("Game", com.novelgames.flashgames.treeAS2.Game); #endinitclip caurina.transitions.Tweener.addTween(blocksHolder, {_x:0, time:0.5, delay:0.1, transition:"easeOutBack"}); scrollRight.onPress = function () { if (blocksHolder._x == 0) { caurina.transitions.Tweener.addTween(blocksHolder, {_x:-200, time:1.5, delay:0.1, transition:"easeOutBack"}); trace("scrollRight pressed || x = " + blocksHolder._x); } else if (blocksHolder._x == -200) { caurina.transitions.Tweener.addTween(blocksHolder, {_x:-400, time:1.5, delay:0.1, transition:"easeOutBack"}); trace("scrollRight pressed || x = " + blocksHolder._x); } else if (blocksHolder._x == -400) { trace("scrollRight pressed"); caurina.transitions.Tweener.addTween(blocksHolder, {_x:-600, time:1.5, delay:0.1, transition:"easeOutBack"}); } else if (blocksHolder._x == -600) { trace("scrollRight pressed"); caurina.transitions.Tweener.addTween(blocksHolder, {_x:-800, time:1.5, delay:0.1, transition:"easeOutBack"}); } else if (blocksHolder._x == -800) { trace("scrollRight pressed"); caurina.transitions.Tweener.addTween(blocksHolder, {_x:-1000, time:1.5, delay:0.1, transition:"easeOutBack"}); } else if (blocksHolder._x == -1000) { trace("scrollRight pressed"); caurina.transitions.Tweener.addTween(blocksHolder, {_x:-1200, time:1.5, delay:0.1, transition:"easeOutBack"}); } }; scrollLeft.onPress = function () { if (blocksHolder._x == -1200) { caurina.transitions.Tweener.addTween(blocksHolder, {_x:-1000, time:1.5, delay:0.1, transition:"easeOutBack"}); trace("scrollRight pressed || x = " + blocksHolder._x); } else if (blocksHolder._x == -1000) { caurina.transitions.Tweener.addTween(blocksHolder, {_x:-800, time:1.5, delay:0.1, transition:"easeOutBack"}); trace("scrollRight pressed || x = " + blocksHolder._x); } else if (blocksHolder._x == -800) { trace("scrollRight pressed"); caurina.transitions.Tweener.addTween(blocksHolder, {_x:-600, time:1.5, delay:0.1, transition:"easeOutBack"}); } else if (blocksHolder._x == -600) { trace("scrollRight pressed"); caurina.transitions.Tweener.addTween(blocksHolder, {_x:-400, time:1.5, delay:0.1, transition:"easeOutBack"}); } else if (blocksHolder._x == -400) { trace("scrollRight pressed"); caurina.transitions.Tweener.addTween(blocksHolder, {_x:-200, time:1.5, delay:0.1, transition:"easeOutBack"}); } else if (blocksHolder._x == -200) { trace("scrollRight pressed"); caurina.transitions.Tweener.addTween(blocksHolder, {_x:0, time:1.5, delay:0.1, transition:"easeOutBack"}); } };
Symbol 32 MovieClip [MuteButton] Frame 1
#initclip 39 Object.registerClass("MuteButton", com.novelgames.flashgames.commonAS2.MuteButton); #endinitclip
Symbol 35 MovieClip [star] Frame 1
#initclip 40 Object.registerClass("star", com.novelgames.flashgames.commonAS2.NewMovieClip); #endinitclip
Symbol 54 MovieClip [wire] Frame 1
#initclip 41 Object.registerClass("wire", com.novelgames.flashgames.commonAS2.NewMovieClip); #endinitclip
Symbol 63 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 1
gotoAndPlay ("sprinkler1");
Symbol 83 MovieClip Frame 400
gotoAndPlay ("two");
Symbol 84 MovieClip Frame 1
gotoAndPlay ("sprinkler2");
Symbol 84 MovieClip Frame 400
gotoAndPlay ("three");
Symbol 97 MovieClip [bulb] Frame 1
#initclip 42 Object.registerClass("bulb", com.novelgames.flashgames.commonAS2.NewMovieClip); #endinitclip
Symbol 101 MovieClip [Block] Frame 1
#initclip 43 Object.registerClass("Block", com.novelgames.flashgames.treeAS2.Block); #endinitclip
Symbol 104 MovieClip [Source] Frame 1
#initclip 44 Object.registerClass("Source", com.novelgames.flashgames.treeAS2.Source); #endinitclip
Symbol 110 MovieClip [TipsButtonMovie] Frame 1
#initclip 45 Object.registerClass("TipsButtonMovie", com.novelgames.flashgames.treeAS2.TipsButtonMovie); #endinitclip
Symbol 124 MovieClip [Instructions] Frame 1
#initclip 46 Object.registerClass("Instructions", com.novelgames.flashgames.commonAS2.Instructions); #endinitclip
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 2
stop();
Symbol 145 Button
on (release) { _root.so.appendHighScore(Name.text, _global.ROOT.score); _root.myname = Name.text; gotoAndStop (2); }
Symbol 150 Button
on (release) { _root.gotoGamePage(); }
Symbol 155 MovieClip Frame 1
stop(); Name.text = _root.myname; hiscore.text = _global.ROOT.score; glow_mc.gotoAndStop(2); Selection.addListener(focusListener); Selection.setFocus(Name); save_btn.onRollOver = function () { glow_mc.gotoAndStop(1); }; save_btn.onRollOut = function () { glow_mc.gotoAndStop(2); };
Symbol 155 MovieClip Frame 2
stop(); _root.so.showScores(this.names, this.scores); Selection.setFocus(replay_btn);
Symbol 156 MovieClip [highscore_system] Frame 1
stop();
Symbol 157 MovieClip [MessagePlayAgain] Frame 1
#initclip 47 Object.registerClass("MessagePlayAgain", com.novelgames.flashgames.treeAS2.MessagePlayAgain); #endinitclip
Symbol 164 Button
on (release) { FSCommand2("Quit"); }
Symbol 167 MovieClip [Title] Frame 1
#initclip 48 Object.registerClass("Title", com.novelgames.flashgames.commonAS2.Title); #endinitclip
Symbol 173 MovieClip [__Packages.caurina.transitions.Tweener] Frame 0
class caurina.transitions.Tweener { static var _specialPropertySplitterList, _specialPropertyModifierList, _specialPropertyList, _transitionList, _currentTimeFrame, _currentTime, _tweenList; function Tweener () { trace("Tweener is an static class and should not be instantiated."); } static function addTween(p_scopes, p_parameters) { if (p_scopes == undefined) { return(false); } var _local3; var _local7; var _local2; var _local11; if (p_scopes instanceof Array) { _local11 = p_scopes.concat(); } else { _local11 = [p_scopes]; } var _local5 = caurina.transitions.TweenListObj.makePropertiesChain(p_parameters); if (!_inited) { init(); } if ((!_engineExists) || (_root[getControllerName()] == undefined)) { startEngine(); } var _local19 = (isNaN(_local5.time) ? 0 : (_local5.time)); var _local12 = (isNaN(_local5.delay) ? 0 : (_local5.delay)); var _local4 = new Object(); var _local24 = {overwrite:true, time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, transitionParams:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, onError:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true, onStartScope:true, onUpdateScope:true, onCompleteScope:true, onOverwriteScope:true, onErrorScope:true}; var _local13 = new Object(); for (_local2 in _local5) { if (!_local24[_local2]) { if (_specialPropertySplitterList[_local2] != undefined) { var _local8 = _specialPropertySplitterList[_local2].splitValues(_local5[_local2], _specialPropertySplitterList[_local2].parameters); _local3 = 0; while (_local3 < _local8.length) { if (_specialPropertySplitterList[_local8[_local3].name] != undefined) { var _local9 = _specialPropertySplitterList[_local8[_local3].name].splitValues(_local8[_local3].value, _specialPropertySplitterList[_local8[_local3].name].parameters); _local7 = 0; while (_local7 < _local9.length) { _local4[_local9[_local7].name] = {valueStart:undefined, valueComplete:_local9[_local7].value, arrayIndex:_local9[_local7].arrayIndex, isSpecialProperty:false}; _local7++; } } else { _local4[_local8[_local3].name] = {valueStart:undefined, valueComplete:_local8[_local3].value, arrayIndex:_local8[_local3].arrayIndex, isSpecialProperty:false}; } _local3++; } } else if (_specialPropertyModifierList[_local2] != undefined) { var _local10 = _specialPropertyModifierList[_local2].modifyValues(_local5[_local2]); _local3 = 0; while (_local3 < _local10.length) { _local13[_local10[_local3].name] = {modifierParameters:_local10[_local3].parameters, modifierFunction:_specialPropertyModifierList[_local2].getValue}; _local3++; } } else { _local4[_local2] = {valueStart:undefined, valueComplete:_local5[_local2]}; } } } for (_local2 in _local4) { if (_specialPropertyList[_local2] != undefined) { _local4[_local2].isSpecialProperty = true; } else if (_local11[0][_local2] == undefined) { printError(((("The property '" + _local2) + "' doesn't seem to be a normal object property of ") + _local11[0].toString()) + " or a registered special property."); } } for (_local2 in _local13) { if (_local4[_local2] != undefined) { _local4[_local2].modifierParameters = _local13[_local2].modifierParameters; _local4[_local2].modifierFunction = _local13[_local2].modifierFunction; } } var _local21; if (typeof(_local5.transition) == "string") { var _local26 = _local5.transition.toLowerCase(); _local21 = _transitionList[_local26]; } else { _local21 = _local5.transition; } if (_local21 == undefined) { _local21 = _transitionList.easeoutexpo; } var _local14; var _local6; var _local20; _local3 = 0; while (_local3 < _local11.length) { _local14 = new Object(); for (_local2 in _local4) { _local14[_local2] = new caurina.transitions.PropertyInfoObj(_local4[_local2].valueStart, _local4[_local2].valueComplete, _local4[_local2].valueComplete, _local4[_local2].arrayIndex, {}, _local4[_local2].isSpecialProperty, _local4[_local2].modifierFunction, _local4[_local2].modifierParameters); } if (_local5.useFrames == true) { _local6 = new caurina.transitions.TweenListObj(_local11[_local3], _currentTimeFrame + (_local12 / _timeScale), _currentTimeFrame + ((_local12 + _local19) / _timeScale), true, _local21, _local5.transitionParams); } else { _local6 = new caurina.transitions.TweenListObj(_local11[_local3], _currentTime + ((_local12 * 1000) / _timeScale), _currentTime + (((_local12 * 1000) + (_local19 * 1000)) / _timeScale), false, _local21, _local5.transitionParams); } _local6.properties = _local14; _local6.onStart = _local5.onStart; _local6.onUpdate = _local5.onUpdate; _local6.onComplete = _local5.onComplete; _local6.onOverwrite = _local5.onOverwrite; _local6.onError = _local5.onError; _local6.onStartParams = _local5.onStartParams; _local6.onUpdateParams = _local5.onUpdateParams; _local6.onCompleteParams = _local5.onCompleteParams; _local6.onOverwriteParams = _local5.onOverwriteParams; _local6.onStartScope = _local5.onStartScope; _local6.onUpdateScope = _local5.onUpdateScope; _local6.onCompleteScope = _local5.onCompleteScope; _local6.onOverwriteScope = _local5.onOverwriteScope; _local6.onErrorScope = _local5.onErrorScope; _local6.rounded = _local5.rounded; _local6.skipUpdates = _local5.skipUpdates; if (((_local5.overwrite == undefined) ? (autoOverwrite) : (_local5.overwrite))) { removeTweensByTime(_local6.scope, _local6.properties, _local6.timeStart, _local6.timeComplete); } _tweenList.push(_local6); if ((_local19 == 0) && (_local12 == 0)) { _local20 = _tweenList.length - 1; updateTweenByIndex(_local20); removeTweenByIndex(_local20); } _local3++; } return(true); } static function addCaller(p_scopes, p_parameters) { if (p_scopes == undefined) { return(false); } var _local5; var _local6; if (p_scopes instanceof Array) { _local6 = p_scopes.concat(); } else { _local6 = [p_scopes]; } var _local3 = p_parameters; if (!_inited) { init(); } if ((!_engineExists) || (_root[getControllerName()] == undefined)) { startEngine(); } var _local7 = (isNaN(_local3.time) ? 0 : (_local3.time)); var _local4 = (isNaN(_local3.delay) ? 0 : (_local3.delay)); var _local9; if (typeof(_local3.transition) == "string") { var _local11 = _local3.transition.toLowerCase(); _local9 = _transitionList[_local11]; } else { _local9 = _local3.transition; } if (_local9 == undefined) { _local9 = _transitionList.easeoutexpo; } var _local2; var _local8; _local5 = 0; while (_local5 < _local6.length) { if (_local3.useFrames == true) { _local2 = new caurina.transitions.TweenListObj(_local6[_local5], _currentTimeFrame + (_local4 / _timeScale), _currentTimeFrame + ((_local4 + _local7) / _timeScale), true, _local9, _local3.transitionParams); } else { _local2 = new caurina.transitions.TweenListObj(_local6[_local5], _currentTime + ((_local4 * 1000) / _timeScale), _currentTime + (((_local4 * 1000) + (_local7 * 1000)) / _timeScale), false, _local9, _local3.transitionParams); } _local2.properties = undefined; _local2.onStart = _local3.onStart; _local2.onUpdate = _local3.onUpdate; _local2.onComplete = _local3.onComplete; _local2.onOverwrite = _local3.onOverwrite; _local2.onStartParams = _local3.onStartParams; _local2.onUpdateParams = _local3.onUpdateParams; _local2.onCompleteParams = _local3.onCompleteParams; _local2.onOverwriteParams = _local3.onOverwriteParams; _local2.onStartScope = _local3.onStartScope; _local2.onUpdateScope = _local3.onUpdateScope; _local2.onCompleteScope = _local3.onCompleteScope; _local2.onOverwriteScope = _local3.onOverwriteScope; _local2.onErrorScope = _local3.onErrorScope; _local2.isCaller = true; _local2.count = _local3.count; _local2.waitFrames = _local3.waitFrames; _tweenList.push(_local2); if ((_local7 == 0) && (_local4 == 0)) { _local8 = _tweenList.length - 1; updateTweenByIndex(_local8); removeTweenByIndex(_local8); } _local5++; } return(true); } static function removeTweensByTime(p_scope, p_properties, p_timeStart, p_timeComplete) { var _local5 = false; var _local4; var _local1; var _local7 = _tweenList.length; var _local2; _local1 = 0; while (_local1 < _local7) { if (p_scope == _tweenList[_local1].scope) { if ((p_timeComplete > _tweenList[_local1].timeStart) && (p_timeStart < _tweenList[_local1].timeComplete)) { _local4 = false; for (_local2 in _tweenList[_local1].properties) { if (p_properties[_local2] != undefined) { if (_tweenList[_local1].onOverwrite != undefined) { var _local3 = ((_tweenList[_local1].onOverwriteScope != undefined) ? (_tweenList[_local1].onOverwriteScope) : (_tweenList[_local1].scope)); try { _tweenList[_local1].onOverwrite.apply(_local3, _tweenList[_local1].onOverwriteParams); } catch(e:Error) { handleError(_tweenList[_local1], e, "onOverwrite"); } } _tweenList[_local1].properties[_local2] = undefined; delete _tweenList[_local1].properties[_local2]; _local4 = true; _local5 = true; } } if (_local4) { if (caurina.transitions.AuxFunctions.getObjectLength(_tweenList[_local1].properties) == 0) { removeTweenByIndex(_local1); } } } } _local1++; } return(_local5); } static function removeTweens(p_scope) { var _local5 = new Array(); var _local3; _local3 = 1; while (_local3 < arguments.length) { if ((typeof(arguments[_local3]) == "string") && (!caurina.transitions.AuxFunctions.isInArray(arguments[_local3], _local5))) { if (_specialPropertySplitterList[arguments[_local3]]) { var _local6 = _specialPropertySplitterList[arguments[_local3]]; var _local4 = _local6.splitValues(p_scope, null); var _local2 = 0; while (_local2 < _local4.length) { _local5.push(_local4[_local2].name); _local2++; } } else { _local5.push(arguments[_local3]); } } _local3++; } return(affectTweens(removeTweenByIndex, p_scope, _local5)); } static function removeAllTweens() { var _local2 = false; var _local1; _local1 = 0; while (_local1 < _tweenList.length) { removeTweenByIndex(_local1); _local2 = true; _local1++; } return(_local2); } static function pauseTweens(p_scope) { var _local3 = new Array(); var _local2; _local2 = 1; while (_local2 < arguments.length) { if ((typeof(arguments[_local2]) == "string") && (!caurina.transitions.AuxFunctions.isInArray(arguments[_local2], _local3))) { _local3.push(arguments[_local2]); } _local2++; } return(affectTweens(pauseTweenByIndex, p_scope, _local3)); } static function pauseAllTweens() { var _local2 = false; var _local1; _local1 = 0; while (_local1 < _tweenList.length) { pauseTweenByIndex(_local1); _local2 = true; _local1++; } return(_local2); } static function resumeTweens(p_scope) { var _local3 = new Array(); var _local2; _local2 = 1; while (_local2 < arguments.length) { if ((typeof(arguments[_local2]) == "string") && (!caurina.transitions.AuxFunctions.isInArray(arguments[_local2], _local3))) { _local3.push(arguments[_local2]); } _local2++; } return(affectTweens(resumeTweenByIndex, p_scope, _local3)); } static function resumeAllTweens() { var _local2 = false; var _local1; _local1 = 0; while (_local1 < _tweenList.length) { resumeTweenByIndex(_local1); _local2 = true; _local1++; } return(_local2); } static function affectTweens(p_affectFunction, p_scope, p_properties) { var _local5 = false; var _local2; if (!_tweenList) { return(false); } _local2 = 0; while (_local2 < _tweenList.length) { if (_tweenList[_local2].scope == p_scope) { if (p_properties.length == 0) { p_affectFunction(_local2); _local5 = true; } else { var _local4 = new Array(); var _local1; _local1 = 0; while (_local1 < p_properties.length) { if (_tweenList[_local2].properties[p_properties[_local1]] != undefined) { _local4.push(p_properties[_local1]); } _local1++; } if (_local4.length > 0) { var _local7 = caurina.transitions.AuxFunctions.getObjectLength(_tweenList[_local2].properties); if (_local7 == _local4.length) { p_affectFunction(_local2); _local5 = true; } else { var _local8 = splitTweens(_local2, _local4); p_affectFunction(_local8); _local5 = true; } } } } _local2++; } return(_local5); } static function splitTweens(p_tween, p_properties) { var _local6 = _tweenList[p_tween]; var _local5 = _local6.clone(false); var _local1; var _local2; _local1 = 0; while (_local1 < p_properties.length) { _local2 = p_properties[_local1]; if (_local6.properties[_local2] != undefined) { _local6.properties[_local2] = undefined; delete _local6.properties[_local2]; } _local1++; } var _local4; for (_local2 in _local5.properties) { _local4 = false; _local1 = 0; while (_local1 < p_properties.length) { if (p_properties[_local1] == _local2) { _local4 = true; break; } _local1++; } if (!_local4) { _local5.properties[_local2] = undefined; delete _local5.properties[_local2]; } } _tweenList.push(_local5); return(_tweenList.length - 1); } static function updateTweens() { if (_tweenList.length == 0) { return(false); } var _local1; _local1 = 0; while (_local1 < _tweenList.length) { if (!_tweenList[_local1].isPaused) { if (!updateTweenByIndex(_local1)) { removeTweenByIndex(_local1); } if (_tweenList[_local1] == null) { removeTweenByIndex(_local1, true); _local1--; } } _local1++; } return(true); } static function removeTweenByIndex(p_tween, p_finalRemoval) { _tweenList[p_tween] = null; if (p_finalRemoval) { _tweenList.splice(p_tween, 1); } return(true); } static function pauseTweenByIndex(p_tween) { var _local1 = _tweenList[p_tween]; if ((_local1 == null) || (_local1.isPaused)) { return(false); } _local1.timePaused = getCurrentTweeningTime(_local1); _local1.isPaused = true; return(true); } static function resumeTweenByIndex(p_tween) { var _local1 = _tweenList[p_tween]; if ((_local1 == null) || (!_local1.isPaused)) { return(false); } var _local2 = getCurrentTweeningTime(_local1); _local1.timeStart = _local1.timeStart + (_local2 - _local1.timePaused); _local1.timeComplete = _local1.timeComplete + (_local2 - _local1.timePaused); _local1.timePaused = undefined; _local1.isPaused = false; return(true); } static function updateTweenByIndex(i) { var _local1 = _tweenList[i]; if ((_local1 == null) || (!_local1.scope)) { return(false); } var _local13 = false; var _local14; var _local3; var _local7; var _local10; var _local9; var _local6; var _local2; var _local12; var _local5; var _local8 = getCurrentTweeningTime(_local1); var _local4; if (_local8 >= _local1.timeStart) { _local5 = _local1.scope; if (_local1.isCaller) { do { _local7 = ((_local1.timeComplete - _local1.timeStart) / _local1.count) * (_local1.timesCalled + 1); _local10 = _local1.timeStart; _local9 = _local1.timeComplete - _local1.timeStart; _local6 = _local1.timeComplete - _local1.timeStart; _local3 = _local1.transition(_local7, _local10, _local9, _local6, _local1.transitionParams); if (_local8 >= _local3) { if (_local1.onUpdate != undefined) { _local12 = ((_local1.onUpdateScope != undefined) ? (_local1.onUpdateScope) : (_local5)); try { _local1.onUpdate.apply(_local12, _local1.onUpdateParams); } catch(e:Error) { handleError(_local1, e, "onUpdate"); } } _local1.timesCalled++; if (_local1.timesCalled >= _local1.count) { _local13 = true; break; } if (_local1.waitFrames) { break; } } } while (_local8 >= _local3); } else { _local14 = ((_local1.skipUpdates < 1) || (_local1.skipUpdates == undefined)) || (_local1.updatesSkipped >= _local1.skipUpdates); if (_local8 >= _local1.timeComplete) { _local13 = true; _local14 = true; } if (!_local1.hasStarted) { if (_local1.onStart != undefined) { _local12 = ((_local1.onStartScope != undefined) ? (_local1.onStartScope) : (_local5)); try { _local1.onStart.apply(_local12, _local1.onStartParams); } catch(e:Error) { handleError(_local1, e, "onStart"); } } var _local11; for (_local2 in _local1.properties) { if (_local1.properties[_local2].isSpecialProperty) { if (_specialPropertyList[_local2].preProcess != undefined) { _local1.properties[_local2].valueComplete = _specialPropertyList[_local2].preProcess(_local5, _specialPropertyList[_local2].parameters, _local1.properties[_local2].originalValueComplete, _local1.properties[_local2].extra); } _local11 = _specialPropertyList[_local2].getValue(_local5, _specialPropertyList[_local2].parameters, _local1.properties[_local2].extra); } else { _local11 = _local5[_local2]; } _local1.properties[_local2].valueStart = (isNaN(_local11) ? (_local1.properties[_local2].valueComplete) : (_local11)); } _local14 = true; _local1.hasStarted = true; } if (_local14) { for (_local2 in _local1.properties) { _local4 = _local1.properties[_local2]; if (_local13) { _local3 = _local4.valueComplete; } else if (_local4.hasModifier) { _local7 = _local8 - _local1.timeStart; _local6 = _local1.timeComplete - _local1.timeStart; _local3 = _local1.transition(_local7, 0, 1, _local6, _local1.transitionParams); _local3 = _local4.modifierFunction(_local4.valueStart, _local4.valueComplete, _local3, _local4.modifierParameters); } else { _local7 = _local8 - _local1.timeStart; _local10 = _local4.valueStart; _local9 = _local4.valueComplete - _local4.valueStart; _local6 = _local1.timeComplete - _local1.timeStart; _local3 = _local1.transition(_local7, _local10, _local9, _local6, _local1.transitionParams); } if (_local1.rounded) { _local3 = Math.round(_local3); } if (_local4.isSpecialProperty) { _specialPropertyList[_local2].setValue(_local5, _local3, _specialPropertyList[_local2].parameters, _local1.properties[_local2].extra); } else { _local5[_local2] = _local3; } } _local1.updatesSkipped = 0; if (_local1.onUpdate != undefined) { _local12 = ((_local1.onUpdateScope != undefined) ? (_local1.onUpdateScope) : (_local5)); try { _local1.onUpdate.apply(_local12, _local1.onUpdateParams); } catch(e:Error) { handleError(_local1, e, "onUpdate"); } } } else { _local1.updatesSkipped++; } } if (_local13 && (_local1.onComplete != undefined)) { _local12 = ((_local1.onCompleteScope != undefined) ? (_local1.onCompleteScope) : (_local5)); try { _local1.onComplete.apply(_local12, _local1.onCompleteParams); } catch(e:Error) { handleError(_local1, e, "onComplete"); } } return(!_local13); } return(true); } static function init() { _inited = true; _transitionList = new Object(); caurina.transitions.Equations.init(); _specialPropertyList = new Object(); _specialPropertyModifierList = new Object(); _specialPropertySplitterList = new Object(); } static function registerTransition(p_name, p_function) { if (!_inited) { init(); } _transitionList[p_name] = p_function; } static function registerSpecialProperty(p_name, p_getFunction, p_setFunction, p_parameters, p_preProcessFunction) { if (!_inited) { init(); } var _local1 = new caurina.transitions.SpecialProperty(p_getFunction, p_setFunction, p_parameters, p_preProcessFunction); _specialPropertyList[p_name] = _local1; } static function registerSpecialPropertyModifier(p_name, p_modifyFunction, p_getFunction) { if (!_inited) { init(); } var _local1 = new caurina.transitions.SpecialPropertyModifier(p_modifyFunction, p_getFunction); _specialPropertyModifierList[p_name] = _local1; } static function registerSpecialPropertySplitter(p_name, p_splitFunction, p_parameters) { if (!_inited) { init(); } var _local1 = new caurina.transitions.SpecialPropertySplitter(p_splitFunction, p_parameters); _specialPropertySplitterList[p_name] = _local1; } static function startEngine() { _engineExists = true; _tweenList = new Array(); var _local2 = Math.floor(Math.random() * 999999); var _local3 = _root.createEmptyMovieClip(getControllerName(), 31338 + _local2); _local3.onEnterFrame = function () { caurina.transitions.Tweener.onEnterFrame(); }; _currentTimeFrame = 0; updateTime(); } static function stopEngine() { _engineExists = false; _tweenList = null; _currentTime = 0; _currentTimeFrame = 0; delete _root[getControllerName()].onEnterFrame; _root[getControllerName()].removeMovieClip(); } static function updateTime() { _currentTime = getTimer(); } static function updateFrame() { _currentTimeFrame++; } static function onEnterFrame() { updateTime(); updateFrame(); var _local1 = false; _local1 = updateTweens(); if (!_local1) { stopEngine(); } } static function setTimeScale(p_time) { var _local1; var _local2; if (isNaN(p_time)) { p_time = 1; } if (p_time < 1E-5) { p_time = 1E-5; } if (p_time != _timeScale) { _local1 = 0; while (_local1 < _tweenList.length) { _local2 = getCurrentTweeningTime(_tweenList[_local1]); _tweenList[_local1].timeStart = _local2 - (((_local2 - _tweenList[_local1].timeStart) * _timeScale) / p_time); _tweenList[_local1].timeComplete = _local2 - (((_local2 - _tweenList[_local1].timeComplete) * _timeScale) / p_time); if (_tweenList[_local1].timePaused != undefined) { _tweenList[_local1].timePaused = _local2 - (((_local2 - _tweenList[_local1].timePaused) * _timeScale) / p_time); } _local1++; } _timeScale = p_time; } } static function isTweening(p_scope) { var _local1; _local1 = 0; while (_local1 < _tweenList.length) { if (_tweenList[_local1].scope == p_scope) { return(true); } _local1++; } return(false); } static function getTweens(p_scope) { var _local1; var _local2; var _local3 = new Array(); _local1 = 0; while (_local1 < _tweenList.length) { if (_tweenList[_local1].scope == p_scope) { for (_local2 in _tweenList[_local1].properties) { _local3.push(_local2); } } _local1++; } return(_local3); } static function getTweenCount(p_scope) { var _local1; var _local2 = 0; _local1 = 0; while (_local1 < _tweenList.length) { if (_tweenList[_local1].scope == p_scope) { _local2 = _local2 + caurina.transitions.AuxFunctions.getObjectLength(_tweenList[_local1].properties); } _local1++; } return(_local2); } static function handleError(pTweening, pError, pCallBackName) { if ((pTweening.onError != undefined) && (typeof(pTweening.onError == "function"))) { var _local3 = ((pTweening.onErrorScope != undefined) ? (pTweening.onErrorScope) : (pTweening.scope)); try { pTweening.onError.apply(_local3, [pTweening.scope, pError]); } catch(metaError:Error) { printError((((pTweening.scope.toString() + " raised an error while executing the 'onError' handler. Original error:\n ") + pError) + "\nonError error: ") + metaError); } } else if (pTweening.onError == undefined) { printError((((pTweening.scope.toString() + " raised an error while executing the '") + pCallBackName.toString()) + "'handler. \n") + pError); } } static function getCurrentTweeningTime(p_tweening) { return((p_tweening.useFrames ? (_currentTimeFrame) : (_currentTime))); } static function getVersion() { return("AS2 1.33.74"); } static function getControllerName() { return("__tweener_controller__" + getVersion()); } static function printError(p_message) { trace("## [Tweener] Error: " + p_message); } static var _engineExists = false; static var _inited = false; static var _timeScale = 1; static var autoOverwrite = true; }
Symbol 174 MovieClip [__Packages.caurina.transitions.TweenListObj] Frame 0
class caurina.transitions.TweenListObj { var scope, timeStart, timeComplete, useFrames, transition, transitionParams, properties, isPaused, timePaused, isCaller, updatesSkipped, timesCalled, skipUpdates, hasStarted, onStart, onUpdate, onComplete, onOverwrite, onError, onStartParams, onUpdateParams, onCompleteParams, onOverwriteParams, onStartScope, onUpdateScope, onCompleteScope, onOverwriteScope, onErrorScope, rounded, count, waitFrames; function TweenListObj (p_scope, p_timeStart, p_timeComplete, p_useFrames, p_transition, p_transitionParams) { scope = p_scope; timeStart = p_timeStart; timeComplete = p_timeComplete; useFrames = p_useFrames; transition = p_transition; transitionParams = p_transitionParams; properties = new Object(); isPaused = false; timePaused = undefined; isCaller = false; updatesSkipped = 0; timesCalled = 0; skipUpdates = 0; hasStarted = false; } function clone(omitEvents) { var _local2 = new caurina.transitions.TweenListObj(scope, timeStart, timeComplete, useFrames, transition, transitionParams); _local2.properties = new Object(); for (var _local3 in properties) { _local2.properties[_local3] = properties[_local3].clone(); } _local2.skipUpdates = skipUpdates; _local2.updatesSkipped = updatesSkipped; if (!omitEvents) { _local2.onStart = onStart; _local2.onUpdate = onUpdate; _local2.onComplete = onComplete; _local2.onOverwrite = onOverwrite; _local2.onError = onError; _local2.onStartParams = onStartParams; _local2.onUpdateParams = onUpdateParams; _local2.onCompleteParams = onCompleteParams; _local2.onOverwriteParams = onOverwriteParams; _local2.onStartScope = onStartScope; _local2.onUpdateScope = onUpdateScope; _local2.onCompleteScope = onCompleteScope; _local2.onOverwriteScope = onOverwriteScope; _local2.onErrorScope = onErrorScope; } _local2.rounded = rounded; _local2.isPaused = isPaused; _local2.timePaused = timePaused; _local2.isCaller = isCaller; _local2.count = count; _local2.timesCalled = timesCalled; _local2.waitFrames = waitFrames; _local2.hasStarted = hasStarted; return(_local2); } function toString() { var _local2 = "\n[TweenListObj "; _local2 = _local2 + ("scope:" + String(scope)); _local2 = _local2 + ", properties:"; var _local3 = true; for (var _local4 in properties) { if (!_local3) { _local2 = _local2 + ","; } _local2 = _local2 + ("[name:" + properties[_local4].name); _local2 = _local2 + (",valueStart:" + properties[_local4].valueStart); _local2 = _local2 + (",valueComplete:" + properties[_local4].valueComplete); _local2 = _local2 + "]"; _local3 = false; } _local2 = _local2 + (", timeStart:" + String(timeStart)); _local2 = _local2 + (", timeComplete:" + String(timeComplete)); _local2 = _local2 + (", useFrames:" + String(useFrames)); _local2 = _local2 + (", transition:" + String(transition)); _local2 = _local2 + (", transitionParams:" + String(transitionParams)); if (skipUpdates) { _local2 = _local2 + (", skipUpdates:" + String(skipUpdates)); } if (updatesSkipped) { _local2 = _local2 + (", updatesSkipped:" + String(updatesSkipped)); } if (onStart) { _local2 = _local2 + (", onStart:" + String(onStart)); } if (onUpdate) { _local2 = _local2 + (", onUpdate:" + String(onUpdate)); } if (onComplete) { _local2 = _local2 + (", onComplete:" + String(onComplete)); } if (onOverwrite) { _local2 = _local2 + (", onOverwrite:" + String(onOverwrite)); } if (onError) { _local2 = _local2 + (", onError:" + String(onError)); } if (onStartParams) { _local2 = _local2 + (", onStartParams:" + String(onStartParams)); } if (onUpdateParams) { _local2 = _local2 + (", onUpdateParams:" + String(onUpdateParams)); } if (onCompleteParams) { _local2 = _local2 + (", onCompleteParams:" + String(onCompleteParams)); } if (onOverwriteParams) { _local2 = _local2 + (", onOverwriteParams:" + String(onOverwriteParams)); } if (onStartScope) { _local2 = _local2 + (", onStartScope:" + String(onStartScope)); } if (onUpdateScope) { _local2 = _local2 + (", onUpdateScope:" + String(onUpdateScope)); } if (onCompleteScope) { _local2 = _local2 + (", onCompleteScope:" + String(onCompleteScope)); } if (onOverwriteScope) { _local2 = _local2 + (", onOverwriteScope:" + String(onOverwriteScope)); } if (onErrorScope) { _local2 = _local2 + (", onErrorScope:" + String(onErrorScope)); } if (rounded) { _local2 = _local2 + (", rounded:" + String(rounded)); } if (isPaused) { _local2 = _local2 + (", isPaused:" + String(isPaused)); } if (timePaused) { _local2 = _local2 + (", timePaused:" + String(timePaused)); } if (isCaller) { _local2 = _local2 + (", isCaller:" + String(isCaller)); } if (count) { _local2 = _local2 + (", count:" + String(count)); } if (timesCalled) { _local2 = _local2 + (", timesCalled:" + String(timesCalled)); } if (waitFrames) { _local2 = _local2 + (", waitFrames:" + String(waitFrames)); } if (hasStarted) { _local2 = _local2 + (", hasStarted:" + String(hasStarted)); } _local2 = _local2 + "]\n"; return(_local2); } static function makePropertiesChain(p_obj) { var _local6 = p_obj.base; if (_local6) { var _local5 = {}; var _local2; if (_local6 instanceof Array) { _local2 = []; var _local3 = 0; while (_local3 < _local6.length) { _local2.push(_local6[_local3]); _local3++; } } else { _local2 = [_local6]; } _local2.push(p_obj); var _local4; var _local7 = _local2.length; var _local1 = 0; while (_local1 < _local7) { if (_local2[_local1].base) { _local4 = caurina.transitions.AuxFunctions.concatObjects(makePropertiesChain(_local2[_local1].base), _local2[_local1]); } else { _local4 = _local2[_local1]; } _local5 = caurina.transitions.AuxFunctions.concatObjects(_local5, _local4); _local1++; } if (_local5.base) { delete _local5.base; } return(_local5); } return(p_obj); } }
Symbol 175 MovieClip [__Packages.caurina.transitions.AuxFunctions] Frame 0
class caurina.transitions.AuxFunctions { function AuxFunctions () { } static function numberToR(p_num) { return((p_num & 16711680) >> 16); } static function numberToG(p_num) { return((p_num & 65280) >> 8); } static function numberToB(p_num) { return(p_num & 255); } static function isInArray(p_string, p_array) { var _local2 = p_array.length; var _local1 = 0; while (_local1 < _local2) { if (p_array[_local1] == p_string) { return(true); } _local1++; } return(false); } static function getObjectLength(p_object) { var _local1 = 0; for (var _local2 in p_object) { _local1++; } return(_local1); } static function concatObjects() { var _local4 = {}; var _local2; var _local3 = 0; while (_local3 < arguments.length) { _local2 = arguments[_local3]; for (var _local5 in _local2) { if (_local2[_local5] == null) { delete _local4[_local5]; } else { _local4[_local5] = _local2[_local5]; } } _local3++; } return(_local4); } }
Symbol 176 MovieClip [__Packages.caurina.transitions.PropertyInfoObj] Frame 0
class caurina.transitions.PropertyInfoObj { var valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, hasModifier, modifierFunction, modifierParameters; function PropertyInfoObj (p_valueStart, p_valueComplete, p_originalValueComplete, p_arrayIndex, p_extra, p_isSpecialProperty, p_modifierFunction, p_modifierParameters) { valueStart = p_valueStart; valueComplete = p_valueComplete; originalValueComplete = p_originalValueComplete; arrayIndex = p_arrayIndex; extra = p_extra; isSpecialProperty = p_isSpecialProperty; hasModifier = p_modifierFunction != undefined; modifierFunction = p_modifierFunction; modifierParameters = p_modifierParameters; } function clone() { var _local2 = new caurina.transitions.PropertyInfoObj(valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, modifierFunction, modifierParameters); return(_local2); } function toString() { var _local2 = "\n[PropertyInfoObj "; _local2 = _local2 + ("valueStart:" + String(valueStart)); _local2 = _local2 + ", "; _local2 = _local2 + ("valueComplete:" + String(valueComplete)); _local2 = _local2 + ", "; _local2 = _local2 + ("originalValueComplete:" + String(originalValueComplete)); _local2 = _local2 + ", "; _local2 = _local2 + ("arrayIndex:" + String(arrayIndex)); _local2 = _local2 + ", "; _local2 = _local2 + ("extra:" + String(extra)); _local2 = _local2 + ", "; _local2 = _local2 + ("isSpecialProperty:" + String(isSpecialProperty)); _local2 = _local2 + ", "; _local2 = _local2 + ("hasModifier:" + String(hasModifier)); _local2 = _local2 + ", "; _local2 = _local2 + ("modifierFunction:" + String(modifierFunction)); _local2 = _local2 + ", "; _local2 = _local2 + ("modifierParameters:" + String(modifierParameters)); _local2 = _local2 + "]\n"; return(_local2); } }
Symbol 177 MovieClip [__Packages.caurina.transitions.SpecialPropertySplitter] Frame 0
class caurina.transitions.SpecialPropertySplitter { var parameters; function SpecialPropertySplitter (p_splitFunction, p_parameters) { splitValues = p_splitFunction; parameters = p_parameters; } function splitValues(p_value, p_parameters) { return([]); } function toString() { var _local2 = ""; _local2 = _local2 + "[SpecialPropertySplitter "; _local2 = _local2 + ("splitValues:" + splitValues.toString()); _local2 = _local2 + ", "; _local2 = _local2 + ("parameters:" + parameters.toString()); _local2 = _local2 + "]"; return(_local2); } }
Symbol 178 MovieClip [__Packages.caurina.transitions.Equations] Frame 0
class caurina.transitions.Equations { function Equations () { trace("Equations is a static class and should not be instantiated."); } static function init() { caurina.transitions.Tweener.registerTransition("easenone", easeNone); caurina.transitions.Tweener.registerTransition("linear", easeNone); caurina.transitions.Tweener.registerTransition("easeinquad", easeInQuad); caurina.transitions.Tweener.registerTransition("easeoutquad", easeOutQuad); caurina.transitions.Tweener.registerTransition("easeinoutquad", easeInOutQuad); caurina.transitions.Tweener.registerTransition("easeoutinquad", easeOutInQuad); caurina.transitions.Tweener.registerTransition("easeincubic", easeInCubic); caurina.transitions.Tweener.registerTransition("easeoutcubic", easeOutCubic); caurina.transitions.Tweener.registerTransition("easeinoutcubic", easeInOutCubic); caurina.transitions.Tweener.registerTransition("easeoutincubic", easeOutInCubic); caurina.transitions.Tweener.registerTransition("easeinquart", easeInQuart); caurina.transitions.Tweener.registerTransition("easeoutquart", easeOutQuart); caurina.transitions.Tweener.registerTransition("easeinoutquart", easeInOutQuart); caurina.transitions.Tweener.registerTransition("easeoutinquart", easeOutInQuart); caurina.transitions.Tweener.registerTransition("easeinquint", easeInQuint); caurina.transitions.Tweener.registerTransition("easeoutquint", easeOutQuint); caurina.transitions.Tweener.registerTransition("easeinoutquint", easeInOutQuint); caurina.transitions.Tweener.registerTransition("easeoutinquint", easeOutInQuint); caurina.transitions.Tweener.registerTransition("easeinsine", easeInSine); caurina.transitions.Tweener.registerTransition("easeoutsine", easeOutSine); caurina.transitions.Tweener.registerTransition("easeinoutsine", easeInOutSine); caurina.transitions.Tweener.registerTransition("easeoutinsine", easeOutInSine); caurina.transitions.Tweener.registerTransition("easeincirc", easeInCirc); caurina.transitions.Tweener.registerTransition("easeoutcirc", easeOutCirc); caurina.transitions.Tweener.registerTransition("easeinoutcirc", easeInOutCirc); caurina.transitions.Tweener.registerTransition("easeoutincirc", easeOutInCirc); caurina.transitions.Tweener.registerTransition("easeinexpo", easeInExpo); caurina.transitions.Tweener.registerTransition("easeoutexpo", easeOutExpo); caurina.transitions.Tweener.registerTransition("easeinoutexpo", easeInOutExpo); caurina.transitions.Tweener.registerTransition("easeoutinexpo", easeOutInExpo); caurina.transitions.Tweener.registerTransition("easeinelastic", easeInElastic); caurina.transitions.Tweener.registerTransition("easeoutelastic", easeOutElastic); caurina.transitions.Tweener.registerTransition("easeinoutelastic", easeInOutElastic); caurina.transitions.Tweener.registerTransition("easeoutinelastic", easeOutInElastic); caurina.transitions.Tweener.registerTransition("easeinback", easeInBack); caurina.transitions.Tweener.registerTransition("easeoutback", easeOutBack); caurina.transitions.Tweener.registerTransition("easeinoutback", easeInOutBack); caurina.transitions.Tweener.registerTransition("easeoutinback", easeOutInBack); caurina.transitions.Tweener.registerTransition("easeinbounce", easeInBounce); caurina.transitions.Tweener.registerTransition("easeoutbounce", easeOutBounce); caurina.transitions.Tweener.registerTransition("easeinoutbounce", easeInOutBounce); caurina.transitions.Tweener.registerTransition("easeoutinbounce", easeOutInBounce); } static function easeNone(t, b, c, d, p_params) { return(((c * t) / d) + b); } static function easeInQuad(t, b, c, d, p_params) { t = t / d; return(((c * t) * t) + b); } static function easeOutQuad(t, b, c, d, p_params) { t = t / d; return((((-c) * t) * (t - 2)) + b); } static function easeInOutQuad(t, b, c, d, p_params) { t = t / (d / 2); if (t < 1) { return((((c / 2) * t) * t) + b); } t--; return((((-c) / 2) * ((t * (t - 2)) - 1)) + b); } static function easeOutInQuad(t, b, c, d, p_params) { if (t < (d / 2)) { return(easeOutQuad(t * 2, b, c / 2, d, p_params)); } return(easeInQuad((t * 2) - d, b + (c / 2), c / 2, d, p_params)); } static function easeInCubic(t, b, c, d, p_params) { t = t / d; return((((c * t) * t) * t) + b); } static function easeOutCubic(t, b, c, d, p_params) { t = (t / d) - 1; return((c * (((t * t) * t) + 1)) + b); } static function easeInOutCubic(t, b, c, d, p_params) { t = t / (d / 2); if (t < 1) { return(((((c / 2) * t) * t) * t) + b); } t = t - 2; return(((c / 2) * (((t * t) * t) + 2)) + b); } static function easeOutInCubic(t, b, c, d, p_params) { if (t < (d / 2)) { return(easeOutCubic(t * 2, b, c / 2, d, p_params)); } return(easeInCubic((t * 2) - d, b + (c / 2), c / 2, d, p_params)); } static function easeInQuart(t, b, c, d, p_params) { t = t / d; return(((((c * t) * t) * t) * t) + b); } static function easeOutQuart(t, b, c, d, p_params) { t = (t / d) - 1; return(((-c) * ((((t * t) * t) * t) - 1)) + b); } static function easeInOutQuart(t, b, c, d, p_params) { t = t / (d / 2); if (t < 1) { return((((((c / 2) * t) * t) * t) * t) + b); } t = t - 2; return((((-c) / 2) * ((((t * t) * t) * t) - 2)) + b); } static function easeOutInQuart(t, b, c, d, p_params) { if (t < (d / 2)) { return(easeOutQuart(t * 2, b, c / 2, d, p_params)); } return(easeInQuart((t * 2) - d, b + (c / 2), c / 2, d, p_params)); } static function easeInQuint(t, b, c, d, p_params) { t = t / d; return((((((c * t) * t) * t) * t) * t) + b); } static function easeOutQuint(t, b, c, d, p_params) { t = (t / d) - 1; return((c * (((((t * t) * t) * t) * t) + 1)) + b); } static function easeInOutQuint(t, b, c, d, p_params) { t = t / (d / 2); if (t < 1) { return(((((((c / 2) * t) * t) * t) * t) * t) + b); } t = t - 2; return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b); } static function easeOutInQuint(t, b, c, d, p_params) { if (t < (d / 2)) { return(easeOutQuint(t * 2, b, c / 2, d, p_params)); } return(easeInQuint((t * 2) - d, b + (c / 2), c / 2, d, p_params)); } static function easeInSine(t, b, c, d, p_params) { return((((-c) * Math.cos((t / d) * (Math.PI/2))) + c) + b); } static function easeOutSine(t, b, c, d, p_params) { return((c * Math.sin((t / d) * (Math.PI/2))) + b); } static function easeInOutSine(t, b, c, d, p_params) { return((((-c) / 2) * (Math.cos((Math.PI * t) / d) - 1)) + b); } static function easeOutInSine(t, b, c, d, p_params) { if (t < (d / 2)) { return(easeOutSine(t * 2, b, c / 2, d, p_params)); } return(easeInSine((t * 2) - d, b + (c / 2), c / 2, d, p_params)); } static function easeInExpo(t, b, c, d, p_params) { return(((t == 0) ? (b) : (((c * Math.pow(2, 10 * ((t / d) - 1))) + b) - (c * 0.001)))); } static function easeOutExpo(t, b, c, d, p_params) { return(((t == d) ? (b + c) : (((c * 1.001) * ((-Math.pow(2, (-10 * t) / d)) + 1)) + b))); } static function easeInOutExpo(t, b, c, d, p_params) { if (t == 0) { return(b); } if (t == d) { return(b + c); } t = t / (d / 2); if (t < 1) { return((((c / 2) * Math.pow(2, 10 * (t - 1))) + b) - (c * 0.0005)); } t--; return((((c / 2) * 1.0005) * ((-Math.pow(2, -10 * t)) + 2)) + b); } static function easeOutInExpo(t, b, c, d, p_params) { if (t < (d / 2)) { return(easeOutExpo(t * 2, b, c / 2, d, p_params)); } return(easeInExpo((t * 2) - d, b + (c / 2), c / 2, d, p_params)); } static function easeInCirc(t, b, c, d, p_params) { t = t / d; return(((-c) * (Math.sqrt(1 - (t * t)) - 1)) + b); } static function easeOutCirc(t, b, c, d, p_params) { t = (t / d) - 1; return((c * Math.sqrt(1 - (t * t))) + b); } static function easeInOutCirc(t, b, c, d, p_params) { t = t / (d / 2); if (t < 1) { return((((-c) / 2) * (Math.sqrt(1 - (t * t)) - 1)) + b); } t = t - 2; return(((c / 2) * (Math.sqrt(1 - (t * t)) + 1)) + b); } static function easeOutInCirc(t, b, c, d, p_params) { if (t < (d / 2)) { return(easeOutCirc(t * 2, b, c / 2, d, p_params)); } return(easeInCirc((t * 2) - d, b + (c / 2), c / 2, d, p_params)); } static function easeInElastic(t, b, c, d, p_params) { if (t == 0) { return(b); } t = t / d; if (t == 1) { return(b + c); } var _local2 = ((p_params.period == undefined) ? (d * 0.3) : (p_params.period)); var _local5; var _local1 = p_params.amplitude; if ((!_local1) || (_local1 < Math.abs(c))) { _local1 = c; _local5 = _local2 / 4; } else { _local5 = (_local2 / (Math.PI*2)) * Math.asin(c / _local1); } t = t - 1; return((-((_local1 * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / _local2))) + b); } static function easeOutElastic(t, b, c, d, p_params) { if (t == 0) { return(b); } t = t / d; if (t == 1) { return(b + c); } var _local3 = ((p_params.period == undefined) ? (d * 0.3) : (p_params.period)); var _local5; var _local1 = p_params.amplitude; if ((!_local1) || (_local1 < Math.abs(c))) { _local1 = c; _local5 = _local3 / 4; } else { _local5 = (_local3 / (Math.PI*2)) * Math.asin(c / _local1); } return((((_local1 * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / _local3)) + c) + b); } static function easeInOutElastic(t, b, c, d, p_params) { if (t == 0) { return(b); } t = t / (d / 2); if (t == 2) { return(b + c); } var _local3 = ((p_params.period == undefined) ? (d * 0.45) : (p_params.period)); var _local5; var _local1 = p_params.amplitude; if ((!_local1) || (_local1 < Math.abs(c))) { _local1 = c; _local5 = _local3 / 4; } else { _local5 = (_local3 / (Math.PI*2)) * Math.asin(c / _local1); } if (t < 1) { t = t - 1; return((-0.5 * ((_local1 * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / _local3))) + b); } t = t - 1; return(((((_local1 * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / _local3)) * 0.5) + c) + b); } static function easeOutInElastic(t, b, c, d, p_params) { if (t < (d / 2)) { return(easeOutElastic(t * 2, b, c / 2, d, p_params)); } return(easeInElastic((t * 2) - d, b + (c / 2), c / 2, d, p_params)); } static function easeInBack(t, b, c, d, p_params) { var _local1 = ((p_params.overshoot == undefined) ? 1.70158 : (p_params.overshoot)); t = t / d; return((((c * t) * t) * (((_local1 + 1) * t) - _local1)) + b); } static function easeOutBack(t, b, c, d, p_params) { var _local2 = ((p_params.overshoot == undefined) ? 1.70158 : (p_params.overshoot)); t = (t / d) - 1; return((c * (((t * t) * (((_local2 + 1) * t) + _local2)) + 1)) + b); } static function easeInOutBack(t, b, c, d, p_params) { var _local2 = ((p_params.overshoot == undefined) ? 1.70158 : (p_params.overshoot)); t = t / (d / 2); if (t < 1) { _local2 = _local2 * 1.525; return(((c / 2) * ((t * t) * (((_local2 + 1) * t) - _local2))) + b); } t = t - 2; _local2 = _local2 * 1.525; return(((c / 2) * (((t * t) * (((_local2 + 1) * t) + _local2)) + 2)) + b); } static function easeOutInBack(t, b, c, d, p_params) { if (t < (d / 2)) { return(easeOutBack(t * 2, b, c / 2, d, p_params)); } return(easeInBack((t * 2) - d, b + (c / 2), c / 2, d, p_params)); } static function easeInBounce(t, b, c, d, p_params) { return((c - easeOutBounce(d - t, 0, c, d)) + b); } static function easeOutBounce(t, b, c, d, p_params) { t = t / d; if (t < 0.363636363636364) { return((c * ((7.5625 * t) * t)) + b); } if (t < 0.727272727272727) { t = t - 0.545454545454545; return((c * (((7.5625 * t) * t) + 0.75)) + b); } if (t < 0.909090909090909) { t = t - 0.818181818181818; return((c * (((7.5625 * t) * t) + 0.9375)) + b); } t = t - 0.954545454545455; return((c * (((7.5625 * t) * t) + 0.984375)) + b); } static function easeInOutBounce(t, b, c, d, p_params) { if (t < (d / 2)) { return((easeInBounce(t * 2, 0, c, d) * 0.5) + b); } return(((easeOutBounce((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b); } static function easeOutInBounce(t, b, c, d, p_params) { if (t < (d / 2)) { return(easeOutBounce(t * 2, b, c / 2, d, p_params)); } return(easeInBounce((t * 2) - d, b + (c / 2), c / 2, d, p_params)); } }
Symbol 179 MovieClip [__Packages.caurina.transitions.SpecialProperty] Frame 0
class caurina.transitions.SpecialProperty { var getValue, setValue, parameters, preProcess; function SpecialProperty (p_getFunction, p_setFunction, p_parameters, p_preProcessFunction) { getValue = p_getFunction; setValue = p_setFunction; parameters = p_parameters; preProcess = p_preProcessFunction; } function toString() { var _local2 = ""; _local2 = _local2 + "[SpecialProperty "; _local2 = _local2 + ("getValue:" + getValue.toString()); _local2 = _local2 + ", "; _local2 = _local2 + ("setValue:" + setValue.toString()); _local2 = _local2 + ", "; _local2 = _local2 + ("parameters:" + parameters.toString()); _local2 = _local2 + ", "; _local2 = _local2 + ("preProcess:" + preProcess.toString()); _local2 = _local2 + "]"; return(_local2); } }
Symbol 180 MovieClip [__Packages.caurina.transitions.SpecialPropertyModifier] Frame 0
class caurina.transitions.SpecialPropertyModifier { var modifyValues, getValue; function SpecialPropertyModifier (p_modifyFunction, p_getFunction) { modifyValues = p_modifyFunction; getValue = p_getFunction; } function toString() { var _local2 = ""; _local2 = _local2 + "[SpecialPropertyModifier "; _local2 = _local2 + ("modifyValues:" + modifyValues.toString()); _local2 = _local2 + ", "; _local2 = _local2 + ("getValue:" + getValue.toString()); _local2 = _local2 + "]"; return(_local2); } }
Symbol 181 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.NewMovieClip] Frame 0
class com.novelgames.flashgames.commonAS2.NewMovieClip extends MovieClip { var _parent, _x, _y, _rotation, _visible, _alpha, _width, _height, _xscale, _yscale, _xmouse, _ymouse, _totalframes, _currentframe, _name, __mask, useHandCursor, __mouseEnabled, __mouseChildren, __numChildren, getInstanceAtDepth, getNextHighestDepth, onRelease, onRollOver, onRollOut, onPress, onReleaseOutside, onMouseMove, onEnterFrame, getURL, createMovieCount, attachMovie, createEmptyMovieClip; function NewMovieClip () { super(); } function get parent() { return(_parent); } function set x(x) { _x = x; //return(this.x); } function get x() { return(_x); } function set y(y) { _y = y; //return(this.y); } function get y() { return(_y); } function set rotation(rotation) { _rotation = rotation; //return(this.rotation); } function get rotation() { return(_rotation); } function set visible(visible) { _visible = visible; //return(this.visible); } function get visible() { return(_visible); } function set alpha(alpha) { _alpha = alpha * 100; //return(this.alpha); } function get alpha() { return(_alpha / 100); } function get width() { return(_width); } function set width(width) { _width = width; //return(this.width); } function get height() { return(_height); } function set height(height) { _height = height; //return(this.height); } function set scaleX(scaleX) { _xscale = scaleX * 100; //return(this.scaleX); } function get scaleX() { return(_xscale / 100); } function set scaleY(scaleY) { _yscale = scaleY * 100; //return(this.scaleY); } function get scaleY() { return(_yscale / 100); } function set mouseX(mouseX) { _xmouse = mouseX; //return(this.mouseX); } function get mouseX() { return(_xmouse); } function set mouseY(mouseY) { _ymouse = mouseY; //return(this.mouseY); } function get mouseY() { return(_ymouse); } function get totalFrames() { return(_totalframes); } function get currentFrame() { return(_currentframe); } function get name() { return(_name); } function set mask(mask) { __mask = mask; super.setMask(mask); //return(this.mask); } function get mask() { return(__mask); } function set buttonMode(buttonMode) { useHandCursor = buttonMode; //return(this.buttonMode); } function get buttonMode() { return(useHandCursor); } function set mouseEnabled(mouseEnabled) { __mouseEnabled = mouseEnabled; //return(this.mouseEnabled); } function get mouseEnabled() { return(__mouseEnabled); } function set mouseChildren(mouseChildren) { __mouseChildren = mouseChildren; //return(this.mouseChildren); } function get mouseChildren() { return(__mouseChildren); } function get stage() { return(com.novelgames.flashgames.commonAS2.NewStage.getNewStage()); } function set numChildren(numChildren) { __numChildren = numChildren; //return(this.numChildren); } function get numChildren() { if (__numChildren == undefined) { __numChildren = 0; } return(__numChildren); } function get graphics() { return(this); } function startDrag(lockCenter, bounds) { if (lockCenter == undefined) { super.startDrag(); } else if (bounds == undefined) { super.startDrag(lockCenter); } else { super.startDrag(lockCenter, bounds.__get__left(), bounds.__get__top(), bounds.__get__right(), bounds.__get__bottom()); } } function lineStyle(thickness, colour, alpha) { if (alpha == undefined) { alpha = 1; } super.lineStyle(thickness, colour, alpha * 100); } function beginFill(colour, alpha) { if (alpha == undefined) { alpha = 1; } super.beginFill(colour, alpha * 100); } function getBounds(target) { var _local2 = super.getBounds(target); return(new com.novelgames.flashgames.commonAS2.Rectangle(_local2.xMin, _local2.yMin, _local2.xMax - _local2.xMin, _local2.yMax - _local2.yMin)); } function localToGlobal(point) { var _local2 = {x:point.x, y:point.y}; super.localToGlobal(_local2); return(_local2); } function globalToLocal(point) { var _local2 = {x:point.x, y:point.y}; super.globalToLocal(_local2); return(_local2); } function hitTestPoint(x, y, shapeFlag) { if (shapeFlag == undefined) { return(super.hitTest(x, y)); } return(super.hitTest(x, y, shapeFlag)); } function hitTestObject(obj) { return(super.hitTest(obj)); } function addChild(movieClip) { if (movieClip.addedToParent) { return(undefined); } if (movieClip._parent != this) { trace("wrong addChild: " + [this, movieClip]); } if (movieClip == null) { return(undefined); } addChildAt(movieClip, numChildren); } function addChildAt(movieClip, index) { if (movieClip.addedToParent) { return(undefined); } if (movieClip._parent != this) { trace("wrong addChildAt: " + [this, movieClip]); } if (movieClip == null) { return(undefined); } movieClip.addedToParent = true; numChildren = ((numChildren+1)); setChildIndex(movieClip, index); } function removeChild(movieClip) { if (!movieClip.addedToParent) { return(undefined); } removeChildAt(movieClip.getDepth()); } function removeChildAt(index) { var _local5 = getInstanceAtDepth(index); var _local3; var _local2; if (!_local5.addedToParent) { return(undefined); } _local5.removeMovieClip(); _local3 = getNextHighestDepth(); _local2 = index + 1; while (_local2 < _local3) { getInstanceAtDepth(_local2).swapDepths(_local2 - 1); _local2++; } numChildren = ((numChildren-1)); } function setChildIndex(child, index) { var _local3 = child.getDepth(); var _local2; var _local1; if (_local3 == index) { return(undefined); } _local2 = ((_local3 < index) ? 1 : -1); _local1 = _local3; while (_local1 != index) { child.swapDepths(_local1 + _local2); _local1 = _local1 + _local2; } } function getChildIndex(child) { return(child.getDepth()); } function getChildAt(index) { return(com.novelgames.flashgames.commonAS2.NewMovieClip(getInstanceAtDepth(index))); } function addEventListener(type, listenerObject, listenerFunctionName) { switch (type) { case com.novelgames.flashgames.commonAS2.MouseEvent.CLICK : onRelease = function () { listenerObject[listenerFunctionName](new com.novelgames.flashgames.commonAS2.MouseEvent(this)); }; break; case com.novelgames.flashgames.commonAS2.MouseEvent.ROLL_OVER : case com.novelgames.flashgames.commonAS2.MouseEvent.MOUSE_OVER : onRollOver = function () { listenerObject[listenerFunctionName](new com.novelgames.flashgames.commonAS2.MouseEvent(this)); }; break; case com.novelgames.flashgames.commonAS2.MouseEvent.ROLL_OUT : case com.novelgames.flashgames.commonAS2.MouseEvent.MOUSE_OUT : onRollOut = function () { listenerObject[listenerFunctionName](new com.novelgames.flashgames.commonAS2.MouseEvent(this)); }; break; case com.novelgames.flashgames.commonAS2.MouseEvent.MOUSE_DOWN : onPress = function () { listenerObject[listenerFunctionName](new com.novelgames.flashgames.commonAS2.MouseEvent(this)); }; break; case com.novelgames.flashgames.commonAS2.MouseEvent.MOUSE_UP : onRelease = function () { listenerObject[listenerFunctionName](new com.novelgames.flashgames.commonAS2.MouseEvent(this)); }; onReleaseOutside = onRelease; break; case com.novelgames.flashgames.commonAS2.MouseEvent.MOUSE_MOVE : onMouseMove = function () { listenerObject[listenerFunctionName](new com.novelgames.flashgames.commonAS2.MouseEvent(this)); }; break; case com.novelgames.flashgames.commonAS2.Event.ENTER_FRAME : onEnterFrame = function () { listenerObject[listenerFunctionName](new com.novelgames.flashgames.commonAS2.MouseEvent(this)); }; } } function removeEventListener(type) { switch (type) { case com.novelgames.flashgames.commonAS2.MouseEvent.CLICK : onRelease = null; break; case com.novelgames.flashgames.commonAS2.MouseEvent.ROLL_OVER : case com.novelgames.flashgames.commonAS2.MouseEvent.MOUSE_OVER : onRollOver = null; break; case com.novelgames.flashgames.commonAS2.MouseEvent.ROLL_OUT : case com.novelgames.flashgames.commonAS2.MouseEvent.MOUSE_OUT : onRollOut = null; break; case com.novelgames.flashgames.commonAS2.MouseEvent.MOUSE_DOWN : onPress = null; break; case com.novelgames.flashgames.commonAS2.MouseEvent.MOUSE_UP : onRelease = null; onReleaseOutside = null; break; case com.novelgames.flashgames.commonAS2.MouseEvent.MOUSE_MOVE : onMouseMove = null; break; case com.novelgames.flashgames.commonAS2.Event.ENTER_FRAME : onEnterFrame = null; } } function navigateToURL(urlRequest, window) { getURL(urlRequest.url, window); } function createMovie(name) { var _local4 = getNextHighestDepth(); var _local2; if (createMovieCount == undefined) { createMovieCount = 0; } if (name) { _local2 = attachMovie(name, (name + "_") + createMovieCount, _local4); } else { _local2 = createEmptyMovieClip((name + "_") + createMovieCount, _local4); _local2.__proto__ = com.novelgames.flashgames.commonAS2.NewMovieClip.prototype; } _local2.addedToParent = false; createMovieCount++; return(_local2); } function createSound(name) { return(new com.novelgames.flashgames.commonAS2.NewSound(this, name)); } }
Symbol 182 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.NewStage] Frame 0
class com.novelgames.flashgames.commonAS2.NewStage { var addedListener, onKeyDown, onKeyUp; function NewStage () { addedListener = false; onKeyDown = null; onKeyUp = null; } static function getNewStage() { if (newStage == null) { newStage = new com.novelgames.flashgames.commonAS2.NewStage(); } return(newStage); } function get stageWidth() { return(Stage.width); } function get stageHeight() { return(Stage.height); } function set focus(object) { Selection.setFocus(object); //return(focus); } function get focus() { return(Selection.getFocus()); } function addEventListener(type, listenerObject, listenerFunctionName) { if (!addedListener) { Key.addListener(this); addedListener = true; } switch (type) { case com.novelgames.flashgames.commonAS2.KeyboardEvent.KEY_DOWN : onKeyDown = function () { listenerObject[listenerFunctionName](new com.novelgames.flashgames.commonAS2.KeyboardEvent(this)); }; break; case com.novelgames.flashgames.commonAS2.KeyboardEvent.KEY_UP : onKeyUp = function () { listenerObject[listenerFunctionName](new com.novelgames.flashgames.commonAS2.KeyboardEvent(this)); }; } } function removeEventListener(type) { switch (type) { case com.novelgames.flashgames.commonAS2.KeyboardEvent.KEY_DOWN : onKeyDown = null; break; case com.novelgames.flashgames.commonAS2.KeyboardEvent.KEY_UP : onKeyUp = null; } } static var newStage = null; }
Symbol 183 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.KeyboardEvent] Frame 0
class com.novelgames.flashgames.commonAS2.KeyboardEvent { function KeyboardEvent () { } function get charCode() { return(Key.getAscii()); } function get keyCode() { return(Key.getCode()); } function updateAfterEvent() { _global.updateAfterEvent(); } static var KEY_DOWN = "keyDown"; static var KEY_UP = "keyUp"; }
Symbol 184 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.Rectangle] Frame 0
class com.novelgames.flashgames.commonAS2.Rectangle { var x, y, width, height; function Rectangle (x, y, width, height) { this.x = x; this.y = y; this.width = width; this.height = height; } function get left() { return(x); } function set left(left) { x = left; //return(this.left); } function get top() { return(y); } function set top(top) { y = top; //return(this.top); } function get right() { return(x + width); } function set right(right) { width = right - x; //return(this.right); } function get bottom() { return(y + height); } function set bottom(bottom) { height = bottom - y; //return(this.bottom); } function get size() { return({x:width, y:height}); } function set size(size) { width = size.x; height = size.y; //return(this.size); } function get topLeft() { return({x:x, y:y}); } function set topLeft(topLeft) { x = topLeft.x; y = topLeft.y; //return(this.topLeft); } function get bottomRight() { return({x:x + width, y:y + height}); } function set bottomRight(bottomRight) { width = x - bottomRight.x; height = y - bottomRight.y; //return(this.bottomRight); } }
Symbol 185 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.MouseEvent] Frame 0
class com.novelgames.flashgames.commonAS2.MouseEvent { var target, currentTarget; function MouseEvent (target) { this.target = target; currentTarget = target; } function updateAfterEvent() { _global.updateAfterEvent(); } static var CLICK = "click"; static var DOUBLE_CLICK = "doubleClick"; static var MOUSE_DOWN = "mouseDown"; static var MOUSE_MOVE = "mouseMove"; static var MOUSE_OUT = "mouseOut"; static var MOUSE_OVER = "mouseOver"; static var MOUSE_UP = "mouseUp"; static var MOUSE_WHEEL = "mouseWheel"; static var ROLL_OUT = "rollOut"; static var ROLL_OVER = "rollOver"; }
Symbol 186 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.Event] Frame 0
class com.novelgames.flashgames.commonAS2.Event { function Event () { } static var ENTER_FRAME = "enterFrame"; }
Symbol 187 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.URLRequest] Frame 0
class com.novelgames.flashgames.commonAS2.URLRequest { var url; function URLRequest (url) { this.url = url; } }
Symbol 188 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.NewSound] Frame 0
class com.novelgames.flashgames.commonAS2.NewSound extends Sound { var attachSound, start; function NewSound (target, symbolName) { super(target); attachSound(symbolName); } function play(startTime, loops) { if (loops == undefined) { if (startTime == undefined) { start(); } else { start(startTime); } } else { start(startTime, loops); } return(new com.novelgames.flashgames.commonAS2.SoundChannel(this)); } }
Symbol 189 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.SoundChannel] Frame 0
class com.novelgames.flashgames.commonAS2.SoundChannel { var sound; function SoundChannel (sound) { this.sound = sound; } function stop() { sound.stop(); } }
Symbol 190 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.InstructionsButton] Frame 0
class com.novelgames.flashgames.commonAS2.InstructionsButton extends com.novelgames.flashgames.commonAS2.NewMovieClip { var onRelease; function InstructionsButton () { super(); onRelease = function () { this._parent._parent.showInstructionsFromGame(); }; } }
Symbol 191 MovieClip [__Packages.com.novelgames.flashgames.treeAS2.GameOverDialog] Frame 0
class com.novelgames.flashgames.treeAS2.GameOverDialog extends com.novelgames.flashgames.commonAS2.NewMovieClip { var stop, gotoAndStop, createMovie, messagePlayAgain, addChild, __get__parent; function GameOverDialog () { super(); stop(); } function show() { gotoAndStop("show"); } function showPlayAgain() { var _local2; _local2 = createMovie("MessagePlayAgain"); messagePlayAgain = _local2; messagePlayAgain.playAgainButton.addEventListener(com.novelgames.flashgames.commonAS2.MouseEvent.CLICK, this, "playAgainButtonClicked"); messagePlayAgain.homeButton.addEventListener(com.novelgames.flashgames.commonAS2.MouseEvent.CLICK, this, "homeButtonClicked"); addChild(messagePlayAgain); } function playAgainButtonClicked(mouseEvent) { Object(__get__parent().parent).gotoGamePage(); } function homeButtonClicked(mouseEvent) { Object(__get__parent().parent).gotoTitlePage(); } }
Symbol 192 MovieClip [__Packages.com.novelgames.flashgames.treeAS2.MessagePlayAgain] Frame 0
class com.novelgames.flashgames.treeAS2.MessagePlayAgain extends com.novelgames.flashgames.commonAS2.NewMovieClip { var playAgainButton, homeButton; function MessagePlayAgain () { super(); playAgainButton.__proto__ = com.novelgames.flashgames.commonAS2.NewMovieClip.prototype; homeButton.__proto__ = com.novelgames.flashgames.commonAS2.NewMovieClip.prototype; } }
Symbol 193 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.CommonGame] Frame 0
class com.novelgames.flashgames.commonAS2.CommonGame extends com.novelgames.flashgames.commonAS2.NewMovieClip { function CommonGame () { super(); } static function get gameStage() { return(com.novelgames.flashgames.commonAS2.NewStage.getNewStage()); } function pause() { com.novelgames.flashgames.commonAS2.NewTimer.pause(); } function unpause() { com.novelgames.flashgames.commonAS2.NewTimer.unpause(); } }
Symbol 194 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.Timer] Frame 0
interface com.novelgames.flashgames.commonAS2.Timer { }
Symbol 195 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.NewTimer] Frame 0
class com.novelgames.flashgames.commonAS2.NewTimer implements com.novelgames.flashgames.commonAS2.Timer { static var pauseTime; var delay, repeatCount, currentCount, listenerObject, listenerFunctionName, adjustedStartTime, usingDelay, intervalID; function NewTimer (delay, repeatCount) { if (repeatCount == undefined) { repeatCount = 0; } this.delay = delay; this.repeatCount = repeatCount; currentCount = 0; allTimers.push(this); } static function getTimer() { if (paused) { return(pauseTime - totalPausedTime); } return(getTimer() - totalPausedTime); } static function pause() { if (paused) { return(undefined); } paused = true; pauseTime = getTimer(); } static function unpause() { if (!paused) { return(undefined); } paused = false; totalPausedTime = totalPausedTime + (getTimer() - pauseTime); } function addEventListener(type, listenerObject, listenerFunctionName) { if (type != com.novelgames.flashgames.commonAS2.TimerEvent.TIMER) { return(undefined); } this.listenerObject = listenerObject; this.listenerFunctionName = listenerFunctionName; } function removeEventListener(type) { if (type != com.novelgames.flashgames.commonAS2.TimerEvent.TIMER) { return(undefined); } listenerObject = null; listenerFunctionName = null; } function start() { adjustedStartTime = getTimer(); usingDelay = delay; clearInterval(intervalID); intervalID = setInterval(this, "timerEventListener", delay); } function stop() { clearInterval(intervalID); } function timerEventListener() { currentCount++; if (paused) { clearInterval(intervalID); usingDelay = Math.max(delay - (getTimer() - adjustedStartTime), 1); currentCount--; intervalID = setInterval(this, "timerEventListener", usingDelay); return(undefined); } if ((getTimer() - adjustedStartTime) >= delay) { adjustedStartTime = getTimer(); if (usingDelay != delay) { clearInterval(intervalID); usingDelay = delay; intervalID = setInterval(this, "timerEventListener", usingDelay); } listenerObject[listenerFunctionName](new com.novelgames.flashgames.commonAS2.TimerEvent()); if ((repeatCount != 0) && (currentCount >= repeatCount)) { clearInterval(intervalID); } } else { clearInterval(intervalID); usingDelay = Math.max(delay - (getTimer() - adjustedStartTime), 1); currentCount--; intervalID = setInterval(this, "timerEventListener", usingDelay); } } static var paused = false; static var totalPausedTime = 0; static var allTimers = new Array(); }
Symbol 196 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.TimerEvent] Frame 0
class com.novelgames.flashgames.commonAS2.TimerEvent { function TimerEvent () { } function updateAfterEvent() { _global.updateAfterEvent(); } static var TIMER = "timer"; }
Symbol 197 MovieClip [__Packages.com.novelgames.flashgames.treeAS2.Game] Frame 0
class com.novelgames.flashgames.treeAS2.Game extends com.novelgames.flashgames.commonAS2.CommonGame { var gameOverDialog, timeText, blocksHolder, star, score, gameOver, startTime, timer, soundWin, createSound, __time, dimensionX, dimensionY, blocks, sourceX, sourceY, __get__parent; function Game () { super(); gameOverDialog.__proto__ = com.novelgames.flashgames.treeAS2.GameOverDialog.prototype; timeText.__proto__ = com.novelgames.flashgames.commonAS2.NewTextField.prototype; blocksHolder.__proto__ = com.novelgames.flashgames.commonAS2.NewMovieClip.prototype; star.__proto__ = com.novelgames.flashgames.commonAS2.NewMovieClip.prototype; _global.ROOT.score = 0; _global.ROOT.securestartscore = 0; _global.ROOT.securescorecheck = 0; _global.ROOT.securetotal = 0; _global.ROOT.securecount = 0; _global.ROOT.ssfactor = (random(10) + 2) * -1; _global.ROOT.securelog = new Array(); score = _global.ROOT.securescore(0, 0, 3); _global.ROOT.score = score; gameOver = false; star.gotoAndStop("hide"); createTree(); createNet(); updateLights(); time = (0); startTime = com.novelgames.flashgames.commonAS2.NewTimer.getTimer(); timer = new com.novelgames.flashgames.commonAS2.NewTimer(1, 0); timer.addEventListener(com.novelgames.flashgames.commonAS2.TimerEvent.TIMER, this, "onTime"); timer.start(); soundWin = createSound("SoundWin"); } function set time(time) { __time = time; timeText.text = time.toString(); //return(this.time); } function get time() { return(__time); } function rotateStarted() { updateLights(); } function rotateFinished() { updateLights(); checkWin(); } function onTime(timerEvent) { updateTime(); } function createTree() { var _local9 = 0; var _local8 = 0; var _local2 = 0; var _local4 = 0; var _local6; var _local3; var _local5; var _local7; _local5 = 0; while (_local5 < com.novelgames.flashgames.treeAS2.Config.NET_PATTERN.length) { _local6 = com.novelgames.flashgames.treeAS2.Config.NET_PATTERN.charAt(_local5); if (_local6 == "\r") { _local2 = 0; _local4++; _local8 = Math.max(_local8, _local4); } else { _local2++; _local9 = Math.max(_local9, _local2); } _local5++; } dimensionX = _local9; dimensionY = _local8 + 1; blocks = new Array(dimensionX * dimensionY); _local2 = 0; _local4 = 0; _local5 = 0; while (_local5 < com.novelgames.flashgames.treeAS2.Config.NET_PATTERN.length) { _local6 = com.novelgames.flashgames.treeAS2.Config.NET_PATTERN.charAt(_local5); if (_local6 == " ") { _local2++; } else if (_local6 == "\r") { _local2 = 0; _local4++; } else if (_local6 == "0") { _local7 = blocksHolder.createMovie("Block"); _local3 = _local7; _local3.indexX = _local2; _local3.indexY = _local4; _local3.x = _local2 * com.novelgames.flashgames.treeAS2.Config.NET_BLOCKSIZE; _local3.y = _local4 * com.novelgames.flashgames.treeAS2.Config.NET_BLOCKSIZE; blocksHolder.addChild(_local3); blocks[(_local4 * dimensionX) + _local2] = _local3; _local2++; } else if (_local6 == "1") { _local7 = blocksHolder.createMovie("Source"); _local3 = _local7; _local3.x = _local2 * com.novelgames.flashgames.treeAS2.Config.NET_BLOCKSIZE; _local3.y = _local4 * com.novelgames.flashgames.treeAS2.Config.NET_BLOCKSIZE; blocksHolder.addChild(_local3); sourceX = _local2; sourceY = _local4; _local2++; } _local5++; } } function createNet() { var _local5 = new Array(); var _local3 = new Array(); var _local8; var _local9; var _local2; var _local7; var _local6; var _local10; var _local4; _local4 = 0; while (_local4 < blocks.length) { if (blocks[_local4] == null) { _local5[_local4] = -1; } else { _local5[_local4] = 0; } _local4++; } _local8 = ((sourceY - 1) * dimensionX) + sourceX; _local5[_local8] = com.novelgames.flashgames.treeAS2.Block.DOWN; _local3.push([_local8, com.novelgames.flashgames.treeAS2.Block.UP]); _local3.push([_local8, com.novelgames.flashgames.treeAS2.Block.LEFT]); _local3.push([_local8, com.novelgames.flashgames.treeAS2.Block.RIGHT]); while (_local3.length > 0) { _local8 = Math.floor(Math.random() * _local3.length); _local9 = _local3[_local8][0]; _local7 = _local9 % dimensionX; _local6 = Math.floor(_local9 / dimensionX); _local10 = _local3[_local8][1]; switch (_local10) { case com.novelgames.flashgames.treeAS2.Block.UP : _local6--; break; case com.novelgames.flashgames.treeAS2.Block.DOWN : _local6++; break; case com.novelgames.flashgames.treeAS2.Block.LEFT : _local7--; break; case com.novelgames.flashgames.treeAS2.Block.RIGHT : _local7++; } _local2 = (_local6 * dimensionX) + _local7; if ((((_local7 < 0) || (_local7 >= dimensionX)) || (_local6 < 0)) || (_local6 >= dimensionY)) { } else if (_local5[_local2] != 0) { } else { _local5[_local9] = _local5[_local9] | _local10; switch (_local10) { case com.novelgames.flashgames.treeAS2.Block.UP : _local5[_local2] = com.novelgames.flashgames.treeAS2.Block.DOWN; _local3.push([_local2, com.novelgames.flashgames.treeAS2.Block.UP]); _local3.push([_local2, com.novelgames.flashgames.treeAS2.Block.LEFT]); _local3.push([_local2, com.novelgames.flashgames.treeAS2.Block.RIGHT]); break; case com.novelgames.flashgames.treeAS2.Block.DOWN : _local5[_local2] = com.novelgames.flashgames.treeAS2.Block.UP; _local3.push([_local2, com.novelgames.flashgames.treeAS2.Block.DOWN]); _local3.push([_local2, com.novelgames.flashgames.treeAS2.Block.LEFT]); _local3.push([_local2, com.novelgames.flashgames.treeAS2.Block.RIGHT]); break; case com.novelgames.flashgames.treeAS2.Block.LEFT : _local5[_local2] = com.novelgames.flashgames.treeAS2.Block.RIGHT; _local3.push([_local2, com.novelgames.flashgames.treeAS2.Block.UP]); _local3.push([_local2, com.novelgames.flashgames.treeAS2.Block.DOWN]); _local3.push([_local2, com.novelgames.flashgames.treeAS2.Block.LEFT]); break; case com.novelgames.flashgames.treeAS2.Block.RIGHT : _local5[_local2] = com.novelgames.flashgames.treeAS2.Block.LEFT; _local3.push([_local2, com.novelgames.flashgames.treeAS2.Block.UP]); _local3.push([_local2, com.novelgames.flashgames.treeAS2.Block.DOWN]); _local3.push([_local2, com.novelgames.flashgames.treeAS2.Block.RIGHT]); } } _local3.splice(_local8, 1); } _local4 = 0; while (_local4 < _local5.length) { if (_local5[_local4] != -1) { blocks[_local4].initialize(getRandomRotatedDirection(_local5[_local4])); } _local4++; } } function getRandomRotatedDirection(direction) { var _local1; switch (direction) { case com.novelgames.flashgames.treeAS2.Block.UP : case com.novelgames.flashgames.treeAS2.Block.DOWN : case com.novelgames.flashgames.treeAS2.Block.LEFT : case com.novelgames.flashgames.treeAS2.Block.RIGHT : _local1 = [com.novelgames.flashgames.treeAS2.Block.UP, com.novelgames.flashgames.treeAS2.Block.DOWN, com.novelgames.flashgames.treeAS2.Block.LEFT, com.novelgames.flashgames.treeAS2.Block.RIGHT]; break; case com.novelgames.flashgames.treeAS2.Block.UP | com.novelgames.flashgames.treeAS2.Block.DOWN : case com.novelgames.flashgames.treeAS2.Block.LEFT | com.novelgames.flashgames.treeAS2.Block.RIGHT : _local1 = [com.novelgames.flashgames.treeAS2.Block.UP | com.novelgames.flashgames.treeAS2.Block.DOWN, com.novelgames.flashgames.treeAS2.Block.LEFT | com.novelgames.flashgames.treeAS2.Block.RIGHT]; break; case com.novelgames.flashgames.treeAS2.Block.UP | com.novelgames.flashgames.treeAS2.Block.LEFT : case com.novelgames.flashgames.treeAS2.Block.UP | com.novelgames.flashgames.treeAS2.Block.RIGHT : case com.novelgames.flashgames.treeAS2.Block.LEFT | com.novelgames.flashgames.treeAS2.Block.DOWN : case com.novelgames.flashgames.treeAS2.Block.RIGHT | com.novelgames.flashgames.treeAS2.Block.DOWN : _local1 = [com.novelgames.flashgames.treeAS2.Block.UP | com.novelgames.flashgames.treeAS2.Block.LEFT, com.novelgames.flashgames.treeAS2.Block.UP | com.novelgames.flashgames.treeAS2.Block.RIGHT, com.novelgames.flashgames.treeAS2.Block.LEFT | com.novelgames.flashgames.treeAS2.Block.DOWN, com.novelgames.flashgames.treeAS2.Block.RIGHT | com.novelgames.flashgames.treeAS2.Block.DOWN]; break; case (com.novelgames.flashgames.treeAS2.Block.UP | com.novelgames.flashgames.treeAS2.Block.LEFT) | com.novelgames.flashgames.treeAS2.Block.RIGHT : case (com.novelgames.flashgames.treeAS2.Block.UP | com.novelgames.flashgames.treeAS2.Block.LEFT) | com.novelgames.flashgames.treeAS2.Block.DOWN : case (com.novelgames.flashgames.treeAS2.Block.UP | com.novelgames.flashgames.treeAS2.Block.RIGHT) | com.novelgames.flashgames.treeAS2.Block.DOWN : case (com.novelgames.flashgames.treeAS2.Block.LEFT | com.novelgames.flashgames.treeAS2.Block.RIGHT) | com.novelgames.flashgames.treeAS2.Block.DOWN : _local1 = [(com.novelgames.flashgames.treeAS2.Block.UP | com.novelgames.flashgames.treeAS2.Block.LEFT) | com.novelgames.flashgames.treeAS2.Block.RIGHT, (com.novelgames.flashgames.treeAS2.Block.UP | com.novelgames.flashgames.treeAS2.Block.LEFT) | com.novelgames.flashgames.treeAS2.Block.DOWN, (com.novelgames.flashgames.treeAS2.Block.UP | com.novelgames.flashgames.treeAS2.Block.RIGHT) | com.novelgames.flashgames.treeAS2.Block.DOWN, (com.novelgames.flashgames.treeAS2.Block.LEFT | com.novelgames.flashgames.treeAS2.Block.RIGHT) | com.novelgames.flashgames.treeAS2.Block.DOWN]; break; case ((com.novelgames.flashgames.treeAS2.Block.UP | com.novelgames.flashgames.treeAS2.Block.DOWN) | com.novelgames.flashgames.treeAS2.Block.LEFT) | com.novelgames.flashgames.treeAS2.Block.RIGHT : _local1 = [((com.novelgames.flashgames.treeAS2.Block.UP | com.novelgames.flashgames.treeAS2.Block.DOWN) | com.novelgames.flashgames.treeAS2.Block.LEFT) | com.novelgames.flashgames.treeAS2.Block.RIGHT]; } return(_local1[Math.floor(Math.random() * _local1.length)]); } function updateLights() { var _local4 = new Array(); var _local2; var _local3; _local3 = 0; while (_local3 < blocks.length) { if (blocks[_local3] == null) { } else { blocks[_local3].isOn = false; } _local3++; } _local2 = blocks[((sourceY - 1) * dimensionX) + sourceX]; if ((_local2.directions & com.novelgames.flashgames.treeAS2.Block.DOWN) != 0) { _local2.isOn = true; _local4.push(_local2); } while (_local4.length > 0) { _local2 = _local4[0]; if (checkShouldUpdateToOn(_local2, com.novelgames.flashgames.treeAS2.Block.UP)) { blocks[((_local2.indexY - 1) * dimensionX) + _local2.indexX].isOn = true; _local4.push(blocks[((_local2.indexY - 1) * dimensionX) + _local2.indexX]); } if (checkShouldUpdateToOn(_local2, com.novelgames.flashgames.treeAS2.Block.DOWN)) { blocks[((_local2.indexY + 1) * dimensionX) + _local2.indexX].isOn = true; _local4.push(blocks[((_local2.indexY + 1) * dimensionX) + _local2.indexX]); } if (checkShouldUpdateToOn(_local2, com.novelgames.flashgames.treeAS2.Block.LEFT)) { blocks[((_local2.indexY * dimensionX) + _local2.indexX) - 1].isOn = true; _local4.push(blocks[((_local2.indexY * dimensionX) + _local2.indexX) - 1]); } if (checkShouldUpdateToOn(_local2, com.novelgames.flashgames.treeAS2.Block.RIGHT)) { blocks[((_local2.indexY * dimensionX) + _local2.indexX) + 1].isOn = true; _local4.push(blocks[((_local2.indexY * dimensionX) + _local2.indexX) + 1]); } _local4.splice(0, 1); } _local3 = 0; while (_local3 < blocks.length) { if (blocks[_local3] == null) { } else { blocks[_local3].updatePicture(); } _local3++; } } function checkShouldUpdateToOn(block, direction) { var _local3 = block.indexX; var _local2 = block.indexY; var _local4; if ((block.directions & direction) == 0) { return(false); } switch (direction) { case com.novelgames.flashgames.treeAS2.Block.UP : _local2--; _local4 = com.novelgames.flashgames.treeAS2.Block.DOWN; break; case com.novelgames.flashgames.treeAS2.Block.DOWN : _local2++; _local4 = com.novelgames.flashgames.treeAS2.Block.UP; break; case com.novelgames.flashgames.treeAS2.Block.LEFT : _local3--; _local4 = com.novelgames.flashgames.treeAS2.Block.RIGHT; break; case com.novelgames.flashgames.treeAS2.Block.RIGHT : _local3++; _local4 = com.novelgames.flashgames.treeAS2.Block.LEFT; } if ((((_local3 < 0) || (_local3 >= dimensionX)) || (_local2 < 0)) || (_local2 >= dimensionY)) { return(false); } if (blocks[(_local2 * dimensionX) + _local3] == null) { return(false); } if (blocks[(_local2 * dimensionX) + _local3].isOn) { return(false); } return((blocks[(_local2 * dimensionX) + _local3].directions & _local4) != 0); } function updateTime() { if (gameOver) { return(undefined); } time = (Math.floor((com.novelgames.flashgames.commonAS2.NewTimer.getTimer() - startTime) / 1000)); } function checkWin() { var _local3; _local3 = 0; while (_local3 < blocks.length) { if (blocks[_local3] == null) { } else if (!blocks[_local3].isOn) { return(undefined); } _local3++; } gameOver = true; star.gotoAndStop("show"); _local3 = 0; while (_local3 < blocks.length) { if (blocks[_local3] == null) { } else { blocks[_local3].hideButton(); } _local3++; } myscore = com.novelgames.flashgames.treeAS2.Config.SCORE_BASE - (com.novelgames.flashgames.treeAS2.Config.SCORE_PERTIME * time); if (myscore <= 100) { myscore = 100; } score = _global.ROOT.securescore(score, myscore, 3); _global.ROOT.score = score; trace("score = " + _global.ROOT.score); gameOverDialog.show(); soundWin.play(); timer = new com.novelgames.flashgames.commonAS2.NewTimer(com.novelgames.flashgames.treeAS2.Config.MESSAGE_GAMEOVERTIME, 1); timer.addEventListener(com.novelgames.flashgames.commonAS2.TimerEvent.TIMER, this, "showPlayAgain"); timer.start(); } function showPlayAgain(timerEvent) { Object(__get__parent()).showEnterHighScore(score); gameOverDialog.showPlayAgain(); } }
Symbol 198 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.NewTextField] Frame 0
class com.novelgames.flashgames.commonAS2.NewTextField extends TextField { var _x, _y, _rotation, _visible, _alpha, _width, _height, scroll, maxscroll; function NewTextField () { super(); } function set x(x) { _x = x; //return(this.x); } function get x() { return(_x); } function set y(y) { _y = y; //return(this.y); } function get y() { return(_y); } function set rotation(rotation) { _rotation = rotation; //return(this.rotation); } function get rotation() { return(_rotation); } function set visible(visible) { _visible = visible; //return(this.visible); } function get visible() { return(_visible); } function set alpha(alpha) { _alpha = alpha * 100; //return(this.alpha); } function get alpha() { return(_alpha / 100); } function get width() { return(_width); } function set width(width) { _width = width; //return(this.width); } function get height() { return(_height); } function set height(height) { _height = height; //return(this.height); } function set scrollV(scrollV) { scroll = scrollV; //return(this.scrollV); } function get scrollV() { return(scroll); } function set maxScrollV(maxScrollV) { maxscroll = maxScrollV; //return(this.maxScrollV); } function get maxScrollV() { return(maxscroll); } function setTextFormat(textFormat, beginIndex, endIndex) { if ((beginIndex == undefined) || (endIndex == undefined)) { super.setTextFormat(textFormat); } else { super.setTextFormat(beginIndex, endIndex, textFormat); } } }
Symbol 199 MovieClip [__Packages.com.novelgames.flashgames.treeAS2.Config] Frame 0
class com.novelgames.flashgames.treeAS2.Config { function Config () { } static var NET_PATTERN = " \r 0000000000000000\r 0000000000000000\r 0000000000000000\r 0000000000000000\r 0000000000000000\r 0 \r 1"; static var NET_BLOCKSIZE = 90; static var NET_NOOFBULBCOLOURS = 6; static var NET_ROTATETIME = 200; static var SCORE_BASE = 50000; static var SCORE_PERTIME = 100; static var MESSAGE_GAMEOVERTIME = 1000; static var TIPS_URL = "http://www.novelgames.com/gametips/?id=51"; }
Symbol 200 MovieClip [__Packages.com.novelgames.flashgames.treeAS2.Block] Frame 0
class com.novelgames.flashgames.treeAS2.Block extends com.novelgames.flashgames.commonAS2.NewMovieClip { var button, bulb, wire, stop, directions, bulbIndex, isOn, rotating, __set__mouseEnabled, __get__parent, newDirections, startRotateTime, startRotation, timer; function Block () { super(); button.__proto__ = com.novelgames.flashgames.commonAS2.NewMovieClip.prototype; bulb.__proto__ = com.novelgames.flashgames.commonAS2.NewMovieClip.prototype; wire.__proto__ = com.novelgames.flashgames.commonAS2.NewMovieClip.prototype; stop(); } function initialize(directions) { this.directions = directions; bulbIndex = Math.floor(Math.random() * com.novelgames.flashgames.treeAS2.Config.NET_NOOFBULBCOLOURS); isOn = false; rotating = false; updatePicture(); switch (directions) { case UP : case DOWN : case LEFT : case RIGHT : bulb.__set__visible(true); break; default : bulb.__set__visible(false); } bulb.__set__mouseEnabled(false); bulb.__set__mouseChildren(false); __set__mouseEnabled(false); button.addEventListener(com.novelgames.flashgames.commonAS2.MouseEvent.MOUSE_DOWN, this, "startRotate"); } function updatePicture() { var _local2 = (isOn ? "on" : "off"); switch (directions) { case UP : wire.gotoAndStop(_local2 + "U"); wire.__set__rotation(0); break; case DOWN : wire.gotoAndStop(_local2 + "U"); wire.__set__rotation(180); break; case LEFT : wire.gotoAndStop(_local2 + "U"); wire.__set__rotation(-90); break; case RIGHT : wire.gotoAndStop(_local2 + "U"); wire.__set__rotation(90); break; case UP | DOWN : wire.gotoAndStop(_local2 + "UD"); wire.__set__rotation(0); break; case LEFT | RIGHT : wire.gotoAndStop(_local2 + "UD"); wire.__set__rotation(90); break; case UP | LEFT : wire.gotoAndStop(_local2 + "UL"); wire.__set__rotation(0); break; case UP | RIGHT : wire.gotoAndStop(_local2 + "UL"); wire.__set__rotation(90); break; case RIGHT | DOWN : wire.gotoAndStop(_local2 + "UL"); wire.__set__rotation(180); break; case LEFT | DOWN : wire.gotoAndStop(_local2 + "UL"); wire.__set__rotation(-90); break; case (UP | LEFT) | RIGHT : wire.gotoAndStop(_local2 + "ULR"); wire.__set__rotation(0); break; case (UP | RIGHT) | DOWN : wire.gotoAndStop(_local2 + "ULR"); wire.__set__rotation(90); break; case (LEFT | RIGHT) | DOWN : wire.gotoAndStop(_local2 + "ULR"); wire.__set__rotation(180); break; case (UP | LEFT) | DOWN : wire.gotoAndStop(_local2 + "ULR"); wire.__set__rotation(-90); break; case ((UP | LEFT) | RIGHT) | DOWN : wire.gotoAndStop(_local2 + "ULRD"); wire.__set__rotation(0); } bulb.gotoAndStop(_local2 + bulbIndex); } function hideButton() { button.__set__visible(false); } function startRotate(mouseEvent) { if (Object(__get__parent().parent).gameOver) { return(undefined); } if (rotating) { return(undefined); } rotating = true; newDirections = 0; if ((directions & UP) != 0) { newDirections = newDirections | RIGHT; } if ((directions & DOWN) != 0) { newDirections = newDirections | LEFT; } if ((directions & LEFT) != 0) { newDirections = newDirections | UP; } if ((directions & RIGHT) != 0) { newDirections = newDirections | DOWN; } isOn = false; updatePicture(); directions = 0; startRotateTime = com.novelgames.flashgames.commonAS2.NewTimer.getTimer(); startRotation = wire.rotation; timer = new com.novelgames.flashgames.commonAS2.NewTimer(1, 0); timer.addEventListener(com.novelgames.flashgames.commonAS2.TimerEvent.TIMER, this, "rotate"); timer.start(); Object(__get__parent().parent).rotateStarted(); } function rotate(timerEvent) { var _local3 = com.novelgames.flashgames.commonAS2.NewTimer.getTimer(); var _local2 = (_local3 - startRotateTime) / com.novelgames.flashgames.treeAS2.Config.NET_ROTATETIME; if (_local2 > 1) { _local2 = 1; } timerEvent.updateAfterEvent(); wire.__set__rotation(startRotation + (_local2 * 90)); if (_local2 < 1) { return(undefined); } directions = newDirections; timer.stop(); rotating = false; Object(__get__parent().parent).rotateFinished(); } static var UP = 1; static var DOWN = 2; static var LEFT = 4; static var RIGHT = 8; }
Symbol 201 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.MuteButton] Frame 0
class com.novelgames.flashgames.commonAS2.MuteButton extends com.novelgames.flashgames.commonAS2.NewMovieClip { var gotoAndStop; function MuteButton () { super(); if (new Sound().getVolume() == 0) { showOff(); } else { showOn(); } } function onPress() { var _local2 = SharedObject.getLocal("mute", "/"); if (new Sound().getVolume() == 0) { _local2.data.isMute = false; new Sound().setVolume(100); showOn(); } else { _local2.data.isMute = true; new Sound().setVolume(0); showOff(); } } function showOff() { gotoAndStop("off"); } function showOn() { gotoAndStop("on"); } }
Symbol 202 MovieClip [__Packages.com.novelgames.flashgames.treeAS2.Source] Frame 0
class com.novelgames.flashgames.treeAS2.Source extends com.novelgames.flashgames.commonAS2.NewMovieClip { function Source () { super(); } }
Symbol 203 MovieClip [__Packages.com.novelgames.flashgames.treeAS2.TipsButtonMovie] Frame 0
class com.novelgames.flashgames.treeAS2.TipsButtonMovie extends com.novelgames.flashgames.commonAS2.NewMovieClip { var button, navigateToURL; function TipsButtonMovie () { super(); button.__proto__ = com.novelgames.flashgames.commonAS2.NewMovieClip.prototype; button.addEventListener(com.novelgames.flashgames.commonAS2.MouseEvent.CLICK, this, "buttonClicked"); } function buttonClicked(mouseEvent) { navigateToURL(new com.novelgames.flashgames.commonAS2.URLRequest(com.novelgames.flashgames.treeAS2.Config.TIPS_URL), "_blank"); } }
Symbol 204 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.Instructions] Frame 0
class com.novelgames.flashgames.commonAS2.Instructions extends MovieClip { var startButton, shownFromGame, _parent; function Instructions () { super(); startButton.onRollOver = function () { this._parent.startButtonOvered(); }; startButton.onRelease = function () { this._parent.startButtonClicked(); }; } function initialize(shownFromGame) { if (shownFromGame == undefined) { shownFromGame = false; } this.shownFromGame = shownFromGame; } function startButtonOvered() { if (_parent.buttonSoundOver) { _parent.buttonSoundOver.start(); } } function startButtonClicked() { if (_parent.buttonSoundClick) { _parent.buttonSoundClick.start(); } if (!shownFromGame) { _parent.gotoGamePage(); } else { _parent.hideInstructionsFromGame(); } } }
Symbol 205 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.Title] Frame 0
class com.novelgames.flashgames.commonAS2.Title extends MovieClip { var startButton, highScoresButton, moreGamesButton, _parent; function Title () { super(); startButton.onRollOver = function () { this._parent.startButtonOvered(); }; startButton.onRelease = function () { this._parent.startButtonClicked(); }; highScoresButton.onRollOver = function () { this._parent.highScoresButtonOvered(); }; highScoresButton.onRelease = function () { this._parent.highScoresButtonClicked(); }; moreGamesButton.onRollOver = function () { this._parent.moreGamesButtonOvered(); }; moreGamesButton.onRelease = function () { this._parent.moreGamesButtonClicked(); }; } function startButtonOvered() { if (_parent.buttonSoundOver) { _parent.buttonSoundOver.start(); } } function startButtonClicked() { if (_parent.buttonSoundClick) { _parent.buttonSoundClick.start(); } _parent.gotoInstructionsPage(); } function highScoresButtonOvered() { if (_parent.buttonSoundOver) { _parent.buttonSoundOver.start(); } } function highScoresButtonClicked() { if (_parent.buttonSoundClick) { _parent.buttonSoundClick.start(); } _parent.showHighScores(); } function moreGamesButtonOvered() { if (_parent.buttonSoundOver) { _parent.buttonSoundOver.start(); } } function moreGamesButtonClicked() { if (_parent.buttonSoundClick) { _parent.buttonSoundClick.start(); } _parent.gotoMoreGamesURL(); } }
Symbol 206 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.MainDevelopment] Frame 0
class com.novelgames.flashgames.commonAS2.MainDevelopment extends MovieClip { var title, attachMovie, titleDepth, titleX, titleY, instructions, musicGame, game, getInstanceAtDepth, getURL, onEnterFrame, stop, buttonSoundOver, buttonSoundClick; function MainDevelopment () { super(); } static function initialize(movieClip) { movieClip.__proto__ = com.novelgames.flashgames.commonAS2.MainDevelopment.prototype; movieClip.checkMute(); movieClip.onEnterFrame = movieClip.checkTitle; } function gotoTitlePage() { removePage(); title = com.novelgames.flashgames.commonAS2.Title(attachMovie("Title", "title", titleDepth)); title._x = titleX; title._y = titleY; } function gotoInstructionsPage() { removePage(); instructions = com.novelgames.flashgames.commonAS2.Instructions(attachMovie("Instructions", "instructions", titleDepth)); instructions.initialize(); instructions._x = titleX; instructions._y = titleY; } function gotoGamePage() { removePage(); musicGame = new com.novelgames.flashgames.commonAS2.NewSound(this, "musicGame"); musicGame.start(0, 2147483647); game = attachMovie("Game", "game", titleDepth); game._x = titleX; game._y = titleY; } function showInstructionsFromGame() { var _local2; game.pause(); game._visible = false; _local2 = 0; while (true) { if (getInstanceAtDepth(_local2) == undefined) { break; } _local2++; } instructions = com.novelgames.flashgames.commonAS2.Instructions(attachMovie("Instructions", "instructions", _local2)); instructions.swapDepths(titleDepth); instructions.initialize(true); instructions._x = titleX; instructions._y = titleY; } function hideInstructionsFromGame() { instructions.swapDepths(game.getDepth()); instructions.removeMovieClip(); instructions = null; game._visible = true; game.unpause(); } function startGameMusic() { stopGameMusic(); musicGame = new com.novelgames.flashgames.commonAS2.NewSound(this, "musicGame"); musicGame.start(0, 2147483647); } function stopGameMusic() { if (musicGame) { musicGame.stop(); musicGame = null; } } function showHighScores() { trace("showHighScores()"); } function showEnterHighScore(score) { trace(("showEnterHighScore(" + score) + ")"); } function gotoMoreGamesURL() { getURL("http://www.novelgames.com", "_blank"); } function checkMute() { var _local1 = SharedObject.getLocal("mute", "/"); if (_local1.data.isMute == true) { new Sound().setVolume(0); } } function checkTitle() { if (!title) { return(undefined); } titleX = title._x; titleY = title._y; onEnterFrame = null; stop(); titleDepth = title.getDepth(); buttonSoundOver = new com.novelgames.flashgames.commonAS2.NewSound(this, "ButtonSoundOver"); buttonSoundClick = new com.novelgames.flashgames.commonAS2.NewSound(this, "ButtonSoundClick"); } function removePage() { if (title) { title.removeMovieClip(); title = null; } if (instructions) { instructions.removeMovieClip(); instructions = null; } if (game) { game.removeMovieClip(); game = null; } if (musicGame) { musicGame.stop(); musicGame = null; } } }
Symbol 207 MovieClip [__Packages.sharedObjClass] Frame 0
class sharedObjClass { var sharedOb; function sharedObjClass () { trace("class loaded"); sharedOb = SharedObject.getLocal("farming"); sharedOb.path = this; SharedObject.addListener("farming", soInitHandler); } function soInitHandler(sob) { if (sob.getSize() > 0) { sob.path.nameArray = sob.data.nameArray; } } function appendHighScore(nm, tm) { trace((("nameArray = name: " + nm) + " time: ") + tm); nameArray.push({name:nm, time:tm}); sharedOb.data.nameArray = nameArray; sharedOb.flush(); } function showScores(nm, sc) { nameArray.sortOn("time", Array.DESCENDING | Array.NUMERIC); nameArray.splice(10); var _local2 = 0; while (_local2 < nameArray.length) { trace(nameArray[_local2].time); nm.text = (nm.text + nameArray[_local2].name) + newline; sc.text = (sc.text + nameArray[_local2].time) + newline; _local2++; } } var nameArray = new Array(); }

Library Items

Symbol 1 Sound [soundWin]
Symbol 2 Sound [soundMove]
Symbol 3 Sound [musicGame]
Symbol 4 BitmapUsed by:5
Symbol 5 GraphicUses:4Used by:6
Symbol 6 MovieClip [empty]Uses:5Used by:28
Symbol 7 BitmapUsed by:8 14 111 117 165 166
Symbol 8 GraphicUses:7Used by:9 12 13
Symbol 9 MovieClipUses:8Used by:12 13
Symbol 10 GraphicUsed by:12 13
Symbol 11 GraphicUsed by:12 13
Symbol 12 ButtonUses:9 10 11 8Used by:28
Symbol 13 ButtonUses:9 10 11 8Used by:28
Symbol 14 GraphicUses:7Used by:28
Symbol 15 FontUsed by:16 17 113 118
Symbol 16 EditableTextUses:15Used by:28
Symbol 17 TextUses:15Used by:28
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClip [InstructionsButton]Uses:18Used by:28
Symbol 20 GraphicUsed by:24
Symbol 21 FontUsed by:22 171
Symbol 22 TextUses:21Used by:24
Symbol 23 GraphicUsed by:24
Symbol 24 ButtonUses:20 22 23Used by:28
Symbol 25 BitmapUsed by:26
Symbol 26 GraphicUses:25Used by:27
Symbol 27 MovieClip [GameOverDialog]Uses:26Used by:28
Symbol 28 MovieClip [Game]Uses:6 12 13 14 16 17 19 24 27
Symbol 29 GraphicUsed by:32
Symbol 30 GraphicUsed by:32
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClip [MuteButton]Uses:29 30 31
Symbol 33 GraphicUsed by:35
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClip [star]Uses:33 34
Symbol 36 BitmapUsed by:37 39 45 48 51
Symbol 37 GraphicUses:36Used by:38
Symbol 38 MovieClipUses:37Used by:54
Symbol 39 GraphicUses:36Used by:40
Symbol 40 MovieClipUses:39Used by:54
Symbol 41 BitmapUsed by:44 53
Symbol 42 BitmapUsed by:44 47 50 53
Symbol 43 BitmapUsed by:44 50 53
Symbol 44 GraphicUses:41 42 43Used by:54
Symbol 45 GraphicUses:36Used by:46
Symbol 46 MovieClipUses:45Used by:54 104
Symbol 47 GraphicUses:42Used by:54
Symbol 48 GraphicUses:36Used by:49
Symbol 49 MovieClipUses:48Used by:54
Symbol 50 GraphicUses:42 43Used by:54
Symbol 51 GraphicUses:36Used by:52
Symbol 52 MovieClipUses:51Used by:54
Symbol 53 GraphicUses:41 42 43Used by:54
Symbol 54 MovieClip [wire]Uses:38 40 44 46 47 49 50 52 53Used by:101
Symbol 55 BitmapUsed by:56
Symbol 56 GraphicUses:55Used by:97
Symbol 57 BitmapUsed by:58
Symbol 58 GraphicUses:57Used by:97
Symbol 59 BitmapUsed by:60
Symbol 60 GraphicUses:59Used by:63 74
Symbol 61 GraphicUsed by:62 63
Symbol 62 MovieClipUses:61Used by:63 74 167
Symbol 63 MovieClipUses:60 61 62Used by:97
Symbol 64 BitmapUsed by:65
Symbol 65 GraphicUses:64Used by:97
Symbol 66 BitmapUsed by:67
Symbol 67 GraphicUses:66Used by:68
Symbol 68 MovieClipUses:67Used by:97
Symbol 69 BitmapUsed by:70
Symbol 70 GraphicUses:69Used by:97
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:71Used by:73
Symbol 73 MovieClipUses:72Used by:97
Symbol 74 MovieClipUses:60 62Used by:97
Symbol 75 GraphicUsed by:82 85
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:76Used by:78 79 83 84
Symbol 78 MovieClipUses:77Used by:82
Symbol 79 MovieClipUses:77Used by:82
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClipUses:80Used by:82 85
Symbol 82 MovieClipUses:75 78 79 81Used by:97
Symbol 83 MovieClipUses:77Used by:85
Symbol 84 MovieClipUses:77Used by:85
Symbol 85 MovieClipUses:75 83 84 81Used by:97
Symbol 86 GraphicUsed by:89
Symbol 87 GraphicUsed by:89
Symbol 88 GraphicUsed by:89 91 92 94
Symbol 89 MovieClipUses:86 87 88Used by:97
Symbol 90 GraphicUsed by:91 92
Symbol 91 MovieClipUses:90 88Used by:97
Symbol 92 MovieClipUses:90 88Used by:97
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93 88Used by:97
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:97
Symbol 97 MovieClip [bulb]Uses:56 58 63 65 68 70 73 74 82 85 89 91 92 94 96Used by:101
Symbol 98 GraphicUsed by:100
Symbol 99 GraphicUsed by:100
Symbol 100 ButtonUses:98 99Used by:101
Symbol 101 MovieClip [Block]Uses:54 97 100
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:102Used by:104
Symbol 104 MovieClip [Source]Uses:46 103
Symbol 105 FontUsed by:106 121
Symbol 106 TextUses:105Used by:107
Symbol 107 MovieClipUses:106Used by:109
Symbol 108 GraphicUsed by:109
Symbol 109 ButtonUses:107 108Used by:110
Symbol 110 MovieClip [TipsButtonMovie]Uses:109
Symbol 111 GraphicUses:7Used by:112 116
Symbol 112 MovieClipUses:111Used by:116
Symbol 113 TextUses:15Used by:114
Symbol 114 MovieClipUses:113Used by:116
Symbol 115 GraphicUsed by:116
Symbol 116 ButtonUses:112 114 111 115Used by:124 167
Symbol 117 GraphicUses:7Used by:123
Symbol 118 TextUses:15Used by:119
Symbol 119 MovieClipUses:118Used by:123
Symbol 120 GraphicUsed by:123
Symbol 121 TextUses:105Used by:122
Symbol 122 MovieClipUses:121Used by:123
Symbol 123 MovieClipUses:117 119 120 122Used by:124
Symbol 124 MovieClip [Instructions]Uses:116 123
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:125Used by:156
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:127Used by:156
Symbol 129 GraphicUsed by:156
Symbol 130 GraphicUsed by:155
Symbol 131 FontUsed by:132 133 137 138 139 141 147 151 152 153 154
Symbol 132 TextUses:131Used by:155
Symbol 133 TextUses:131Used by:155
Symbol 134 GraphicUsed by:136
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClipUses:134 135Used by:155
Symbol 137 TextUses:131Used by:155
Symbol 138 EditableTextUses:131Used by:155
Symbol 139 EditableTextUses:131Used by:155
Symbol 140 GraphicUsed by:145
Symbol 141 TextUses:131Used by:145
Symbol 142 GraphicUsed by:145 150
Symbol 143 GraphicUsed by:145
Symbol 144 GraphicUsed by:145
Symbol 145 ButtonUses:140 141 142 143 144Used by:155
Symbol 146 GraphicUsed by:150
Symbol 147 TextUses:131Used by:150
Symbol 148 GraphicUsed by:150
Symbol 149 GraphicUsed by:150
Symbol 150 ButtonUses:146 147 142 148 149Used by:155
Symbol 151 TextUses:131Used by:155
Symbol 152 EditableTextUses:131Used by:155
Symbol 153 EditableTextUses:131Used by:155
Symbol 154 TextUses:131Used by:155
Symbol 155 MovieClipUses:130 132 133 136 137 138 139 145 150 151 152 153 154Used by:156
Symbol 156 MovieClip [highscore_system]Uses:126 128 129 155Used by:157
Symbol 157 MovieClip [MessagePlayAgain]Uses:156
Symbol 158 BitmapUsed by:159
Symbol 159 GraphicUses:158Used by:167
Symbol 160 FontUsed by:161 162
Symbol 161 TextUses:160Used by:164
Symbol 162 TextUses:160Used by:164
Symbol 163 GraphicUsed by:164
Symbol 164 ButtonUses:161 162 163Used by:167
Symbol 165 GraphicUses:7Used by:167
Symbol 166 GraphicUses:7Used by:167
Symbol 167 MovieClip [Title]Uses:159 62 164 165 116 166Used by:Timeline
Symbol 173 MovieClip [__Packages.caurina.transitions.Tweener]
Symbol 174 MovieClip [__Packages.caurina.transitions.TweenListObj]
Symbol 175 MovieClip [__Packages.caurina.transitions.AuxFunctions]
Symbol 176 MovieClip [__Packages.caurina.transitions.PropertyInfoObj]
Symbol 177 MovieClip [__Packages.caurina.transitions.SpecialPropertySplitter]
Symbol 178 MovieClip [__Packages.caurina.transitions.Equations]
Symbol 179 MovieClip [__Packages.caurina.transitions.SpecialProperty]
Symbol 180 MovieClip [__Packages.caurina.transitions.SpecialPropertyModifier]
Symbol 181 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.NewMovieClip]
Symbol 182 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.NewStage]
Symbol 183 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.KeyboardEvent]
Symbol 184 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.Rectangle]
Symbol 185 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.MouseEvent]
Symbol 186 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.Event]
Symbol 187 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.URLRequest]
Symbol 188 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.NewSound]
Symbol 189 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.SoundChannel]
Symbol 190 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.InstructionsButton]
Symbol 191 MovieClip [__Packages.com.novelgames.flashgames.treeAS2.GameOverDialog]
Symbol 192 MovieClip [__Packages.com.novelgames.flashgames.treeAS2.MessagePlayAgain]
Symbol 193 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.CommonGame]
Symbol 194 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.Timer]
Symbol 195 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.NewTimer]
Symbol 196 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.TimerEvent]
Symbol 197 MovieClip [__Packages.com.novelgames.flashgames.treeAS2.Game]
Symbol 198 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.NewTextField]
Symbol 199 MovieClip [__Packages.com.novelgames.flashgames.treeAS2.Config]
Symbol 200 MovieClip [__Packages.com.novelgames.flashgames.treeAS2.Block]
Symbol 201 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.MuteButton]
Symbol 202 MovieClip [__Packages.com.novelgames.flashgames.treeAS2.Source]
Symbol 203 MovieClip [__Packages.com.novelgames.flashgames.treeAS2.TipsButtonMovie]
Symbol 204 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.Instructions]
Symbol 205 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.Title]
Symbol 206 MovieClip [__Packages.com.novelgames.flashgames.commonAS2.MainDevelopment]
Symbol 207 MovieClip [__Packages.sharedObjClass]
Symbol 168 GraphicUsed by:Timeline
Symbol 169 GraphicUsed by:Timeline
Symbol 170 GraphicUsed by:172
Symbol 171 TextUses:21Used by:172
Symbol 172 MovieClipUses:170 171Used by:Timeline

Instance Names

"title"Frame 2Symbol 167 MovieClip [Title]
"rotate_msg"Frame 2Symbol 172 MovieClip
"blocksHolder"Symbol 28 MovieClip [Game] Frame 1Symbol 6 MovieClip [empty]
"scrollLeft"Symbol 28 MovieClip [Game] Frame 1Symbol 12 Button
"scrollRight"Symbol 28 MovieClip [Game] Frame 1Symbol 13 Button
"timeText"Symbol 28 MovieClip [Game] Frame 1Symbol 16 EditableText
"gameOverDialog"Symbol 28 MovieClip [Game] Frame 1Symbol 27 MovieClip [GameOverDialog]
"wire"Symbol 54 MovieClip [wire] Frame 1Symbol 38 MovieClip
"wire"Symbol 54 MovieClip [wire] Frame 13Symbol 40 MovieClip
"wire"Symbol 54 MovieClip [wire] Frame 23Symbol 46 MovieClip
"wire"Symbol 54 MovieClip [wire] Frame 35Symbol 49 MovieClip
"wire"Symbol 54 MovieClip [wire] Frame 47Symbol 52 MovieClip
"wire"Symbol 101 MovieClip [Block] Frame 1Symbol 54 MovieClip [wire]
"bulb"Symbol 101 MovieClip [Block] Frame 1Symbol 97 MovieClip [bulb]
"button"Symbol 101 MovieClip [Block] Frame 1Symbol 100 Button
"button"Symbol 110 MovieClip [TipsButtonMovie] Frame 1Symbol 109 Button
"startButton"Symbol 124 MovieClip [Instructions] Frame 1Symbol 116 Button
"glow_mc"Symbol 155 MovieClip Frame 1Symbol 136 MovieClip
"Name"Symbol 155 MovieClip Frame 1Symbol 138 EditableText
"hiscore"Symbol 155 MovieClip Frame 1Symbol 139 EditableText
"save_btn"Symbol 155 MovieClip Frame 1Symbol 145 Button
"replay_btn"Symbol 155 MovieClip Frame 2Symbol 150 Button
"names"Symbol 155 MovieClip Frame 2Symbol 152 EditableText
"scores"Symbol 155 MovieClip Frame 2Symbol 153 EditableText
"submitnew"Symbol 156 MovieClip [highscore_system] Frame 1Symbol 155 MovieClip
"instructions_btn"Symbol 167 MovieClip [Title] Frame 1Symbol 164 Button
"startButton"Symbol 167 MovieClip [Title] Frame 1Symbol 116 Button

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 1 as "soundWin"
ExportAssets (56)Timeline Frame 1Symbol 2 as "soundMove"
ExportAssets (56)Timeline Frame 1Symbol 3 as "musicGame"
ExportAssets (56)Timeline Frame 1Symbol 6 as "empty"
ExportAssets (56)Timeline Frame 1Symbol 19 as "InstructionsButton"
ExportAssets (56)Timeline Frame 1Symbol 27 as "GameOverDialog"
ExportAssets (56)Timeline Frame 1Symbol 28 as "Game"
ExportAssets (56)Timeline Frame 1Symbol 27 as "GameOverDialog"
ExportAssets (56)Timeline Frame 1Symbol 19 as "InstructionsButton"
ExportAssets (56)Timeline Frame 1Symbol 32 as "MuteButton"
ExportAssets (56)Timeline Frame 1Symbol 35 as "star"
ExportAssets (56)Timeline Frame 1Symbol 54 as "wire"
ExportAssets (56)Timeline Frame 1Symbol 97 as "bulb"
ExportAssets (56)Timeline Frame 1Symbol 101 as "Block"
ExportAssets (56)Timeline Frame 1Symbol 97 as "bulb"
ExportAssets (56)Timeline Frame 1Symbol 54 as "wire"
ExportAssets (56)Timeline Frame 1Symbol 104 as "Source"
ExportAssets (56)Timeline Frame 1Symbol 110 as "TipsButtonMovie"
ExportAssets (56)Timeline Frame 1Symbol 124 as "Instructions"
ExportAssets (56)Timeline Frame 1Symbol 156 as "highscore_system"
ExportAssets (56)Timeline Frame 1Symbol 156 as "highscore_system"
ExportAssets (56)Timeline Frame 1Symbol 157 as "MessagePlayAgain"
ExportAssets (56)Timeline Frame 1Symbol 167 as "Title"
ExportAssets (56)Timeline Frame 1Symbol 173 as "__Packages.caurina.transitions.Tweener"
ExportAssets (56)Timeline Frame 1Symbol 174 as "__Packages.caurina.transitions.TweenListObj"
ExportAssets (56)Timeline Frame 1Symbol 175 as "__Packages.caurina.transitions.AuxFunctions"
ExportAssets (56)Timeline Frame 1Symbol 176 as "__Packages.caurina.transitions.PropertyInfoObj"
ExportAssets (56)Timeline Frame 1Symbol 177 as "__Packages.caurina.transitions.SpecialPropertySplitter"
ExportAssets (56)Timeline Frame 1Symbol 178 as "__Packages.caurina.transitions.Equations"
ExportAssets (56)Timeline Frame 1Symbol 179 as "__Packages.caurina.transitions.SpecialProperty"
ExportAssets (56)Timeline Frame 1Symbol 180 as "__Packages.caurina.transitions.SpecialPropertyModifier"
ExportAssets (56)Timeline Frame 1Symbol 181 as "__Packages.com.novelgames.flashgames.commonAS2.NewMovieClip"
ExportAssets (56)Timeline Frame 1Symbol 182 as "__Packages.com.novelgames.flashgames.commonAS2.NewStage"
ExportAssets (56)Timeline Frame 1Symbol 183 as "__Packages.com.novelgames.flashgames.commonAS2.KeyboardEvent"
ExportAssets (56)Timeline Frame 1Symbol 184 as "__Packages.com.novelgames.flashgames.commonAS2.Rectangle"
ExportAssets (56)Timeline Frame 1Symbol 185 as "__Packages.com.novelgames.flashgames.commonAS2.MouseEvent"
ExportAssets (56)Timeline Frame 1Symbol 186 as "__Packages.com.novelgames.flashgames.commonAS2.Event"
ExportAssets (56)Timeline Frame 1Symbol 187 as "__Packages.com.novelgames.flashgames.commonAS2.URLRequest"
ExportAssets (56)Timeline Frame 1Symbol 188 as "__Packages.com.novelgames.flashgames.commonAS2.NewSound"
ExportAssets (56)Timeline Frame 1Symbol 189 as "__Packages.com.novelgames.flashgames.commonAS2.SoundChannel"
ExportAssets (56)Timeline Frame 1Symbol 190 as "__Packages.com.novelgames.flashgames.commonAS2.InstructionsButton"
ExportAssets (56)Timeline Frame 1Symbol 191 as "__Packages.com.novelgames.flashgames.treeAS2.GameOverDialog"
ExportAssets (56)Timeline Frame 1Symbol 192 as "__Packages.com.novelgames.flashgames.treeAS2.MessagePlayAgain"
ExportAssets (56)Timeline Frame 1Symbol 193 as "__Packages.com.novelgames.flashgames.commonAS2.CommonGame"
ExportAssets (56)Timeline Frame 1Symbol 194 as "__Packages.com.novelgames.flashgames.commonAS2.Timer"
ExportAssets (56)Timeline Frame 1Symbol 195 as "__Packages.com.novelgames.flashgames.commonAS2.NewTimer"
ExportAssets (56)Timeline Frame 1Symbol 196 as "__Packages.com.novelgames.flashgames.commonAS2.TimerEvent"
ExportAssets (56)Timeline Frame 1Symbol 197 as "__Packages.com.novelgames.flashgames.treeAS2.Game"
ExportAssets (56)Timeline Frame 1Symbol 198 as "__Packages.com.novelgames.flashgames.commonAS2.NewTextField"
ExportAssets (56)Timeline Frame 1Symbol 199 as "__Packages.com.novelgames.flashgames.treeAS2.Config"
ExportAssets (56)Timeline Frame 1Symbol 200 as "__Packages.com.novelgames.flashgames.treeAS2.Block"
ExportAssets (56)Timeline Frame 1Symbol 201 as "__Packages.com.novelgames.flashgames.commonAS2.MuteButton"
ExportAssets (56)Timeline Frame 1Symbol 202 as "__Packages.com.novelgames.flashgames.treeAS2.Source"
ExportAssets (56)Timeline Frame 1Symbol 203 as "__Packages.com.novelgames.flashgames.treeAS2.TipsButtonMovie"
ExportAssets (56)Timeline Frame 1Symbol 204 as "__Packages.com.novelgames.flashgames.commonAS2.Instructions"
ExportAssets (56)Timeline Frame 1Symbol 205 as "__Packages.com.novelgames.flashgames.commonAS2.Title"
ExportAssets (56)Timeline Frame 1Symbol 206 as "__Packages.com.novelgames.flashgames.commonAS2.MainDevelopment"
ExportAssets (56)Timeline Frame 1Symbol 207 as "__Packages.sharedObjClass"
ExportAssets (56)Timeline Frame 2Symbol 167 as "Title"
ExportAssets (56)Timeline Frame 3Symbol 167 as "Title"
ExportAssets (56)Timeline Frame 4Symbol 167 as "Title"
ExportAssets (56)Timeline Frame 5Symbol 167 as "Title"
ExportAssets (56)Timeline Frame 6Symbol 167 as "Title"
ExportAssets (56)Timeline Frame 7Symbol 167 as "Title"
ExportAssets (56)Timeline Frame 8Symbol 167 as "Title"
ExportAssets (56)Timeline Frame 9Symbol 167 as "Title"
ExportAssets (56)Timeline Frame 10Symbol 167 as "Title"
ExportAssets (56)Timeline Frame 11Symbol 167 as "Title"

Labels

"start"Frame 1
"game"Frame 2
"hide"Symbol 27 MovieClip [GameOverDialog] Frame 1
"show"Symbol 27 MovieClip [GameOverDialog] Frame 6
"on"Symbol 32 MovieClip [MuteButton] Frame 1
"off"Symbol 32 MovieClip [MuteButton] Frame 6
"hide"Symbol 35 MovieClip [star] Frame 1
"show"Symbol 35 MovieClip [star] Frame 6
"offU"Symbol 54 MovieClip [wire] Frame 1
"onU"Symbol 54 MovieClip [wire] Frame 7
"offUL"Symbol 54 MovieClip [wire] Frame 13
"onUL"Symbol 54 MovieClip [wire] Frame 18
"offUD"Symbol 54 MovieClip [wire] Frame 23
"onUD"Symbol 54 MovieClip [wire] Frame 29
"offULR"Symbol 54 MovieClip [wire] Frame 35
"onULR"Symbol 54 MovieClip [wire] Frame 41
"offULRD"Symbol 54 MovieClip [wire] Frame 47
"onULRD"Symbol 54 MovieClip [wire] Frame 55
"two"Symbol 83 MovieClip Frame 2
"sprinkler1"Symbol 83 MovieClip Frame 100
"three"Symbol 84 MovieClip Frame 2
"sprinkler2"Symbol 84 MovieClip Frame 100
"off0"Symbol 97 MovieClip [bulb] Frame 1
"off1"Symbol 97 MovieClip [bulb] Frame 7
"off2"Symbol 97 MovieClip [bulb] Frame 12
"off3"Symbol 97 MovieClip [bulb] Frame 17
"off4"Symbol 97 MovieClip [bulb] Frame 22
"off5"Symbol 97 MovieClip [bulb] Frame 28
"on0"Symbol 97 MovieClip [bulb] Frame 34
"on1"Symbol 97 MovieClip [bulb] Frame 39
"on2"Symbol 97 MovieClip [bulb] Frame 44
"on3"Symbol 97 MovieClip [bulb] Frame 50
"on4"Symbol 97 MovieClip [bulb] Frame 56
"on5"Symbol 97 MovieClip [bulb] Frame 61




http://swfchan.com/26/127010/info.shtml
Created: 25/2 -2019 11:24:20 Last modified: 25/2 -2019 11:24:20 Server time: 22/12 -2024 07:49:07