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/59604988?noj=FRM59604988-22DC" width="1" height="1"></div>

heels-n-wheels.swf

This is the info page for
Flash #109531

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


Text
www.kokodigital.co.uk

Easy

Easy

Easy

We would like to keep you up to date with details of activities, including fundraising,
involving Cancer Research UK.

To receive the latest information by email please tick this box:

Name

Email

Submit score

Submit score

Submit score

Congratulations, you were amazing!

Congratulations, you were amazing!

x

0

0

You collected

You collected

0

Total score

Total score

Enter Race for Life 2009

and invite your friends and family to join you!

Enter Race for Life 2009

and invite your friends and family to join you!

Enter Race for Life 2009

and invite your friends and family to join you!!

Play again

Play again

Send to a friend

Send to a friend

Main menu

Main menu

Today's top 10

Today's top 10

1.

--------

Loading

2.

--------

Loading

3.

--------

Loading

4.

--------

Loading

5.

--------

Loading

6.

--------

Loading

7.

--------

Loading

8.

--------

Loading

9.

--------

Loading

10.

--------

Loading

Visit Race for Life

Visit Race for Life

Play game

Play game

Play game

Game controls

Game controls

Instructions

Instructions

Use the arrow keys to control
your camper van. When the
game starts your van will
automatically start moving!

Collect the ladies and
coins to score points

Reach the check points
to extend your game

Avoid the hazards and
obstacles in the road

How to play

How to play

Play game

Play game

Play game

Select your driver

Select your driver

View high scores

View high scores

Send to a friend

Send to a friend

We would like to keep you up to date with
details of activities, including fundraising,
involving Cancer Research UK.

To receive the latest information by
email please tick this box:

Enter your details

Enter your friends email addresses

Name

Email

Friend 1

Friend 2

Friend 3

Friend 4

Friend 5

Send

Send

Send

Invite your friends to play

Invite your friends to play

Please only send to people who would be happy to receive the email.

Sending invites

Sent

Get the girls together and take part in Race for Life this summer with
you. With over 230 events across the UK, there’s bound to be one
where you live, work or play.

Now do something really amazing!

Thank you for submitting your score!

Thank you for submitting your score!

Turbo

Turbo

Turbo

LADIES 1

x

0

0

ActionScript [AS3]

Section 1
//MD5 (com.adobe.crypto.MD5) package com.adobe.crypto { import com.adobe.utils.*; public class MD5 { private static function ff(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (transform(f, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } private static function createBlocks(_arg1:String):Array{ var _local2:Array; var _local3:int; var _local4:int; var _local5:int; _local2 = new Array(); _local3 = (_arg1.length * 8); _local4 = 0xFF; _local5 = 0; while (_local5 < _local3) { _local2[(_local5 >> 5)] = (_local2[(_local5 >> 5)] | ((_arg1.charCodeAt((_local5 / 8)) & _local4) << (_local5 % 32))); _local5 = (_local5 + 8); }; _local2[(_local3 >> 5)] = (_local2[(_local3 >> 5)] | (128 << (_local3 % 32))); _local2[((((_local3 + 64) >>> 9) << 4) + 14)] = _local3; return (_local2); } private static function ii(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (transform(i, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } private static function f(_arg1:int, _arg2:int, _arg3:int):int{ return (((_arg1 & _arg2) | (~(_arg1) & _arg3))); } private static function g(_arg1:int, _arg2:int, _arg3:int):int{ return (((_arg1 & _arg3) | (_arg2 & ~(_arg3)))); } private static function h(_arg1:int, _arg2:int, _arg3:int):int{ return (((_arg1 ^ _arg2) ^ _arg3)); } private static function i(_arg1:int, _arg2:int, _arg3:int):int{ return ((_arg2 ^ (_arg1 | ~(_arg3)))); } private static function transform(_arg1:Function, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:int):int{ var _local9:int; _local9 = (((_arg2 + int(_arg1(_arg3, _arg4, _arg5))) + _arg6) + _arg8); return ((IntUtil.rol(_local9, _arg7) + _arg3)); } private static function hh(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (transform(h, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } public static function hash(_arg1:String):String{ var _local2:int; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:Array; var _local11:int; var _local12:int; _local2 = 1732584193; _local3 = -271733879; _local4 = -1732584194; _local5 = 271733878; _local10 = createBlocks(_arg1); _local11 = _local10.length; _local12 = 0; while (_local12 < _local11) { _local6 = _local2; _local7 = _local3; _local8 = _local4; _local9 = _local5; _local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 0)], 7, -680876936); _local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 1)], 12, -389564586); _local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 2)], 17, 606105819); _local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 3)], 22, -1044525330); _local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 4)], 7, -176418897); _local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 5)], 12, 1200080426); _local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 6)], 17, -1473231341); _local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 7)], 22, -45705983); _local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 8)], 7, 1770035416); _local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 9)], 12, -1958414417); _local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 10)], 17, -42063); _local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 11)], 22, -1990404162); _local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 12)], 7, 1804603682); _local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 13)], 12, -40341101); _local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 14)], 17, -1502002290); _local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 15)], 22, 1236535329); _local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 1)], 5, -165796510); _local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 6)], 9, -1069501632); _local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 11)], 14, 643717713); _local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 0)], 20, -373897302); _local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 5)], 5, -701558691); _local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 10)], 9, 38016083); _local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 15)], 14, -660478335); _local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 4)], 20, -405537848); _local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 9)], 5, 568446438); _local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 14)], 9, -1019803690); _local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 3)], 14, -187363961); _local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 8)], 20, 1163531501); _local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 13)], 5, -1444681467); _local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 2)], 9, -51403784); _local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 7)], 14, 1735328473); _local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 12)], 20, -1926607734); _local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 5)], 4, -378558); _local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 8)], 11, -2022574463); _local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 11)], 16, 1839030562); _local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 14)], 23, -35309556); _local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 1)], 4, -1530992060); _local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 4)], 11, 1272893353); _local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 7)], 16, -155497632); _local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 10)], 23, -1094730640); _local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 13)], 4, 681279174); _local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 0)], 11, -358537222); _local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 3)], 16, -722521979); _local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 6)], 23, 76029189); _local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 9)], 4, -640364487); _local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 12)], 11, -421815835); _local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 15)], 16, 530742520); _local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 2)], 23, -995338651); _local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 0)], 6, -198630844); _local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 7)], 10, 1126891415); _local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 14)], 15, -1416354905); _local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 5)], 21, -57434055); _local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 12)], 6, 1700485571); _local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 3)], 10, -1894986606); _local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 10)], 15, -1051523); _local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 1)], 21, -2054922799); _local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 8)], 6, 1873313359); _local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 15)], 10, -30611744); _local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 6)], 15, -1560198380); _local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 13)], 21, 1309151649); _local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 4)], 6, -145523070); _local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 11)], 10, -1120210379); _local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 2)], 15, 718787259); _local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 9)], 21, -343485551); _local2 = (_local2 + _local6); _local3 = (_local3 + _local7); _local4 = (_local4 + _local8); _local5 = (_local5 + _local9); _local12 = (_local12 + 16); }; return ((((IntUtil.toHex(_local2) + IntUtil.toHex(_local3)) + IntUtil.toHex(_local4)) + IntUtil.toHex(_local5))); } private static function gg(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (transform(g, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } } }//package com.adobe.crypto
Section 2
//IntUtil (com.adobe.utils.IntUtil) package com.adobe.utils { public class IntUtil { private static var hexChars:String = "0123456789abcdef"; public static function toHex(_arg1:int, _arg2:Boolean=false):String{ var _local3:String; var _local4:int; var _local5:int; _local3 = ""; if (_arg2){ _local4 = 0; while (_local4 < 4) { _local3 = (_local3 + (hexChars.charAt(((_arg1 >> (((3 - _local4) * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> ((3 - _local4) * 8)) & 15)))); _local4++; }; } else { _local5 = 0; while (_local5 < 4) { _local3 = (_local3 + (hexChars.charAt(((_arg1 >> ((_local5 * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> (_local5 * 8)) & 15)))); _local5++; }; }; return (_local3); } public static function ror(_arg1:int, _arg2:int):uint{ var _local3:int; _local3 = (32 - _arg2); return (((_arg1 << _local3) | (_arg1 >>> (32 - _local3)))); } public static function rol(_arg1:int, _arg2:int):int{ return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2)))); } } }//package com.adobe.utils
Section 3
//Tracker (com.memecounter.Tracker) package com.memecounter { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.net.*; import flash.system.*; public class Tracker { private static var ori_dom:String; private static var lurl:String; private static var _isReady:Boolean = false; public static var a:uint = 0; public static var root:DisplayObject; public static var c:uint; public static var d:String = ""; private static var _isInited:Boolean = false; public static var fpv:String = ""; private static var l:Loader; private static var tracker:MovieClip; public static var da:Array = ["distralytics.com", "distralytics.co.uk"]; private static function loadError(_arg1:Event):void{ a++; lc(); } public static function init(_arg1:uint, _arg2:DisplayObject):void{ var _local3:uint; if (!_isInited){ _isInited = true; c = _arg1; root = _arg2; _local3 = 0; while (_local3 < da.length) { Security.allowDomain(da[_local3], ((c + ".c.") + da[_local3]), ("*." + da[_local3])); _local3++; }; ori_dom = (root.loaderInfo.parameters.hasOwnProperty("ori_dom")) ? root.loaderInfo.parameters.ori_dom : ""; d = ((ori_dom)!="") ? ori_dom : ((root.loaderInfo.loaderURL.split("/")[0].indexOf("http"))==-1) ? "Local" : root.loaderInfo.loaderURL.split("/")[2].split("?")[0]; fpv = Capabilities.version.split(" ")[1].split(",")[0]; lurl = ((((((((("/control/tracking/trackerAS3.swf" + "?c=") + c) + "&r=") + Math.floor((Math.random() * 10000000000))) + "&d=") + d) + "&p=") + fpv) + "&as=3"); l = new Loader(); l.contentLoaderInfo.addEventListener(Event.INIT, loadComplete); l.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError); lc(); }; } public static function get isReady():Boolean{ return (isReady); } public static function kvClick(_arg1:uint):void{ if (_isReady){ trace("CLICKTHROUGH SENT"); tracker.kvClick(_arg1); }; } public static function kvCountry():String{ if (_isReady){ return (tracker.kvCountry()); }; return (""); } public static function kvEvent(_arg1:uint):void{ if (_isReady){ trace("EVENT SENT"); tracker.kvEvent(_arg1); }; } private static function lc():void{ var _local1:String; _local1 = (((("http://" + c) + ".c.") + da[(a % da.length)]) + lurl); Security.allowDomain(_local1); l.load(new URLRequest(_local1)); } private static function loadComplete(_arg1:Event):void{ tracker = _arg1.target.content; tracker.init(getDefinitionByName("com.memecounter.Tracker"), root); _isReady = true; } } }//package com.memecounter
Section 4
//KeyboardControls (console.control.KeyboardControls) package console.control { import flash.display.*; import flash.events.*; public class KeyboardControls extends Sprite { public var _keyUp:int; public var _keyDown:int; public var _debug:Boolean; public var _keysDown_array:Array; public static const SINGLE_KEY_UP:String = "Key Up"; public static const MULTI_KEYS_DOWN:String = "Multi Keys Down"; public static const SINGLE_KEY_DOWN:String = "Key DOWN"; public function KeyboardControls(_arg1:Boolean):void{ _keysDown_array = new Array(); super(); _debug = _arg1; addEventListener(Event.ADDED_TO_STAGE, addKeyListeners); } public function fnKeyUp(_arg1:KeyboardEvent):void{ var _local2:*; var _local3:*; _local2 = _arg1.keyCode; _local3 = 0; while (_local3 < _keysDown_array.length) { if (_keysDown_array[_local3] == _local2){ _keyUp = _local2; _keysDown_array.splice(_local3, 1); dispatchEvent(new Event(KeyboardControls.SINGLE_KEY_UP)); }; _local3++; }; } public function dispatchMultiKeyEvent(_arg1:Event){ if (_keysDown_array.length > 0){ dispatchEvent(new Event(KeyboardControls.MULTI_KEYS_DOWN)); }; } public function fnKeyDown(_arg1:KeyboardEvent):void{ var _local2:*; var _local3:*; var _local4:*; _local2 = _arg1.keyCode; _local3 = false; _local4 = 0; while (_local4 < _keysDown_array.length) { if (_keysDown_array[_local4] == _local2){ _local3 = true; break; }; _local4++; }; if (!_local3){ if (_debug){ trace(("KEY PRESS CODE = " + _local2)); }; _keyDown = _local2; _keysDown_array.push(_arg1.keyCode); dispatchEvent(new Event(KeyboardControls.SINGLE_KEY_DOWN)); }; } public function addKeyListeners(_arg1:Event):void{ this.stage.addEventListener(KeyboardEvent.KEY_UP, fnKeyUp); this.stage.addEventListener(KeyboardEvent.KEY_DOWN, fnKeyDown); addEventListener(Event.ENTER_FRAME, dispatchMultiKeyEvent); } } }//package console.control
Section 5
//Perspective (console.engines.Perspective) package console.engines { public class Perspective { private var _intCameraFocalPos:int;// = 0 public var _intSpeedOffset;// = 0 private var _intScaleOffset:int;// = 0 private var _intFocalLength:int;// = 0 private var _intEndScale:int;// = 1 public static var _intSpeed = 0; public function Perspective(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5, _arg6){ _intFocalLength = 0; _intCameraFocalPos = 0; _intScaleOffset = 0; _intEndScale = 1; _intSpeedOffset = 0; super(); _intSpeed = _arg5; _intSpeedOffset = _arg6; _intFocalLength = _arg1; _intCameraFocalPos = _arg2; _intScaleOffset = _arg3; _intEndScale = _arg4; } public function moveInPerspective(_arg1:Object, _arg2:int, _arg3:int):void{ var _local4:Number; _arg1.intPosZ = (_arg1.intPosZ - (_intSpeed / _intSpeedOffset)); if (_arg1.visible){ _local4 = (_intFocalLength / (_intCameraFocalPos + _arg1.intPosZ)); _arg1.target_mc.x = (_arg2 + (_arg1.intEndX * _local4)); _arg1.target_mc.y = (_arg3 + (_arg1.intEndY * _local4)); _arg1.target_mc.scaleX = (_arg1.target_mc.scaleY = ((_intEndScale * _local4) + _intScaleOffset)); _arg1.removeClip = false; if (_arg1.intPosZ < 30){ _arg1.removeClip = true; }; }; } public function setPerspective(_arg1:Object, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int):void{ var _local7:Number; _local7 = (_intFocalLength / (_intCameraFocalPos + _arg6)); _arg1.x = (_arg2 + (_arg4 * _local7)); _arg1.y = (_arg3 + (_arg5 * _local7)); _arg1.scaleX = (_arg1.scaleY = ((_intEndScale * _local7) + _intScaleOffset)); } } }//package console.engines
Section 6
//TimeBasedAnimation (console.engines.TimeBasedAnimation) package console.engines { import flash.display.*; import flash.events.*; import flash.utils.*; public class TimeBasedAnimation extends Sprite { private static var _timeDiff:int; private static var _lastTime:int = 0; public function startTimer():void{ _lastTime = getTimer(); addEventListener(Event.ENTER_FRAME, setTimeDiff); } public function setTimeDiff(_arg1:Event):void{ _timeDiff = (getTimer() - _lastTime); _lastTime = (_lastTime + _timeDiff); } public function returnTimeDiff():int{ return (_timeDiff); } } }//package console.engines
Section 7
//CommonHighScore (console.highscore.CommonHighScore) package console.highscore { import flash.events.*; import console.parsers.*; public class CommonHighScore extends EventDispatcher { public var _highScores:Array; public var _xmlPass; public static const SCORES_LOADED:String = "SCORESLOADED"; public static const SCORES_FAILED:String = "SCORESFAILED"; public function CommonHighScore(){ _xmlPass = new ParseXML(); super(); } public function xml_progress(_arg1:Event):void{ trace(_arg1.target._progressBytesPerc); } public function xml_display(_arg1:Event):void{ var _local2:XML; var _local3:uint; var _local4:*; var _local5:*; var _local6:Array; var _local7:*; _xmlPass.removeEventListener(ParseXML.XML_LOADED, xml_display); _xmlPass.removeEventListener(ParseXML.XML_FAILED, xml_failed); _xmlPass.removeEventListener(ParseXML.XML_PROGRESS, xml_progress); _local2 = _xmlPass._xmlDoc; _highScores = null; _highScores = new Array(); _local3 = _local2.daily_scores.entry.length(); _local4 = 1; while (_local4 <= _local3) { _local5 = _local2.daily_scores.entry[(_local4 - 1)]; _local6 = new Array(); _local6.push(_local4); _local7 = 0; while (_local7 <= 50) { if (_local5.attributes()[_local7] != undefined){ _local6.push(_local5.attributes()[_local7]); trace(("ATT = " + _local5.attributes()[_local7])); }; _local7++; }; _highScores.push(_local6); _local4++; }; trace(("ATTRIBUTES ARRAY = " + _highScores[0])); trace(("SCORES ARRAY = " + _highScores)); dispatchEvent(new Event(CommonHighScore.SCORES_LOADED)); } public function xml_failed(_arg1:Event):void{ dispatchEvent(new Event(CommonHighScore.SCORES_FAILED)); } public function showScores(_arg1):void{ _xmlPass.addEventListener(ParseXML.XML_LOADED, xml_display); _xmlPass.addEventListener(ParseXML.XML_FAILED, xml_failed); _xmlPass.addEventListener(ParseXML.XML_PROGRESS, xml_progress); _xmlPass.parseURL(_arg1, true); } } }//package console.highscore
Section 8
//Cache (console.loaders.Cache) package console.loaders { public class Cache { public function returnAntiCacheURL(_arg1:String):String{ var _local2:*; var _local3:*; var _local4:*; _local2 = ("rand=" + Math.ceil((Math.random() * 1000000))); _local3 = "?"; _local4 = 0; while (_local4 < _arg1.length) { if (_arg1.charAt(_local4) == "?"){ _local3 = "&"; break; }; _local4++; }; _arg1 = (_arg1 + (_local3 + _local2)); return (_arg1); } } }//package console.loaders
Section 9
//SendReceiveData (console.loaders.SendReceiveData) package console.loaders { import flash.events.*; import flash.net.*; public class SendReceiveData extends EventDispatcher { public var _loader:URLLoader; public var _errorMessage:String; public static const DATA_LOADED:String = "Data Loaded"; public static const DATA_ERROR:String = "Data Error"; public function onError(_arg1:IOErrorEvent){ trace(("ERROR = " + _arg1.text)); trace("POSSIBLE PROBLEMS - crossdomain.xml missing"); _errorMessage = _arg1.text; dispatchEvent(new Event(SendReceiveData.DATA_ERROR)); } public function sendData(_arg1:String, _arg2:URLVariables):void{ var _local3:URLRequest; _local3 = new URLRequest(_arg1); _local3.data = _arg2; _local3.method = URLRequestMethod.POST; _loader = new URLLoader(); _loader.addEventListener(Event.COMPLETE, onComplete); _loader.addEventListener(IOErrorEvent.IO_ERROR, onError); _loader.load(_local3); } public function onComplete(_arg1:Event){ dispatchEvent(new Event(SendReceiveData.DATA_LOADED)); } } }//package console.loaders
Section 10
//URLPreload (console.loaders.URLPreload) package console.loaders { import flash.events.*; import flash.net.*; public class URLPreload extends EventDispatcher { public var _progressBytesTotal:uint; public var _progress:uint; private var _URL:String; public var _progressBytesPerc:uint; public var _urlLoader:URLLoader;// = null public var _progressBytesLoaded:uint; private var _retry:uint;// = 0 private var _antiCache:Boolean; public static const LOAD_COMPLETE:String = "Complete"; public static const LOAD_PROGRESS:String = "Load Progress"; public static const LOAD_ERROR:String = "Error"; public function URLPreload(_arg1:String, _arg2:Boolean){ _retry = 0; _urlLoader = null; super(); _URL = _arg1; _antiCache = _arg2; setupPreload(_URL, _antiCache); } private function onProgress(_arg1:ProgressEvent):void{ _progressBytesLoaded = _arg1.target.bytesLoaded; _progressBytesTotal = _arg1.target.bytesTotal; _progressBytesPerc = ((_arg1.target.bytesLoaded / _arg1.target.bytesTotal) * 100); dispatchEvent(new Event(URLPreload.LOAD_PROGRESS)); } public function setupPreload(_arg1:String, _arg2:Boolean){ var _local3:URLRequest; var _local4:*; if (_arg2){ _local4 = new Cache(); _arg1 = _local4.returnAntiCacheURL(_arg1); trace(("URL: " + _arg1)); }; _local3 = new URLRequest(_arg1); _local3.method = URLRequestMethod.POST; _urlLoader = new URLLoader(); _urlLoader.load(_local3); _urlLoader.addEventListener(Event.COMPLETE, onComplete); _urlLoader.addEventListener(ProgressEvent.PROGRESS, onProgress); _urlLoader.addEventListener(IOErrorEvent.IO_ERROR, onError); } private function onError(_arg1:IOErrorEvent):void{ if (_retry > 10){ dispatchEvent(new Event(URLPreload.LOAD_ERROR)); } else { _retry++; setupPreload(_URL, _antiCache); }; } private function onComplete(_arg1:Event):void{ dispatchEvent(new Event(URLPreload.LOAD_COMPLETE)); } } }//package console.loaders
Section 11
//OpenURL (console.loadurl.OpenURL) package console.loadurl { import flash.net.*; import flash.external.*; public class OpenURL { public static function loadURL(_arg1:String, _arg2:String="_blank"):void{ var WINDOW_OPEN_FUNCTION:String; var url = _arg1; var window = _arg2; WINDOW_OPEN_FUNCTION = "window.open"; if (ExternalInterface.available){ try { ExternalInterface.call(WINDOW_OPEN_FUNCTION, url, window); trace("EXTERNAL INTERFACE TO URL"); } catch(e:Error) { navigateToURL(new URLRequest(url), window); trace("NAVIGATE TO URL"); }; } else { navigateToURL(new URLRequest(url), window); trace("EXTERNAL INTERFACE NOT AVAILABLE"); }; } } }//package console.loadurl
Section 12
//ParseTOKEN (console.parsers.ParseTOKEN) package console.parsers { import flash.events.*; import flash.net.*; import com.adobe.crypto.*; import console.loaders.*; public class ParseTOKEN extends EventDispatcher { public var _loadToken; public var _loadedVars:URLVariables; public var _token:String; private var _MD5; public static const TOKEN_GENERATED:String = "Token Generated"; public function ParseTOKEN(_arg1){ var _local2:URLVariables; _MD5 = new MD5(); super(); _local2 = new URLVariables(); _local2.action = "token_generate"; _loadToken = new SendReceiveData(); _loadToken.sendData(_arg1, _local2); _loadToken.addEventListener(SendReceiveData.DATA_LOADED, loadToken); } public function loadToken(_arg1:Event):void{ var _local2:URLLoader; var _local3:String; var _local4:*; var _local5:*; var _local6:*; var _local7:*; _local2 = URLLoader(_arg1.target._loader); _loadedVars = new URLVariables(_local2.data); _token = _loadedVars.token; _local3 = _token.substr(28, 8); _local4 = MD5.hash(_local3); _local5 = Math.ceil((Math.random() * 1000000)); _local6 = Math.ceil((Math.random() * 1000000)); _local7 = Math.ceil((Math.random() * 1000000)); _token = (((MD5.hash(_local5) + MD5.hash(_local6)) + _local4) + MD5.hash(_local7)); trace(_token); dispatchEvent(new Event(ParseTOKEN.TOKEN_GENERATED)); } } }//package console.parsers
Section 13
//ParseXML (console.parsers.ParseXML) package console.parsers { import flash.events.*; import flash.net.*; import console.loaders.*; public class ParseXML extends EventDispatcher { public var _progressBytesPerc:uint;// = 0 public var _progressBytesTotal:uint;// = 0 public var _xmlDoc:XML; public var _tag:String;// = null private var _urlLoader:URLLoader; public var _progressBytesLoaded:uint;// = 0 public var _loaded:Boolean;// = false public var _preloader:URLPreload; public static const XML_FAILED:String = "XMLFailed"; public static const XML_PROGRESS:String = "XMLProgress"; public static const XML_LOADED:String = "XMLLoaded"; public function ParseXML(){ _tag = null; _progressBytesLoaded = 0; _progressBytesTotal = 0; _progressBytesPerc = 0; _loaded = false; super(); } public function checkProgress(_arg1:Event):void{ _progressBytesLoaded = _arg1.target._progressBytesLoaded; _progressBytesTotal = _arg1.target._progressBytesTotal; _progressBytesPerc = _arg1.target._progressBytesPerc; dispatchEvent(new Event(ParseXML.XML_PROGRESS)); } public function parseURL(_arg1:String, _arg2:Boolean):void{ _preloader = new URLPreload(_arg1, _arg2); _preloader.addEventListener(URLPreload.LOAD_PROGRESS, checkProgress); _preloader.addEventListener(URLPreload.LOAD_COMPLETE, completeLoad); } public function completeLoad(_arg1:Event):void{ _xmlDoc = new XML(_arg1.target._urlLoader.data); dispatchEvent(new Event(ParseXML.XML_LOADED)); } } }//package console.parsers
Section 14
//StringUtils (console.strings.StringUtils) package console.strings { public class StringUtils { private static function _swapCase(_arg1:String, ... _args):String{ var _local3:String; var _local4:String; _local3 = _arg1.toLowerCase(); _local4 = _arg1.toUpperCase(); switch (_arg1){ case _local3: return (_local4); case _local4: return (_local3); default: return (_arg1); }; } public static function isEmpty(_arg1:String):Boolean{ if (_arg1 == null){ return (true); }; return (!(_arg1.length)); } public static function remove(_arg1:String, _arg2:String, _arg3:Boolean=true):String{ var _local4:String; var _local5:String; if (_arg1 == null){ return (""); }; _local4 = escapePattern(_arg2); _local5 = (_arg3) ? "g" : "ig"; return (_arg1.replace(new RegExp(_local4, _local5), "")); } public static function countOf(_arg1:String, _arg2:String, _arg3:Boolean=true):uint{ var _local4:String; var _local5:String; if (_arg1 == null){ return (0); }; _local4 = escapePattern(_arg2); _local5 = (_arg3) ? "g" : "ig"; return (_arg1.match(new RegExp(_local4, _local5)).length); } public static function between(_arg1:String, _arg2:String, _arg3:String):String{ var _local4:String; var _local5:int; var _local6:int; _local4 = ""; if (_arg1 == null){ return (_local4); }; _local5 = _arg1.indexOf(_arg2); if (_local5 != -1){ _local5 = (_local5 + _arg2.length); _local6 = _arg1.indexOf(_arg3, _local5); if (_local6 != -1){ _local4 = _arg1.substr(_local5, (_local6 - _local5)); }; }; return (_local4); } public static function padRight(_arg1:String, _arg2:String, _arg3:uint):String{ var _local4:String; _local4 = _arg1; while (_local4.length < _arg3) { _local4 = (_local4 + _arg2); }; return (_local4); } public static function isNumeric(_arg1:String):Boolean{ var _local2:RegExp; if (_arg1 == null){ return (false); }; _local2 = /^[-+]?\d*\.?\d+(?:[eE][-+]?\d+)?$/; return (_local2.test(_arg1)); } public static function block(_arg1:String, _arg2:uint, _arg3:String="."):Array{ var _local4:Array; var _local5:uint; var _local6:uint; var _local7:RegExp; var _local8:String; _local4 = new Array(); if ((((_arg1 == null)) || (!(contains(_arg1, _arg3))))){ return (_local4); }; _local5 = 0; _local6 = _arg1.length; _local7 = new RegExp((("[^" + escapePattern(_arg3)) + "]+$")); while (_local5 < _local6) { _local8 = _arg1.substr(_local5, _arg2); if (!contains(_local8, _arg3)){ _local4.push(truncate(_local8, _local8.length)); _local5 = (_local5 + _local8.length); }; _local8 = _local8.replace(_local7, ""); _local4.push(_local8); _local5 = (_local5 + _local8.length); }; return (_local4); } public static function trim(_arg1:String):String{ if (_arg1 == null){ return (""); }; return (_arg1.replace(/^\s+|\s+$/g, "")); } public static function beginsWith(_arg1:String, _arg2:String):Boolean{ if (_arg1 == null){ return (false); }; return ((_arg1.indexOf(_arg2) == 0)); } public static function stripTags(_arg1:String):String{ if (_arg1 == null){ return (""); }; return (_arg1.replace(/<\/?[^>]+>/igm, "")); } public static function afterLast(_arg1:String, _arg2:String):String{ var _local3:int; if (_arg1 == null){ return (""); }; _local3 = _arg1.lastIndexOf(_arg2); if (_local3 == -1){ return (""); }; _local3 = (_local3 + _arg2.length); return (_arg1.substr(_local3)); } private static function _minimum(_arg1:uint, _arg2:uint, _arg3:uint):uint{ return (Math.min(_arg1, Math.min(_arg2, Math.min(_arg3, _arg1)))); } private static function escapePattern(_arg1:String):String{ return (_arg1.replace(/(\]|\[|\{|\}|\(|\)|\*|\+|\?|\.|\\)/g, "\\$1")); } public static function removeExtraWhitespace(_arg1:String):String{ var _local2:String; if (_arg1 == null){ return (""); }; _local2 = trim(_arg1); return (_local2.replace(/\s+/g, " ")); } public static function trimRight(_arg1:String):String{ if (_arg1 == null){ return (""); }; return (_arg1.replace(/\s+$/, "")); } public static function endsWith(_arg1:String, _arg2:String):Boolean{ return ((_arg1.lastIndexOf(_arg2) == (_arg1.length - _arg2.length))); } public static function contains(_arg1:String, _arg2:String):Boolean{ if (_arg1 == null){ return (false); }; return (!((_arg1.indexOf(_arg2) == -1))); } public static function properCase(_arg1:String):String{ var _local2:String; if (_arg1 == null){ return (""); }; _local2 = _arg1.toLowerCase().replace(/\b([^.?;!]+)/, capitalize); return (_local2.replace(/\b[i]\b/, "I")); } public static function trimLeft(_arg1:String):String{ if (_arg1 == null){ return (""); }; return (_arg1.replace(/^\s+/, "")); } public static function similarity(_arg1:String, _arg2:String):Number{ var _local3:uint; var _local4:uint; _local3 = editDistance(_arg1, _arg2); _local4 = Math.max(_arg1.length, _arg2.length); if (_local4 == 0){ return (100); }; return (((1 - (_local3 / _local4)) * 100)); } public static function wordCount(_arg1:String):uint{ if (_arg1 == null){ return (0); }; return (_arg1.match(/\b\w+\b/g).length); } public static function editDistance(_arg1:String, _arg2:String):uint{ var _local3:uint; var _local4:Array; var _local5:uint; var _local6:uint; var _local7:uint; var _local8:uint; var _local9:String; var _local10:String; if (_arg1 == null){ _arg1 = ""; }; if (_arg2 == null){ _arg2 = ""; }; if (_arg1 == _arg2){ return (0); }; _local4 = new Array(); _local6 = _arg1.length; _local7 = _arg2.length; if (_local6 == 0){ return (_local7); }; if (_local7 == 0){ return (_local6); }; _local3 = 0; while (_local3 <= _local6) { _local4[_local3] = new Array(); _local3++; }; _local3 = 0; while (_local3 <= _local6) { _local4[_local3][0] = _local3; _local3++; }; _local8 = 0; while (_local8 <= _local7) { _local4[0][_local8] = _local8; _local8++; }; _local3 = 1; while (_local3 <= _local6) { _local9 = _arg1.charAt((_local3 - 1)); _local8 = 1; while (_local8 <= _local7) { _local10 = _arg2.charAt((_local8 - 1)); if (_local9 == _local10){ _local5 = 0; } else { _local5 = 1; }; _local4[_local3][_local8] = _minimum((_local4[(_local3 - 1)][_local8] + 1), (_local4[_local3][(_local8 - 1)] + 1), (_local4[(_local3 - 1)][(_local8 - 1)] + _local5)); _local8++; }; _local3++; }; return (_local4[_local6][_local7]); } public static function hasText(_arg1:String):Boolean{ var _local2:String; _local2 = removeExtraWhitespace(_arg1); return (!(!(_local2.length))); } public static function reverse(_arg1:String):String{ if (_arg1 == null){ return (""); }; return (_arg1.split("").reverse().join("")); } public static function swapCase(_arg1:String):String{ if (_arg1 == null){ return (""); }; return (_arg1.replace(/(\w)/, _swapCase)); } public static function capitalize(_arg1:String, ... _args):String{ var _local3:String; _local3 = trimLeft(_arg1); trace("capl", _args[0]); if (_args[0] === true){ return (_local3.replace(/^.|\b./g, _upperCase)); }; return (_local3.replace(/(^\w)/, _upperCase)); } public static function truncate(_arg1:String, _arg2:uint, _arg3:String="..."):String{ var _local4:String; if (_arg1 == null){ return (""); }; _arg2 = (_arg2 - _arg3.length); _local4 = _arg1; if (_local4.length > _arg2){ _local4 = _local4.substr(0, _arg2); if (/[^\s]/.test(_arg1.charAt(_arg2))){ _local4 = trimRight(_local4.replace(/\w+$|\s+$/, "")); }; _local4 = (_local4 + _arg3); }; return (_local4); } public static function reverseWords(_arg1:String):String{ if (_arg1 == null){ return (""); }; return (_arg1.split(/\s+/).reverse().join("")); } public static function beforeFirst(_arg1:String, _arg2:String):String{ var _local3:int; if (_arg1 == null){ return (""); }; _local3 = _arg1.indexOf(_arg2); if (_local3 == -1){ return (""); }; return (_arg1.substr(0, _local3)); } private static function _upperCase(_arg1:String, ... _args):String{ trace("cap latter ", _arg1); return (_arg1.toUpperCase()); } public static function afterFirst(_arg1:String, _arg2:String):String{ var _local3:int; if (_arg1 == null){ return (""); }; _local3 = _arg1.indexOf(_arg2); if (_local3 == -1){ return (""); }; _local3 = (_local3 + _arg2.length); return (_arg1.substr(_local3)); } public static function beforeLast(_arg1:String, _arg2:String):String{ var _local3:int; if (_arg1 == null){ return (""); }; _local3 = _arg1.lastIndexOf(_arg2); if (_local3 == -1){ return (""); }; return (_arg1.substr(0, _local3)); } public static function padLeft(_arg1:String, _arg2:String, _arg3:uint):String{ var _local4:String; _local4 = _arg1; while (_local4.length < _arg3) { _local4 = (_arg2 + _local4); }; return (_local4); } public static function quote(_arg1:String):String{ var _local2:RegExp; _local2 = /[\\"\r\n]/g; return ((("\"" + _arg1.replace(_local2, _quote)) + "\"")); } private static function _quote(_arg1:String, ... _args):String{ switch (_arg1){ case "\\": return ("\\\\"); case "\r": return ("\\r"); case "\n": return ("\\n"); case "\"": return ("\\\""); default: return (""); }; } } }//package console.strings
Section 15
//MochiBot (console.trackers.MochiBot) package console.trackers { import flash.display.*; import flash.net.*; import flash.system.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ var _local3:MochiBot; var _local4:String; var _local5:URLVariables; var _local6:String; var _local7:URLRequest; var _local8:Loader; trace("RUN MOCHIBOT TRACKING"); if (Security.sandboxType == "localWithFile"){ return (null); }; _local3 = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); _local4 = "http://core.mochibot.com/my/core.swf"; _local5 = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; _local6 = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; _local7 = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; _local8 = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package console.trackers
Section 16
//badLANGUAGE (console.verification.badLANGUAGE) package console.verification { import flash.display.*; import console.strings.*; public class badLANGUAGE extends MovieClip { private static const swearing:Array = new Array("anal", "arse", "ass", "asshole", "bastard", "bellend", "bitch", "boob", "bollocks", "bollox", "bukkake", "clit", "crap", "cum", "cunt", "cunting", "dick", "dicks", "facial", "faggot", "fanny", "fisting", "fuck", "fucker", "fucking", "gay", "jizz", "lesbian", "knob", "nob", "penis", "phedo", "phedophile", "phedophilia", "phallace", "piss", "pisshead", "pussy", "poo", "prick", "puff", "scrubber", "shit", "stab", "slag", "slut", "smeg", "spunk", "stupid", "tit", "tits", "titty", "turd", "wank", "wanker", "wanking", "whore"); public function Report(_arg1:Array, _arg2:uint):void{ var _local3:uint; if (_arg2 > 0){ trace("--------------- SWEARING CHECK ----------------"); trace((_arg2 + " account of swearing")); trace("----------------- WORDS USED ------------------"); _local3 = 0; while (_local3 < _arg1.length) { trace(("FOUND:" + _arg1[_local3])); _local3++; }; } else { trace("--------------- NO SWEARING DETECTED----------------"); }; } public function Remove(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=false):String{ var _local4:uint; var _local5:Array; var _local6:uint; var _local7:*; var _local8:uint; var _local9:*; var _local10:uint; _local4 = 0; _local5 = new Array(); _local6 = 0; while (_local6 < swearing.length) { _local9 = StringUtils.countOf(_arg1, swearing[_local6], false); _local4 = (_local4 + _local9); if (_local9 > 0){ _local10 = 0; while (_local10 < _local9) { _local5.push(swearing[_local10]); _local10++; }; }; _local6++; }; _local7 = _arg1; _local8 = 0; while (_local8 < swearing.length) { _local7 = StringUtils.remove(_local7, swearing[_local8], false); _local8++; }; if (!_arg2){ return (_arg1); }; return (_local7); } public function Detect(_arg1:String, _arg2:Boolean=true, _arg3:Boolean=false):String{ var _local4:Array; var _local5:Array; var _local6:*; var _local7:int; var _local8:int; var _local9:*; var _local10:Boolean; var _local11:uint; _local4 = _arg1.split(" "); _local5 = new Array(); _local6 = ""; _local7 = 0; while (_local7 < _local4.length) { _local9 = _local4[_local7]; _local10 = false; _local11 = 0; while (_local11 < swearing.length) { if (_local9.toLowerCase() == swearing[_local11]){ _local10 = true; }; _local11++; }; if (!_local10){ _local5.push(_local9); }; _local7++; }; _local8 = 0; while (_local8 < _local5.length) { if (_local8 == (_local5.length - 1)){ _local6 = (_local6 + _local5[_local8]); } else { _local6 = (_local6 + (_local5[_local8] + " ")); }; _local8++; }; return (_local6); } } }//package console.verification
Section 17
//formVERIFY (console.verification.formVERIFY) package console.verification { public class formVERIFY { public function email(_arg1:String):Boolean{ var _local2:String; var _local3:int; var _local4:String; var _local5:Boolean; var _local6:Boolean; var _local7:Boolean; var _local8:uint; var _local9:String; _local2 = "@"; _local4 = "."; _local5 = false; _local6 = false; _local7 = false; _local8 = 0; while (_local8 < _arg1.length) { _local9 = new String(); _local9 = _arg1.substr(_local8, 1); if (_local9 == _local2){ _local3 = _local8; _local5 = true; }; if ((((_local9 == _local4)) && (_local5))){ _local6 = true; }; _local8++; }; if (((_local5) && (_local6))){ _local7 = true; } else { _local7 = false; }; return (_local7); } } }//package console.verification
Section 18
//Color (fl.motion.Color) package fl.motion { import flash.display.*; import flash.geom.*; public class Color extends ColorTransform { private var _tintMultiplier:Number;// = 0 private var _tintColor:Number;// = 0 public function Color(_arg1:Number=1, _arg2:Number=1, _arg3:Number=1, _arg4:Number=1, _arg5:Number=0, _arg6:Number=0, _arg7:Number=0, _arg8:Number=0){ _tintColor = 0; _tintMultiplier = 0; super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8); } public function setTint(_arg1:uint, _arg2:Number):void{ var _local3:uint; var _local4:uint; var _local5:uint; this._tintColor = _arg1; this._tintMultiplier = _arg2; this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = (1 - _arg2))); _local3 = ((_arg1 >> 16) & 0xFF); _local4 = ((_arg1 >> 8) & 0xFF); _local5 = (_arg1 & 0xFF); this.redOffset = Math.round((_local3 * _arg2)); this.greenOffset = Math.round((_local4 * _arg2)); this.blueOffset = Math.round((_local5 * _arg2)); } public function set tintColor(_arg1:uint):void{ this.setTint(_arg1, this.tintMultiplier); } public function get brightness():Number{ return ((this.redOffset) ? (1 - this.redMultiplier) : (this.redMultiplier - 1)); } private function deriveTintColor():uint{ var _local1:Number; var _local2:uint; var _local3:uint; var _local4:uint; var _local5:uint; _local1 = (1 / this.tintMultiplier); _local2 = Math.round((this.redOffset * _local1)); _local3 = Math.round((this.greenOffset * _local1)); _local4 = Math.round((this.blueOffset * _local1)); _local5 = (((_local2 << 16) | (_local3 << 8)) | _local4); return (_local5); } public function get tintMultiplier():Number{ return (this._tintMultiplier); } public function get tintColor():uint{ return (this._tintColor); } public function set brightness(_arg1:Number):void{ var _local2:Number; var _local3:Number; if (_arg1 > 1){ _arg1 = 1; } else { if (_arg1 < -1){ _arg1 = -1; }; }; _local2 = (1 - Math.abs(_arg1)); _local3 = 0; if (_arg1 > 0){ _local3 = (_arg1 * 0xFF); }; this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = _local2)); this.redOffset = (this.greenOffset = (this.blueOffset = _local3)); } public function set tintMultiplier(_arg1:Number):void{ this.setTint(this.tintColor, _arg1); } private function parseXML(_arg1:XML=null):Color{ var _local2:XML; var _local3:XML; var _local4:String; var _local5:uint; if (!_arg1){ return (this); }; _local2 = _arg1.elements()[0]; if (!_local2){ return (this); }; for each (_local3 in _local2.attributes()) { _local4 = _local3.localName(); if (_local4 == "tintColor"){ _local5 = (Number(_local3.toString()) as uint); this.tintColor = _local5; } else { this[_local4] = Number(_local3.toString()); }; }; return (this); } public static function interpolateColor(_arg1:uint, _arg2:uint, _arg3:Number):uint{ var _local4:Number; var _local5:uint; var _local6:uint; var _local7:uint; var _local8:uint; var _local9:uint; var _local10:uint; var _local11:uint; var _local12:uint; var _local13:uint; var _local14:uint; var _local15:uint; var _local16:uint; var _local17:uint; _local4 = (1 - _arg3); _local5 = ((_arg1 >> 24) & 0xFF); _local6 = ((_arg1 >> 16) & 0xFF); _local7 = ((_arg1 >> 8) & 0xFF); _local8 = (_arg1 & 0xFF); _local9 = ((_arg2 >> 24) & 0xFF); _local10 = ((_arg2 >> 16) & 0xFF); _local11 = ((_arg2 >> 8) & 0xFF); _local12 = (_arg2 & 0xFF); _local13 = ((_local5 * _local4) + (_local9 * _arg3)); _local14 = ((_local6 * _local4) + (_local10 * _arg3)); _local15 = ((_local7 * _local4) + (_local11 * _arg3)); _local16 = ((_local8 * _local4) + (_local12 * _arg3)); _local17 = ((((_local13 << 24) | (_local14 << 16)) | (_local15 << 8)) | _local16); return (_local17); } public static function interpolateTransform(_arg1:ColorTransform, _arg2:ColorTransform, _arg3:Number):ColorTransform{ var _local4:Number; var _local5:ColorTransform; _local4 = (1 - _arg3); _local5 = new ColorTransform(((_arg1.redMultiplier * _local4) + (_arg2.redMultiplier * _arg3)), ((_arg1.greenMultiplier * _local4) + (_arg2.greenMultiplier * _arg3)), ((_arg1.blueMultiplier * _local4) + (_arg2.blueMultiplier * _arg3)), ((_arg1.alphaMultiplier * _local4) + (_arg2.alphaMultiplier * _arg3)), ((_arg1.redOffset * _local4) + (_arg2.redOffset * _arg3)), ((_arg1.greenOffset * _local4) + (_arg2.greenOffset * _arg3)), ((_arg1.blueOffset * _local4) + (_arg2.blueOffset * _arg3)), ((_arg1.alphaOffset * _local4) + (_arg2.alphaOffset * _arg3))); return (_local5); } public static function fromXML(_arg1:XML):Color{ return (Color(new (Color).parseXML(_arg1))); } } }//package fl.motion
Section 19
//Back (gs.easing.Back) package gs.easing { public class Back { public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 1)) + _arg2)); } public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{ _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * (((_arg5 + 1) * _arg1) - _arg5)) + _arg2)); } public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1.70158):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ _arg5 = (_arg5 * 1.525); return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) - _arg5))) + _arg2)); }; _arg1 = (_arg1 - 2); _arg5 = (_arg5 * 1.525); return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_arg5 + 1) * _arg1) + _arg5)) + 2)) + _arg2)); } } }//package gs.easing
Section 20
//TweenEvent (gs.events.TweenEvent) package gs.events { import flash.events.*; public class TweenEvent extends Event { public var info:Object; public static const UPDATE:String = "update"; public static const START:String = "start"; public static const version:Number = 0.9; public static const COMPLETE:String = "complete"; public function TweenEvent(_arg1:String, _arg2:Object=null, _arg3:Boolean=false, _arg4:Boolean=false){ super(_arg1, _arg3, _arg4); this.info = _arg2; } override public function clone():Event{ return (new TweenEvent(this.type, this.info, this.bubbles, this.cancelable)); } } }//package gs.events
Section 21
//OverwriteManager (gs.OverwriteManager) package gs { import flash.utils.*; import flash.errors.*; public class OverwriteManager { public static const ALL:int = 1; public static const NONE:int = 0; public static const AUTO:int = 2; public static const CONCURRENT:int = 3; public static const version:Number = 0.96; public static var mode:int; public static var enabled:Boolean; public static function killVars(_arg1:Object, _arg2:Object, _arg3:Array, _arg4:Array, _arg5:Array):void{ var _local6:int; var _local7:String; _local6 = (_arg4.length - 1); while (_local6 > -1) { if (_arg1[_arg4[_local6].name] != undefined){ _arg4.splice(_local6, 1); }; _local6--; }; _local6 = (_arg3.length - 1); while (_local6 > -1) { if (_arg1[_arg3[_local6].name] != undefined){ _arg3.splice(_local6, 1); }; _local6--; }; _local6 = (_arg5.length - 1); while (_local6 > -1) { if (_arg1[_arg5[_local6].name] != undefined){ _arg5.splice(_local6, 1); }; _local6--; }; for (_local7 in _arg1) { delete _arg2[_local7]; }; } public static function manageOverwrites(_arg1:TweenLite, _arg2:Dictionary):void{ var _local3:Object; var _local4:int; var _local5:Object; var _local6:Number; var _local7:Array; var _local8:int; var _local9:Object; var _local10:String; _local3 = _arg1.vars; _local4 = ((_local3.overwrite)==undefined) ? mode : int(_local3.overwrite); if (_local4 < 2){ return; }; _local6 = _arg1.startTime; _local7 = []; for each (_local5 in _arg2) { if (((!((_local5 == _arg1))) && ((_local5.startTime <= _local6)))){ _local7[_local7.length] = _local5; }; }; if (_local7.length == 0){ return; }; if (_local4 == AUTO){ if (_local3.isTV == true){ _local3 = _local3.exposedProps; }; _local9 = {}; for (_local10 in _local3) { if ((((((((((((((((((((((((((((((((((((((_local10 == "ease")) || ((_local10 == "delay")))) || ((_local10 == "overwrite")))) || ((_local10 == "onComplete")))) || ((_local10 == "onCompleteParams")))) || ((_local10 == "runBackwards")))) || ((_local10 == "persist")))) || ((_local10 == "onUpdate")))) || ((_local10 == "onUpdateParams")))) || ((_local10 == "timeScale")))) || ((_local10 == "onStart")))) || ((_local10 == "onStartParams")))) || ((_local10 == "renderOnStart")))) || ((_local10 == "proxiedEase")))) || ((_local10 == "easeParams")))) || ((_local10 == "onCompleteAll")))) || ((_local10 == "onCompleteAllParams")))) || ((_local10 == "yoyo")))) || ((_local10 == "loop")))){ } else { _local9[_local10] = 1; }; }; _local8 = (_local7.length - 1); while (_local8 > -1) { _local7[_local8].killVars(_local9); _local8--; }; } else { _local8 = (_local7.length - 1); while (_local8 > -1) { _arg2[_local7[_local8]] = null; delete _arg2[_local7[_local8]]; _local8--; }; }; } public static function init(_arg1:int=2):int{ if (TweenLite.version < 8.14){ trace("TweenLite warning: Your TweenLite class needs to be updated to work with OverwriteManager (or you may need to clear your ASO files). Please download and install the latest version from http://www.tweenlite.com."); }; TweenLite.overwriteManager = OverwriteManager; mode = _arg1; enabled = true; return (mode); } } }//package gs
Section 22
//TweenFilterLite (gs.TweenFilterLite) package gs { import flash.filters.*; public class TweenFilterLite extends TweenLite { protected var _endMatrix:Array; protected var _hf:Boolean;// = false protected var _clrsa:Array; protected var _filters:Array; protected var _originalEase:Function; protected var _matrix:Array; protected var _cmf:ColorMatrixFilter; public static var removeTween:Function = TweenLite.removeTween; public static var defaultEase:Function = TweenLite.defaultEase; private static var _idMatrix:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]; private static var _lumB:Number = 0.072169; public static var version:Number = 8.16; public static var delayedCall:Function = TweenLite.delayedCall; public static var killTweensOf:Function = TweenLite.killTweensOf; private static var _lumG:Number = 0.71516; public static var killDelayedCallsTo:Function = TweenLite.killTweensOf; private static var _lumR:Number = 0.212671; public function TweenFilterLite(_arg1:Object, _arg2:Number, _arg3:Object){ _hf = false; _filters = []; super(_arg1, _arg2, _arg3); _originalEase = this.vars.ease; if (TweenLite.version < 8.15){ trace("TweenFilterLite error! Please update your TweenLite class or try deleting your ASO files. TweenFilterLite requires a more recent version. Download updates at http://www.TweenLite.com."); }; if (_arg3.type != undefined){ trace((("TweenFilterLite error: " + _arg1) + " is using deprecated syntax. Please update to the new syntax. See http://www.TweenFilterLite.com for details.")); }; } override public function render(_arg1:uint):void{ var _local2:Number; var _local3:Number; var _local4:Object; var _local5:int; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:int; var _local10:Array; _local2 = (((_arg1 - this.startTime) / 1000) * _timeScale); if (_local2 >= this.duration){ _local2 = this.duration; _local3 = ((((_originalEase == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0; } else { _local3 = this.vars.ease(_local2, 0, 1, this.duration); }; _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local4 = this.tweens[_local5]; _local4.o[_local4.p] = (_local4.s + (_local3 * _local4.c)); _local5--; }; if (_hf){ _local5 = (_clrsa.length - 1); while (_local5 > -1) { _local4 = _clrsa[_local5]; _local6 = (_local4.sr + (_local3 * _local4.cr)); _local7 = (_local4.sg + (_local3 * _local4.cg)); _local8 = (_local4.sb + (_local3 * _local4.cb)); _local4.f[_local4.p] = (((_local6 << 16) | (_local7 << 8)) | _local8); _local5--; }; if (_cmf != null){ ColorMatrixFilter(_cmf).matrix = _matrix; }; _local10 = this.target.filters; _local5 = 0; while (_local5 < _filters.length) { _local9 = (_local10.length - 1); while (_local9 > -1) { if ((_local10[_local9] is _filters[_local5].type)){ _local10.splice(_local9, 1, _filters[_local5].filter); break; }; _local9--; }; _local5++; }; this.target.filters = _local10; }; if (_hst){ _local5 = (_subTweens.length - 1); while (_local5 > -1) { _subTweens[_local5].proxy(_subTweens[_local5]); _local5--; }; }; if (_hasUpdate){ this.vars.onUpdate.apply(null, this.vars.onUpdateParams); }; if (_local2 == this.duration){ complete(true); }; } public function get timeScale():Number{ return (_timeScale); } public function set timeScale(_arg1:Number):void{ if (((_initted) && ((_curTime > (this.initTime + (this.delay * 1000)))))){ this.initTime = ((_curTime - (((_curTime - (this.initTime + (this.delay * 1000))) * _timeScale) * (1 / _arg1))) - (this.delay * 1000)); if (this.startTime != 99999999999){ this.startTime = (this.initTime + (this.delay * 1000)); }; }; _timeScale = _arg1; } override public function killVars(_arg1:Object):void{ if (TweenLite.overwriteManager.enabled){ TweenLite.overwriteManager.killVars(_arg1, this.vars, this.tweens, _subTweens, _filters); }; } override public function initTweenVals(_arg1:Boolean=false, _arg2:String=""):void{ var _local3:int; var _local4:Object; var _local5:Object; var _local6:Object; if (((((!(_arg1)) && (!((this.delay == 0))))) && (TweenLite.overwriteManager.enabled))){ TweenLite.overwriteManager.manageOverwrites(this, _all[this.target]); }; _clrsa = []; _filters = []; _matrix = _idMatrix.slice(); _arg2 = (_arg2 + " blurFilter glowFilter colorMatrixFilter dropShadowFilter bevelFilter "); if (_isDisplayObject){ if (this.vars.blurFilter != null){ _local4 = this.vars.blurFilter; addFilter("blurFilter", _local4, BlurFilter, ["blurX", "blurY", "quality"], new BlurFilter(0, 0, ((_local4.quality) || (2)))); }; if (this.vars.glowFilter != null){ _local4 = this.vars.glowFilter; addFilter("glowFilter", _local4, GlowFilter, ["alpha", "blurX", "blurY", "color", "quality", "strength", "inner", "knockout"], new GlowFilter(0xFFFFFF, 0, 0, 0, ((_local4.strength) || (1)), ((_local4.quality) || (2)), _local4.inner, _local4.knockout)); }; if (this.vars.colorMatrixFilter != null){ _local4 = this.vars.colorMatrixFilter; _local5 = addFilter("colorMatrixFilter", _local4, ColorMatrixFilter, [], new ColorMatrixFilter(_matrix)); _cmf = _local5.filter; _matrix = ColorMatrixFilter(_cmf).matrix; if (((!((_local4.matrix == null))) && ((_local4.matrix is Array)))){ _endMatrix = _local4.matrix; } else { if (_local4.relative == true){ _endMatrix = _matrix.slice(); } else { _endMatrix = _idMatrix.slice(); }; _endMatrix = setBrightness(_endMatrix, _local4.brightness); _endMatrix = setContrast(_endMatrix, _local4.contrast); _endMatrix = setHue(_endMatrix, _local4.hue); _endMatrix = setSaturation(_endMatrix, _local4.saturation); _endMatrix = setThreshold(_endMatrix, _local4.threshold); if (!isNaN(_local4.colorize)){ _endMatrix = colorize(_endMatrix, _local4.colorize, _local4.amount); } else { if (!isNaN(_local4.color)){ _endMatrix = colorize(_endMatrix, _local4.color, _local4.amount); }; }; }; _local3 = 0; while (_local3 < _endMatrix.length) { if (((!((_matrix[_local3] == _endMatrix[_local3]))) && (!((_matrix[_local3] == undefined))))){ this.tweens[this.tweens.length] = {o:_matrix, p:_local3.toString(), s:_matrix[_local3], c:(_endMatrix[_local3] - _matrix[_local3]), name:"colorMatrixFilter"}; }; _local3++; }; }; if (this.vars.dropShadowFilter != null){ _local4 = this.vars.dropShadowFilter; addFilter("dropShadowFilter", _local4, DropShadowFilter, ["alpha", "angle", "blurX", "blurY", "color", "distance", "quality", "strength", "inner", "knockout", "hideObject"], new DropShadowFilter(0, 45, 0, 0, 0, 0, 1, ((_local4.quality) || (2)), _local4.inner, _local4.knockout, _local4.hideObject)); }; if (this.vars.bevelFilter != null){ _local4 = this.vars.bevelFilter; addFilter("bevelFilter", _local4, BevelFilter, ["angle", "blurX", "blurY", "distance", "highlightAlpha", "highlightColor", "quality", "shadowAlpha", "shadowColor", "strength"], new BevelFilter(0, 0, 0xFFFFFF, 0.5, 0, 0.5, 2, 2, 0, ((_local4.quality) || (2)))); }; if (this.vars.runBackwards == true){ _local3 = (_clrsa.length - 1); while (_local3 > -1) { _local6 = _clrsa[_local3]; _clrsa[_local3].sr = (_local6.sr + _local6.cr); _local6.cr = (_local6.cr * -1); _local6.sg = (_local6.sg + _local6.cg); _local6.cg = (_local6.cg * -1); _local6.sb = (_local6.sb + _local6.cb); _local6.cb = (_local6.cb * -1); _local6.f[_local6.p] = (((_local6.sr << 16) | (_local6.sg << 8)) | _local6.sb); _local3--; }; }; super.initTweenVals(true, _arg2); } else { super.initTweenVals(_arg1, _arg2); }; } private function addFilter(_arg1:String, _arg2:Object, _arg3:Class, _arg4:Array, _arg5:BitmapFilter):Object{ var _local6:Object; var _local7:Array; var _local8:int; var _local9:String; var _local10:Number; var _local11:Object; var _local12:Object; _local6 = {type:_arg3, name:_arg1}; _local7 = this.target.filters; _local8 = 0; while (_local8 < _local7.length) { if ((_local7[_local8] is _arg3)){ _local6.filter = _local7[_local8]; break; }; _local8++; }; if (_local6.filter == undefined){ _local6.filter = _arg5; _local7[_local7.length] = _local6.filter; this.target.filters = _local7; }; _local8 = 0; while (_local8 < _arg4.length) { _local9 = _arg4[_local8]; if (_arg2[_local9] != undefined){ if ((((((_local9 == "color")) || ((_local9 == "highlightColor")))) || ((_local9 == "shadowColor")))){ _local11 = HEXtoRGB(_local6.filter[_local9]); _local12 = HEXtoRGB(_arg2[_local9]); _clrsa[_clrsa.length] = {f:_local6.filter, p:_local9, sr:_local11.rb, cr:(_local12.rb - _local11.rb), sg:_local11.gb, cg:(_local12.gb - _local11.gb), sb:_local11.bb, cb:(_local12.bb - _local11.bb)}; } else { if ((((((((_local9 == "quality")) || ((_local9 == "inner")))) || ((_local9 == "knockout")))) || ((_local9 == "hideObject")))){ _local6.filter[_local9] = _arg2[_local9]; } else { if (typeof(_arg2[_local9]) == "number"){ _local10 = (_arg2[_local9] - _local6.filter[_local9]); } else { _local10 = Number(_arg2[_local9]); }; this.tweens[this.tweens.length] = {o:_local6.filter, p:_local9, s:_local6.filter[_local9], c:_local10, name:_arg1}; }; }; }; _local8++; }; _filters[_filters.length] = _local6; _hf = true; return (_local6); } public static function setContrast(_arg1:Array, _arg2:Number):Array{ var _local3:Array; if (isNaN(_arg2)){ return (_arg1); }; _arg2 = (_arg2 + 0.01); _local3 = [_arg2, 0, 0, 0, (128 * (1 - _arg2)), 0, _arg2, 0, 0, (128 * (1 - _arg2)), 0, 0, _arg2, 0, (128 * (1 - _arg2)), 0, 0, 0, 1, 0]; return (applyMatrix(_local3, _arg1)); } public static function colorize(_arg1:Array, _arg2:Number, _arg3:Number=1):Array{ var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Array; if (isNaN(_arg2)){ return (_arg1); }; if (isNaN(_arg3)){ _arg3 = 1; }; _local4 = (((_arg2 >> 16) & 0xFF) / 0xFF); _local5 = (((_arg2 >> 8) & 0xFF) / 0xFF); _local6 = ((_arg2 & 0xFF) / 0xFF); _local7 = (1 - _arg3); _local8 = [(_local7 + ((_arg3 * _local4) * _lumR)), ((_arg3 * _local4) * _lumG), ((_arg3 * _local4) * _lumB), 0, 0, ((_arg3 * _local5) * _lumR), (_local7 + ((_arg3 * _local5) * _lumG)), ((_arg3 * _local5) * _lumB), 0, 0, ((_arg3 * _local6) * _lumR), ((_arg3 * _local6) * _lumG), (_local7 + ((_arg3 * _local6) * _lumB)), 0, 0, 0, 0, 0, 1, 0]; return (applyMatrix(_local8, _arg1)); } public static function setBrightness(_arg1:Array, _arg2:Number):Array{ if (isNaN(_arg2)){ return (_arg1); }; _arg2 = ((_arg2 * 100) - 100); return (applyMatrix([1, 0, 0, 0, _arg2, 0, 1, 0, 0, _arg2, 0, 0, 1, 0, _arg2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], _arg1)); } public static function setSaturation(_arg1:Array, _arg2:Number):Array{ var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Array; if (isNaN(_arg2)){ return (_arg1); }; _local3 = (1 - _arg2); _local4 = (_local3 * _lumR); _local5 = (_local3 * _lumG); _local6 = (_local3 * _lumB); _local7 = [(_local4 + _arg2), _local5, _local6, 0, 0, _local4, (_local5 + _arg2), _local6, 0, 0, _local4, _local5, (_local6 + _arg2), 0, 0, 0, 0, 0, 1, 0]; return (applyMatrix(_local7, _arg1)); } public static function applyMatrix(_arg1:Array, _arg2:Array):Array{ var _local3:Array; var _local4:int; var _local5:int; var _local6:int; var _local7:int; if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){ return (_arg2); }; _local3 = []; _local4 = 0; _local5 = 0; _local6 = 0; while (_local6 < 4) { _local7 = 0; while (_local7 < 5) { if (_local7 == 4){ _local5 = _arg1[(_local4 + 4)]; } else { _local5 = 0; }; _local3[(_local4 + _local7)] = (((((_arg1[_local4] * _arg2[_local7]) + (_arg1[(_local4 + 1)] * _arg2[(_local7 + 5)])) + (_arg1[(_local4 + 2)] * _arg2[(_local7 + 10)])) + (_arg1[(_local4 + 3)] * _arg2[(_local7 + 15)])) + _local5); _local7++; }; _local4 = (_local4 + 5); _local6++; }; return (_local3); } public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenFilterLite{ _arg3.runBackwards = true; return (new TweenFilterLite(_arg1, _arg2, _arg3)); } public static function HEXtoRGB(_arg1:Number):Object{ return ({rb:(_arg1 >> 16), gb:((_arg1 >> 8) & 0xFF), bb:(_arg1 & 0xFF)}); } public static function setThreshold(_arg1:Array, _arg2:Number):Array{ var _local3:Array; if (isNaN(_arg2)){ return (_arg1); }; _local3 = [(_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), (_lumR * 0x0100), (_lumG * 0x0100), (_lumB * 0x0100), 0, (-256 * _arg2), 0, 0, 0, 1, 0]; return (applyMatrix(_local3, _arg1)); } public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenFilterLite{ return (new TweenFilterLite(_arg1, _arg2, _arg3)); } public static function setHue(_arg1:Array, _arg2:Number):Array{ var _local3:Number; var _local4:Number; var _local5:Array; if (isNaN(_arg2)){ return (_arg1); }; _arg2 = (_arg2 * (Math.PI / 180)); _local3 = Math.cos(_arg2); _local4 = Math.sin(_arg2); _local5 = [((_lumR + (_local3 * (1 - _lumR))) + (_local4 * -(_lumR))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * -(_lumG))), ((_lumB + (_local3 * -(_lumB))) + (_local4 * (1 - _lumB))), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * 0.143)), ((_lumG + (_local3 * (1 - _lumG))) + (_local4 * 0.14)), ((_lumB + (_local3 * -(_lumB))) + (_local4 * -0.283)), 0, 0, ((_lumR + (_local3 * -(_lumR))) + (_local4 * -((1 - _lumR)))), ((_lumG + (_local3 * -(_lumG))) + (_local4 * _lumG)), ((_lumB + (_local3 * (1 - _lumB))) + (_local4 * _lumB)), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]; return (applyMatrix(_local5, _arg1)); } } }//package gs
Section 23
//TweenLite (gs.TweenLite) package gs { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.geom.*; public class TweenLite { public var delay:Number; protected var _hasUpdate:Boolean; protected var _subTweens:Array; protected var _initted:Boolean; public var startTime:int; public var target:Object; public var duration:Number; protected var _hst:Boolean; protected var _isDisplayObject:Boolean; protected var _active:Boolean; public var vars:Object; public var tweens:Array; public var initTime:int; protected var _timeScale:Number; private static var _timer:Timer = new Timer(2000); private static var _classInitted:Boolean; public static var defaultEase:Function = TweenLite.easeOut; public static var version:Number = 8.15; protected static var _all:Dictionary = new Dictionary(); private static var _sprite:Sprite = new Sprite(); protected static var _curTime:uint; public static var overwriteManager:Object; public static var killDelayedCallsTo:Function = TweenLite.killTweensOf; private static var _listening:Boolean; public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){ var _local4:int; var _local5:*; super(); if (_arg1 == null){ return; }; if (!_classInitted){ _curTime = getTimer(); _sprite.addEventListener(Event.ENTER_FRAME, executeAll); if (overwriteManager == null){ overwriteManager = {mode:1, enabled:false}; }; _classInitted = true; }; this.vars = _arg3; this.duration = ((_arg2) || (0.001)); this.delay = ((_arg3.delay) || (0)); _timeScale = ((_arg3.timeScale) || (1)); _active = (((_arg2 == 0)) && ((this.delay == 0))); this.target = _arg1; _isDisplayObject = (_arg1 is DisplayObject); if (!(this.vars.ease is Function)){ this.vars.ease = defaultEase; }; if (this.vars.easeParams != null){ this.vars.proxiedEase = this.vars.ease; this.vars.ease = easeProxy; }; if (!isNaN(Number(this.vars.autoAlpha))){ this.vars.alpha = Number(this.vars.autoAlpha); this.vars.visible = (this.vars.alpha > 0); }; this.tweens = []; _subTweens = []; _hst = (_initted = false); this.initTime = _curTime; this.startTime = (this.initTime + (this.delay * 1000)); _local4 = ((((_arg3.overwrite == undefined)) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite); if ((((_all[_arg1] == undefined)) || (((!((_arg1 == null))) && ((_local4 == 1)))))){ delete _all[_arg1]; _all[_arg1] = new Dictionary(true); } else { if ((((_local4 > 1)) && ((this.delay == 0)))){ overwriteManager.manageOverwrites(this, _all[_arg1]); }; }; _all[_arg1][this] = this; if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (_active))){ initTweenVals(); if (_active){ render((this.startTime + 1)); } else { render(this.startTime); }; _local5 = this.vars.visible; if (this.vars.isTV == true){ _local5 = this.vars.exposedProps.visible; }; if (((((!((_local5 == null))) && ((this.vars.runBackwards == true)))) && (_isDisplayObject))){ this.target.visible = Boolean(_local5); }; }; if (((!(_listening)) && (!(_active)))){ _timer.addEventListener("timer", killGarbage); _timer.start(); _listening = true; }; } protected function addSubTween(_arg1:String, _arg2:Function, _arg3:Object, _arg4:Object, _arg5:Object=null):void{ var _local6:Object; var _local7:String; _local6 = {name:_arg1, proxy:_arg2, target:_arg3, info:_arg5}; _subTweens[_subTweens.length] = _local6; for (_local7 in _arg4) { if (typeof(_arg4[_local7]) == "number"){ this.tweens[this.tweens.length] = {o:_arg3, p:_local7, s:_arg3[_local7], c:(_arg4[_local7] - _arg3[_local7]), sub:_local6, name:_arg1}; } else { this.tweens[this.tweens.length] = {o:_arg3, p:_local7, s:_arg3[_local7], c:Number(_arg4[_local7]), sub:_local6, name:_arg1}; }; }; _hst = true; } public function initTweenVals(_arg1:Boolean=false, _arg2:String=""):void{ var _local3:String; var _local4:int; var _local5:Object; var _local6:Array; var _local7:ColorTransform; var _local8:ColorTransform; var _local9:Object; _local5 = this.vars; if (_local5.isTV == true){ _local5 = _local5.exposedProps; }; if (((((!(_arg1)) && (!((this.delay == 0))))) && (overwriteManager.enabled))){ overwriteManager.manageOverwrites(this, _all[this.target]); }; if ((this.target is Array)){ _local6 = ((this.vars.endArray) || ([])); _local4 = 0; while (_local4 < _local6.length) { if (((!((this.target[_local4] == _local6[_local4]))) && (!((this.target[_local4] == undefined))))){ this.tweens[this.tweens.length] = {o:this.target, p:_local4.toString(), s:this.target[_local4], c:(_local6[_local4] - this.target[_local4]), name:_local4.toString()}; }; _local4++; }; } else { if (((((!((typeof(_local5.tint) == "undefined"))) || ((this.vars.removeTint == true)))) && (_isDisplayObject))){ _local7 = this.target.transform.colorTransform; _local8 = new ColorTransform(); if (_local5.alpha != undefined){ _local8.alphaMultiplier = _local5.alpha; delete _local5.alpha; } else { _local8.alphaMultiplier = this.target.alpha; }; if (((!((this.vars.removeTint == true))) && (((((!((_local5.tint == null))) && (!((_local5.tint == ""))))) || ((_local5.tint == 0)))))){ _local8.color = _local5.tint; }; addSubTween("tint", tintProxy, {progress:0}, {progress:1}, {target:this.target, color:_local7, endColor:_local8}); }; if (((!((_local5.frame == null))) && (_isDisplayObject))){ addSubTween("frame", frameProxy, {frame:this.target.currentFrame}, {frame:_local5.frame}, {target:this.target}); }; if (((!(isNaN(this.vars.volume))) && (this.target.hasOwnProperty("soundTransform")))){ addSubTween("volume", volumeProxy, this.target.soundTransform, {volume:this.vars.volume}, {target:this.target}); }; for (_local3 in _local5) { if ((((((((((((((((((((((((((((((((((((((_local3 == "ease")) || ((_local3 == "delay")))) || ((_local3 == "overwrite")))) || ((_local3 == "onComplete")))) || ((_local3 == "onCompleteParams")))) || ((_local3 == "runBackwards")))) || ((_local3 == "visible")))) || ((_local3 == "autoOverwrite")))) || ((_local3 == "persist")))) || ((_local3 == "onUpdate")))) || ((_local3 == "onUpdateParams")))) || ((_local3 == "autoAlpha")))) || ((_local3 == "timeScale")))) || ((_local3 == "onStart")))) || ((_local3 == "onStartParams")))) || ((_local3 == "renderOnStart")))) || ((_local3 == "proxiedEase")))) || ((_local3 == "easeParams")))) || (((_arg1) && (!((_arg2.indexOf(((" " + _local3) + " ")) == -1))))))){ } else { if (((!(((_isDisplayObject) && ((((((_local3 == "tint")) || ((_local3 == "removeTint")))) || ((_local3 == "frame"))))))) && (!((((_local3 == "volume")) && (this.target.hasOwnProperty("soundTransform"))))))){ if (typeof(_local5[_local3]) == "number"){ this.tweens[this.tweens.length] = {o:this.target, p:_local3, s:this.target[_local3], c:(_local5[_local3] - this.target[_local3]), name:_local3}; } else { this.tweens[this.tweens.length] = {o:this.target, p:_local3, s:this.target[_local3], c:Number(_local5[_local3]), name:_local3}; }; }; }; }; }; if (this.vars.runBackwards == true){ _local4 = (this.tweens.length - 1); while (_local4 > -1) { _local9 = this.tweens[_local4]; this.tweens[_local4].s = (_local9.s + _local9.c); _local9.c = (_local9.c * -1); _local4--; }; }; if ((((_local5.visible == true)) && (_isDisplayObject))){ this.target.visible = true; }; if (this.vars.onUpdate != null){ _hasUpdate = true; }; _initted = true; } public function get active():Boolean{ if (_active){ return (true); }; if (_curTime >= this.startTime){ _active = true; if (!_initted){ initTweenVals(); } else { if (((!((this.vars.visible == undefined))) && (_isDisplayObject))){ this.target.visible = true; }; }; if (this.vars.onStart != null){ this.vars.onStart.apply(null, this.vars.onStartParams); }; if (this.duration == 0.001){ this.startTime = (this.startTime - 1); }; return (true); //unresolved jump }; return (false); } public function render(_arg1:uint):void{ var _local2:Number; var _local3:Number; var _local4:Object; var _local5:int; _local2 = ((_arg1 - this.startTime) / 1000); if (_local2 >= this.duration){ _local2 = this.duration; _local3 = 1; } else { _local3 = this.vars.ease(_local2, 0, 1, this.duration); }; _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local4 = this.tweens[_local5]; _local4.o[_local4.p] = (_local4.s + (_local3 * _local4.c)); _local5--; }; if (_hst){ _local5 = (_subTweens.length - 1); while (_local5 > -1) { _subTweens[_local5].proxy(_subTweens[_local5]); _local5--; }; }; if (_hasUpdate){ this.vars.onUpdate.apply(null, this.vars.onUpdateParams); }; if (_local2 == this.duration){ complete(true); }; } protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams))); } public function killVars(_arg1:Object):void{ if (overwriteManager.enabled){ overwriteManager.killVars(_arg1, this.vars, this.tweens, _subTweens, []); }; } public function complete(_arg1:Boolean=false):void{ if (!_arg1){ if (!_initted){ initTweenVals(); }; this.startTime = (_curTime - ((this.duration * 1000) / _timeScale)); render(_curTime); return; }; if (((!((this.vars.visible == undefined))) && (_isDisplayObject))){ if (((!(isNaN(this.vars.autoAlpha))) && ((this.target.alpha == 0)))){ this.target.visible = false; } else { if (this.vars.runBackwards != true){ this.target.visible = this.vars.visible; }; }; }; if (this.vars.persist != true){ removeTween(this); }; if (this.vars.onComplete != null){ this.vars.onComplete.apply(null, this.vars.onCompleteParams); }; } public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } public static function frameProxy(_arg1:Object):void{ _arg1.info.target.gotoAndStop(Math.round(_arg1.target.frame)); } public static function removeTween(_arg1:TweenLite=null):void{ if (((!((_arg1 == null))) && (!((_all[_arg1.target] == undefined))))){ _all[_arg1.target][_arg1] = null; delete _all[_arg1.target][_arg1]; }; } public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{ var _local3:Object; var _local4:*; if (((!((_arg1 == null))) && (!((_all[_arg1] == undefined))))){ if (_arg2){ _local3 = _all[_arg1]; for (_local4 in _local3) { _local3[_local4].complete(false); }; }; delete _all[_arg1]; }; } public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{ return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0})); } public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ _arg3.runBackwards = true; return (new TweenLite(_arg1, _arg2, _arg3)); } public static function executeAll(_arg1:Event=null):void{ var _local2:uint; var _local3:Dictionary; var _local4:Object; var _local5:Object; _local2 = (_curTime = getTimer()); if (_listening){ _local3 = _all; for each (_local4 in _local3) { for (_local5 in _local4) { if (((!((_local4[_local5] == undefined))) && (_local4[_local5].active))){ _local4[_local5].render(_local2); }; }; }; }; } public static function volumeProxy(_arg1:Object):void{ _arg1.info.target.soundTransform = _arg1.target; } public static function killGarbage(_arg1:TimerEvent):void{ var _local2:uint; var _local3:Boolean; var _local4:Object; var _local5:Object; var _local6:Object; _local2 = 0; for (_local4 in _all) { _local3 = false; for (_local5 in _all[_local4]) { _local3 = true; break; }; if (!_local3){ delete _all[_local4]; } else { _local2++; }; }; if (_local2 == 0){ _timer.removeEventListener("timer", killGarbage); _timer.stop(); _listening = false; }; } public static function tintProxy(_arg1:Object):void{ var _local2:Number; var _local3:Number; var _local4:Object; var _local5:Object; _local2 = _arg1.target.progress; _local3 = (1 - _local2); _local4 = _arg1.info.color; _local5 = _arg1.info.endColor; _arg1.info.target.transform.colorTransform = new ColorTransform(((_local4.redMultiplier * _local3) + (_local5.redMultiplier * _local2)), ((_local4.greenMultiplier * _local3) + (_local5.greenMultiplier * _local2)), ((_local4.blueMultiplier * _local3) + (_local5.blueMultiplier * _local2)), ((_local4.alphaMultiplier * _local3) + (_local5.alphaMultiplier * _local2)), ((_local4.redOffset * _local3) + (_local5.redOffset * _local2)), ((_local4.greenOffset * _local3) + (_local5.greenOffset * _local2)), ((_local4.blueOffset * _local3) + (_local5.blueOffset * _local2)), ((_local4.alphaOffset * _local3) + (_local5.alphaOffset * _local2))); } public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{ return (new TweenLite(_arg1, _arg2, _arg3)); } } }//package gs
Section 24
//TweenMax (gs.TweenMax) package gs { import flash.events.*; import flash.utils.*; import gs.events.*; public class TweenMax extends TweenFilterLite implements IEventDispatcher { protected var _isProcessingComplete:Boolean; protected var _dispatcher:EventDispatcher; protected var _callbacks:Object; protected var _pauseTime:int; protected static const _RAD2DEG:Number = 57.2957795130823; public static var removeTween:Function = TweenLite.removeTween; private static var _overwriteMode:int = (OverwriteManager.enabled) ? OverwriteManager.mode : OverwriteManager.init(); ; public static var defaultEase:Function = TweenLite.defaultEase; public static var killTweensOf:Function = TweenLite.killTweensOf; public static var version:Number = 2.19; public static var killDelayedCallsTo:Function = TweenLite.killDelayedCallsTo; public function TweenMax(_arg1:Object, _arg2:Number, _arg3:Object){ super(_arg1, _arg2, _arg3); _pauseTime = -1; if (((((!((this.vars.onCompleteListener == null))) || (!((this.vars.onUpdateListener == null))))) || (!((this.vars.onStartListener == null))))){ initDispatcher(); if ((((_arg2 == 0)) && ((this.delay == 0)))){ onUpdateDispatcher(); onCompleteDispatcher(); }; }; if ((((this.vars.yoyo == true)) || ((this.vars.loop == true)))){ this.vars.persist = true; }; if (TweenFilterLite.version < 8.16){ trace("TweenMax error! Please update your TweenFilterLite class or try deleting your ASO files. TweenMax requires a more recent version. Download updates at http://www.TweenMax.com."); }; } override public function get active():Boolean{ if (_active){ return (true); }; if (_pauseTime != -1){ return (false); }; if (_curTime >= this.startTime){ _active = true; if (!_initted){ initTweenVals(); } else { if (((!((this.vars.visible == undefined))) && (_isDisplayObject))){ this.target.visible = true; }; }; if (this.vars.onStart != null){ this.vars.onStart.apply(null, this.vars.onStartParams); }; if (this.duration == 0.001){ this.startTime = (this.startTime - 1); }; return (true); //unresolved jump }; return (false); } public function get paused():Boolean{ if (_pauseTime != -1){ return (true); }; return (false); } public function resume():void{ var _local1:Boolean; var _local2:Number; if (_pauseTime != -1){ _local1 = (_pauseTime > (this.initTime + (this.delay * 1000))); _local2 = (_curTime - _pauseTime); this.initTime = (this.initTime + _local2); this.startTime = (this.initTime + (this.delay * 1000)); _pauseTime = -1; if (((!(_local1)) && ((_curTime >= this.startTime)))){ _local1 = this.active; } else { _active = _local1; }; }; } protected function adjustStartValues():void{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Object; var _local5:int; _local1 = this.progress; if (_local1 != 0){ _local2 = (1 / (1 - this.vars.ease((_local1 * this.duration), 0, 1, this.duration))); _local5 = (this.tweens.length - 1); while (_local5 > -1) { _local4 = this.tweens[_local5]; _local3 = (_local4.s + _local4.c); _local4.c = ((_local3 - _local4.o[_local4.p]) * _local2); _local4.s = (_local3 - _local4.c); _local5--; }; }; } override public function complete(_arg1:Boolean=false):void{ if (!_isProcessingComplete){ _isProcessingComplete = true; if ((((this.vars.yoyo == true)) || ((this.vars.loop == true)))){ if (this.vars.yoyo == true){ reverse(false); }; this.startTime = _curTime; this.initTime = (this.startTime - (this.delay * 1000)); render(_curTime); } else { if (this.vars.persist == true){ pause(); }; }; super.complete(_arg1); _isProcessingComplete = false; }; } public function invalidate(_arg1:Boolean=true):void{ var _local2:Number; if (_initted){ _local2 = this.progress; if (((!(_arg1)) && (!((_local2 == 0))))){ this.progress = 0; }; this.tweens = []; _subTweens = []; initTweenVals(); if (_local2 != 0){ if (_arg1){ adjustStartValues(); } else { this.progress = _local2; }; }; }; } public function willTrigger(_arg1:String):Boolean{ if (_dispatcher == null){ return (false); }; return (_dispatcher.willTrigger(_arg1)); } public function get progress():Number{ var _local1:Number; _local1 = (((((((_curTime - this.initTime) / 1000) - this.delay) / this.duration) * _timeScale)) || (0)); if (_local1 > 1){ return (1); }; return (_local1); } public function dispatchEvent(_arg1:Event):Boolean{ if (_dispatcher == null){ return (false); }; return (_dispatcher.dispatchEvent(_arg1)); } override public function initTweenVals(_arg1:Boolean=false, _arg2:String=""):void{ var _local3:String; var _local4:int; var _local5:Object; var _local6:Object; var _local7:Array; var _local8:Function; _arg2 = (_arg2 + " hexColors bezier bezierThrough orientToBezier quaternions onCompleteAll onCompleteAllParams yoyo loop onCompleteListener onUpdateListener onStartListener "); if (((((!(_arg1)) && (!((this.delay == 0))))) && (TweenLite.overwriteManager.enabled))){ TweenLite.overwriteManager.manageOverwrites(this, _all[this.target]); }; _local8 = bezierProxy; if (this.vars.orientToBezier == true){ this.vars.orientToBezier = [["x", "y", "rotation", 0]]; _local8 = bezierProxy2; } else { if ((this.vars.orientToBezier is Array)){ _local8 = bezierProxy2; }; }; if (((!((this.vars.bezier == undefined))) && ((this.vars.bezier is Array)))){ _local6 = {}; _local7 = this.vars.bezier; _local4 = 0; while (_local4 < _local7.length) { for (_local3 in _local7[_local4]) { if (_local6[_local3] == undefined){ _local6[_local3] = [this.target[_local3]]; }; if (typeof(_local7[_local4][_local3]) == "number"){ _local6[_local3].push(_local7[_local4][_local3]); } else { _local6[_local3].push((this.target[_local3] + Number(_local7[_local4][_local3]))); }; }; _local4++; }; for (_local3 in _local6) { if (typeof(this.vars[_local3]) == "number"){ _local6[_local3].push(this.vars[_local3]); } else { _local6[_local3].push((this.target[_local3] + Number(this.vars[_local3]))); }; delete this.vars[_local3]; }; addSubTween("bezier", _local8, {t:0}, {t:1}, {props:parseBeziers(_local6, false), target:this.target, orientToBezier:this.vars.orientToBezier}); }; if (((!((this.vars.bezierThrough == undefined))) && ((this.vars.bezierThrough is Array)))){ _local6 = {}; _local7 = this.vars.bezierThrough; _local4 = 0; while (_local4 < _local7.length) { for (_local3 in _local7[_local4]) { if (_local6[_local3] == undefined){ _local6[_local3] = [this.target[_local3]]; }; if (typeof(_local7[_local4][_local3]) == "number"){ _local6[_local3].push(_local7[_local4][_local3]); } else { _local6[_local3].push((this.target[_local3] + Number(_local7[_local4][_local3]))); }; }; _local4++; }; for (_local3 in _local6) { if (typeof(this.vars[_local3]) == "number"){ _local6[_local3].push(this.vars[_local3]); } else { _local6[_local3].push((this.target[_local3] + Number(this.vars[_local3]))); }; delete this.vars[_local3]; }; addSubTween("bezierThrough", _local8, {t:0}, {t:1}, {props:parseBeziers(_local6, true), target:this.target, orientToBezier:this.vars.orientToBezier}); }; if (((!((this.vars.hexColors == undefined))) && ((typeof(this.vars.hexColors) == "object")))){ for (_local3 in this.vars.hexColors) { addSubTween("hexColors", hexColorsProxy, {r:(this.target[_local3] >> 16), g:((this.target[_local3] >> 8) & 0xFF), b:(this.target[_local3] & 0xFF)}, {r:(this.vars.hexColors[_local3] >> 16), g:((this.vars.hexColors[_local3] >> 8) & 0xFF), b:(this.vars.hexColors[_local3] & 0xFF)}, {prop:_local3, target:this.target}); }; }; super.initTweenVals(true, _arg2); } protected function onStartDispatcher(... _args):void{ if (_callbacks.onStart != null){ _callbacks.onStart.apply(null, this.vars.onStartParams); }; _dispatcher.dispatchEvent(new TweenEvent(TweenEvent.START)); } public function setDestination(_arg1:String, _arg2, _arg3:Boolean=true):void{ var _local4:Number; var _local5:Object; var _local6:int; var _local7:Object; var _local8:Array; var _local9:Array; _local4 = this.progress; if (((!((this.vars[_arg1] == undefined))) && (_initted))){ if (((!(_arg3)) && (!((_local4 == 0))))){ _local6 = (this.tweens.length - 1); while (_local6 > -1) { if (this.tweens[_local6].name == _arg1){ this.tweens[_local6].o[this.tweens[_local6].p] = this.tweens[_local6].s; }; _local6--; }; }; _local5 = {}; _local5[_arg1] = 1; killVars(_local5); }; this.vars[_arg1] = _arg2; if (_initted){ _local7 = this.vars; _local8 = this.tweens; _local9 = _subTweens; this.vars = {}; this.tweens = []; _subTweens = []; this.vars[_arg1] = _arg2; initTweenVals(); if (((_arg3) && (!((_local4 == 0))))){ this.vars.ease = _local7.ease; adjustStartValues(); }; this.vars = _local7; this.tweens = _local8.concat(this.tweens); _subTweens = _local9.concat(_subTweens); }; } public function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{ if (_dispatcher == null){ initDispatcher(); }; _dispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5); } public function restart():void{ this.progress = 0; resume(); } protected function initDispatcher():void{ var _local1:Object; var _local2:String; if (_dispatcher == null){ _dispatcher = new EventDispatcher(this); _callbacks = {onStart:this.vars.onStart, onUpdate:this.vars.onUpdate, onComplete:this.vars.onComplete}; _local1 = {}; for (_local2 in this.vars) { _local1[_local2] = this.vars[_local2]; }; this.vars = _local1; this.vars.onStart = onStartDispatcher; this.vars.onUpdate = onUpdateDispatcher; this.vars.onComplete = onCompleteDispatcher; if ((this.vars.onStartListener is Function)){ _dispatcher.addEventListener(TweenEvent.START, this.vars.onStartListener, false, 0, true); }; if ((this.vars.onUpdateListener is Function)){ _dispatcher.addEventListener(TweenEvent.UPDATE, this.vars.onUpdateListener, false, 0, true); }; if ((this.vars.onCompleteListener is Function)){ _dispatcher.addEventListener(TweenEvent.COMPLETE, this.vars.onCompleteListener, false, 0, true); }; }; } public function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{ if (_dispatcher != null){ _dispatcher.removeEventListener(_arg1, _arg2, _arg3); }; } public function killProperties(_arg1:Array):void{ var _local2:Object; var _local3:int; _local2 = {}; _local3 = (_arg1.length - 1); while (_local3 > -1) { if (this.vars[_arg1[_local3]] != null){ _local2[_arg1[_local3]] = 1; }; _local3--; }; killVars(_local2); } public function set progress(_arg1:Number):void{ var _local2:Number; var _local3:Boolean; var _local4:*; _local2 = (_curTime - ((this.duration * _arg1) * 1000)); this.initTime = (_local2 - (this.delay * 1000)); this.startTime = _local2; _local3 = this.active; render(_curTime); if (_pauseTime != -1){ this.startTime = 99999999999; }; _local4 = this.vars.visible; if (this.vars.isTV == true){ _local4 = this.vars.exposedProps.visible; }; if (((((!((_local4 == null))) && (_isDisplayObject))) && ((_arg1 < 1)))){ this.target.visible = Boolean(_local4); }; } public function reverse(_arg1:Boolean=true):void{ this.vars.ease = ((this.vars.ease)==_originalEase) ? reverseEase : _originalEase; if (((_arg1) && ((_curTime > (this.initTime + (this.delay * 1000)))))){ this.initTime = ((_curTime - ((((1 - this.progress) * this.duration) * 1000) / _timeScale)) - (this.delay * 1000)); if (_pauseTime == -1){ this.startTime = (this.initTime + (this.delay * 1000)); }; }; resume(); } public function set paused(_arg1:Boolean):void{ if (_arg1){ this.pause(); } else { this.resume(); }; } protected function onUpdateDispatcher(... _args):void{ if (_callbacks.onUpdate != null){ _callbacks.onUpdate.apply(null, this.vars.onUpdateParams); }; _dispatcher.dispatchEvent(new TweenEvent(TweenEvent.UPDATE)); } public function hasEventListener(_arg1:String):Boolean{ if (_dispatcher == null){ return (false); }; return (_dispatcher.hasEventListener(_arg1)); } public function pause():void{ if (_pauseTime == -1){ _pauseTime = _curTime; this.startTime = 99999999999; _active = false; }; } public function reverseEase(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (_originalEase((_arg4 - _arg1), _arg2, _arg3, _arg4)); } protected function onCompleteDispatcher(... _args):void{ if (_callbacks.onComplete != null){ _callbacks.onComplete.apply(null, this.vars.onCompleteParams); }; _dispatcher.dispatchEvent(new TweenEvent(TweenEvent.COMPLETE)); } public static function sequence(_arg1:Object, _arg2:Array):Array{ var _local3:uint; _local3 = 0; while (_local3 < _arg2.length) { _arg2[_local3].target = _arg1; _local3++; }; return (multiSequence(_arg2)); } public static function hexColorsProxy(_arg1:Object):void{ _arg1.info.target[_arg1.info.prop] = uint((((_arg1.target.r << 16) | (_arg1.target.g << 8)) | _arg1.target.b)); } public static function parseBeziers(_arg1:Object, _arg2:Boolean=false):Object{ var _local3:int; var _local4:Array; var _local5:Object; var _local6:String; var _local7:Object; _local7 = {}; if (_arg2){ for (_local6 in _arg1) { _local4 = _arg1[_local6]; _local5 = []; _local7[_local6] = _local5; if (_local4.length > 2){ _local5[_local5.length] = {s:_local4[0], cp:(_local4[1] - ((_local4[2] - _local4[0]) / 4)), e:_local4[1]}; _local3 = 1; while (_local3 < (_local4.length - 1)) { _local5[_local5.length] = {s:_local4[_local3], cp:(_local4[_local3] + (_local4[_local3] - _local5[(_local3 - 1)].cp)), e:_local4[(_local3 + 1)]}; _local3++; }; } else { _local5[_local5.length] = {s:_local4[0], cp:((_local4[0] + _local4[1]) / 2), e:_local4[1]}; }; }; } else { for (_local6 in _arg1) { _local4 = _arg1[_local6]; _local5 = []; _local7[_local6] = _local5; if (_local4.length > 3){ _local5[_local5.length] = {s:_local4[0], cp:_local4[1], e:((_local4[1] + _local4[2]) / 2)}; _local3 = 2; while (_local3 < (_local4.length - 2)) { _local5.push({s:_local5[(_local3 - 2)].e, cp:_local4[_local3], e:((_local4[_local3] + _local4[(_local3 + 1)]) / 2)}); _local3++; }; _local5[_local5.length] = {s:_local5[(_local5.length - 1)].e, cp:_local4[(_local4.length - 2)], e:_local4[(_local4.length - 1)]}; } else { if (_local4.length == 3){ _local5[_local5.length] = {s:_local4[0], cp:_local4[1], e:_local4[2]}; } else { if (_local4.length == 2){ _local5[_local5.length] = {s:_local4[0], cp:((_local4[0] + _local4[1]) / 2), e:_local4[1]}; }; }; }; }; }; return (_local7); } public static function bezierProxy2(_arg1:Object):void{ var _local2:Object; var _local3:Object; var _local4:Array; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Array; var _local9:Number; var _local10:uint; bezierProxy(_arg1); _local2 = {}; _local3 = _arg1.info.target; _arg1.info.target = _local2; _arg1.target.t = (_arg1.target.t + 0.01); bezierProxy(_arg1); _local4 = _arg1.info.orientToBezier; _local10 = 0; while (_local10 < _local4.length) { _local8 = _local4[_local10]; _local9 = ((_local8[3]) || (0)); _local6 = (_local2[_local8[0]] - _local3[_local8[0]]); _local7 = (_local2[_local8[1]] - _local3[_local8[1]]); _local3[_local8[2]] = ((Math.atan2(_local7, _local6) * _RAD2DEG) + _local9); _local10++; }; _arg1.info.target = _local3; _arg1.target.t = (_arg1.target.t - 0.01); } public static function pauseAll(_arg1:Boolean=true, _arg2:Boolean=false):void{ changePause(true, _arg1, _arg2); } public static function getTweensOf(_arg1:Object):Array{ var _local2:Dictionary; var _local3:Array; var _local4:Object; _local2 = _all[_arg1]; _local3 = []; if (_local2 != null){ for (_local4 in _local2) { if (_local2[_local4].tweens != undefined){ _local3[_local3.length] = _local2[_local4]; }; }; }; return (_local3); } public static function multiSequence(_arg1:Array):Array{ var _local2:Dictionary; var _local3:Array; var _local4:int; var _local5:Number; var _local6:Object; var _local7:Object; var _local8:Number; var _local9:Number; var _local10:uint; var _local11:Object; var _local12:String; _local2 = new Dictionary(); _local3 = []; _local4 = TweenLite.overwriteManager.mode; _local5 = 0; _local10 = 0; while (_local10 < _arg1.length) { _local6 = _arg1[_local10]; _local9 = ((_local6.time) || (0)); _local11 = {}; for (_local12 in _local6) { _local11[_local12] = _local6[_local12]; }; delete _local11.time; _local8 = ((_local11.delay) || (0)); _local11.delay = (_local5 + _local8); _local7 = _local11.target; delete _local11.target; if (_local4 == 1){ if (_local2[_local7] == undefined){ _local2[_local7] = _local11; } else { _local11.overwrite = 2; }; }; _local3[_local3.length] = new TweenMax(_local7, _local9, _local11); _local5 = (_local5 + (_local9 + _local8)); _local10++; }; return (_local3); } public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenMax{ return (new TweenMax(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0})); } public static function isTweening(_arg1:Object):Boolean{ var _local2:Array; var _local3:int; _local2 = getTweensOf(_arg1); _local3 = (_local2.length - 1); while (_local3 > -1) { if (_local2[_local3].active){ return (true); }; _local3--; }; return (false); } public static function killAll(_arg1:Boolean=false, _arg2:Boolean=true, _arg3:Boolean=true):void{ var _local4:Array; var _local5:int; _local4 = getAllTweens(); _local5 = (_local4.length - 1); while (_local5 > -1) { if (((((_local4[_local5].target is Function) == _arg3)) || (!(((_local4[_local5].target is Function) == _arg2))))){ if (_arg1){ _local4[_local5].complete(); } else { TweenLite.removeTween(_local4[_local5]); }; }; _local5--; }; } public static function changePause(_arg1:Boolean, _arg2:Boolean=true, _arg3:Boolean=false):void{ var _local4:Array; var _local5:int; _local4 = getAllTweens(); _local5 = (_local4.length - 1); while (_local5 > -1) { if ((((_local4[_local5] is TweenMax)) && (((((_local4[_local5].target is Function) == _arg3)) || (!(((_local4[_local5].target is Function) == _arg2))))))){ _local4[_local5].paused = _arg1; }; _local5--; }; } public static function bezierProxy(_arg1:Object):void{ var _local2:Number; var _local3:Object; var _local4:Object; var _local5:int; var _local6:String; var _local7:Object; var _local8:Number; var _local9:uint; _local2 = _arg1.target.t; _local3 = _arg1.info.props; _local4 = _arg1.info.target; if (_local2 == 1){ for (_local6 in _local3) { _local5 = (_local3[_local6].length - 1); _local4[_local6] = _local3[_local6][_local5].e; }; } else { for (_local6 in _local3) { _local9 = _local3[_local6].length; if (_local2 < 0){ _local5 = 0; } else { if (_local2 >= 1){ _local5 = (_local9 - 1); } else { _local5 = int((_local9 * _local2)); }; }; _local8 = ((_local2 - (_local5 * (1 / _local9))) * _local9); _local7 = _local3[_local6][_local5]; _local4[_local6] = (_local7.s + (_local8 * (((2 * (1 - _local8)) * (_local7.cp - _local7.s)) + (_local8 * (_local7.e - _local7.s))))); }; }; } public static function callbackProxy(_arg1:Array, _arg2:Array=null):void{ var _local3:uint; _local3 = 0; while (_local3 < _arg1.length) { if (_arg1[_local3] != undefined){ _arg1[_local3].apply(null, _arg2[_local3]); }; _local3++; }; } public static function allFrom(_arg1:Array, _arg2:Number, _arg3:Object):Array{ _arg3.runBackwards = true; return (allTo(_arg1, _arg2, _arg3)); } public static function killAllDelayedCalls(_arg1:Boolean=false):void{ killAll(_arg1, false, true); } public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenMax{ _arg3.runBackwards = true; return (new TweenMax(_arg1, _arg2, _arg3)); } public static function killAllTweens(_arg1:Boolean=false):void{ killAll(_arg1, true, false); } public static function getAllTweens():Array{ var _local1:Dictionary; var _local2:Array; var _local3:Object; var _local4:Object; _local1 = _all; _local2 = []; for (_local3 in _local1) { for (_local4 in _local1[_local3]) { if (_local1[_local3][_local4] != undefined){ _local2[_local2.length] = _local1[_local3][_local4]; }; }; }; return (_local2); } public static function resumeAll(_arg1:Boolean=true, _arg2:Boolean=false):void{ changePause(false, _arg1, _arg2); } public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenMax{ return (new TweenMax(_arg1, _arg2, _arg3)); } public static function allTo(_arg1:Array, _arg2:Number, _arg3:Object):Array{ var _local4:int; var _local5:Object; var _local6:String; var _local7:Number; var _local8:Object; var _local9:Array; var _local10:Number; if (_arg1.length == 0){ return ([]); }; _local9 = []; _local10 = ((_arg3.delayIncrement) || (0)); delete _arg3.delayIncrement; if (_arg3.onCompleteAll == undefined){ _local8 = _arg3; } else { _local8 = {}; for (_local6 in _arg3) { _local8[_local6] = _arg3[_local6]; }; _local8.onCompleteParams = [[_arg3.onComplete, _arg3.onCompleteAll], [_arg3.onCompleteParams, _arg3.onCompleteAllParams]]; _local8.onComplete = TweenMax.callbackProxy; delete _arg3.onCompleteAll; }; delete _arg3.onCompleteAllParams; if (_local10 == 0){ _local4 = 0; while (_local4 < (_arg1.length - 1)) { _local5 = {}; for (_local6 in _arg3) { _local5[_local6] = _arg3[_local6]; }; _local9[_local9.length] = new TweenMax(_arg1[_local4], _arg2, _local5); _local4++; }; } else { _local7 = ((_arg3.delay) || (0)); _local4 = 0; while (_local4 < (_arg1.length - 1)) { _local5 = {}; for (_local6 in _arg3) { _local5[_local6] = _arg3[_local6]; }; _local5.delay = (_local7 + (_local4 * _local10)); _local9[_local9.length] = new TweenMax(_arg1[_local4], _arg2, _local5); _local4++; }; _local8.delay = (_local7 + ((_arg1.length - 1) * _local10)); }; _local9[_local9.length] = new TweenMax(_arg1[(_arg1.length - 1)], _arg2, _local8); if ((_arg3.onCompleteAllListener is Function)){ _local9[(_local9.length - 1)].addEventListener(TweenEvent.COMPLETE, _arg3.onCompleteAllListener); }; return (_local9); } } }//package gs
Section 25
//bigRock_94 (heelsnwheels_fla.bigRock_94) package heelsnwheels_fla { import flash.display.*; public dynamic class bigRock_94 extends MovieClip { public function bigRock_94(){ addFrameScript(0, frame1); } function frame1(){ gotoAndStop(Math.ceil((Math.random() * 5))); } } }//package heelsnwheels_fla
Section 26
//brakeLights_114 (heelsnwheels_fla.brakeLights_114) package heelsnwheels_fla { import flash.display.*; public dynamic class brakeLights_114 extends MovieClip { public function brakeLights_114(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package heelsnwheels_fla
Section 27
//bush_90 (heelsnwheels_fla.bush_90) package heelsnwheels_fla { import flash.display.*; public dynamic class bush_90 extends MovieClip { public function bush_90(){ addFrameScript(0, frame1); } function frame1(){ gotoAndStop(Math.ceil((Math.random() * 3))); } } }//package heelsnwheels_fla
Section 28
//camperVan_108 (heelsnwheels_fla.camperVan_108) package heelsnwheels_fla { import flash.display.*; public dynamic class camperVan_108 extends MovieClip { public var girl1_mc:MovieClip; public var girl4_mc:MovieClip; public var mask1_mc:MovieClip; public var girl2_mc:MovieClip; public var girl5_mc:MovieClip; public var girl8_mc:MovieClip; public var girl7_mc:MovieClip; public var brakes_mc:MovieClip; public var camperVanPaint_mc:MovieClip; public var girl3_mc:MovieClip; public var mask2_mc:MovieClip; public var girl6_mc:MovieClip; public function camperVan_108(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package heelsnwheels_fla
Section 29
//camperVanBitMap_126 (heelsnwheels_fla.camperVanBitMap_126) package heelsnwheels_fla { import flash.display.*; public dynamic class camperVanBitMap_126 extends MovieClip { public function camperVanBitMap_126(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package heelsnwheels_fla
Section 30
//camperVanPaint_109 (heelsnwheels_fla.camperVanPaint_109) package heelsnwheels_fla { import flash.display.*; public dynamic class camperVanPaint_109 extends MovieClip { public var paint_mc:MovieClip; public function camperVanPaint_109(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package heelsnwheels_fla
Section 31
//carShadow_107 (heelsnwheels_fla.carShadow_107) package heelsnwheels_fla { import flash.display.*; public dynamic class carShadow_107 extends MovieClip { public function carShadow_107(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package heelsnwheels_fla
Section 32
//changable_vans_66 (heelsnwheels_fla.changable_vans_66) package heelsnwheels_fla { import flash.display.*; public dynamic class changable_vans_66 extends MovieClip { public function changable_vans_66(){ addFrameScript(0, frame1, 4, frame5); } function frame1(){ stop(); } function frame5(){ stop(); } } }//package heelsnwheels_fla
Section 33
//CHARACTERS_mc_47 (heelsnwheels_fla.CHARACTERS_mc_47) package heelsnwheels_fla { import flash.display.*; public dynamic class CHARACTERS_mc_47 extends MovieClip { public function CHARACTERS_mc_47(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package heelsnwheels_fla
Section 34
//CRUKButton_30 (heelsnwheels_fla.CRUKButton_30) package heelsnwheels_fla { import flash.display.*; public dynamic class CRUKButton_30 extends MovieClip { public var visitCRUK_btn:SimpleButton; } }//package heelsnwheels_fla
Section 35
//droplet_container_20 (heelsnwheels_fla.droplet_container_20) package heelsnwheels_fla { import flash.display.*; public dynamic class droplet_container_20 extends MovieClip { public function droplet_container_20(){ addFrameScript(26, frame27); } function frame27(){ stop(); } } }//package heelsnwheels_fla
Section 36
//droplets_21 (heelsnwheels_fla.droplets_21) package heelsnwheels_fla { import flash.display.*; public dynamic class droplets_21 extends MovieClip { public function droplets_21(){ addFrameScript(26, frame27); } function frame27(){ stop(); } } }//package heelsnwheels_fla
Section 37
//dustcloud_105 (heelsnwheels_fla.dustcloud_105) package heelsnwheels_fla { import flash.display.*; public dynamic class dustcloud_105 extends MovieClip { public function dustcloud_105(){ addFrameScript(0, frame1); } function frame1(){ gotoAndPlay(2); } } }//package heelsnwheels_fla
Section 38
//kokoIntro_4 (heelsnwheels_fla.kokoIntro_4) package heelsnwheels_fla { import flash.display.*; import flash.events.*; import console.loadurl.*; public dynamic class kokoIntro_4 extends MovieClip { public var koko_btn:SimpleButton; public function kokoIntro_4(){ addFrameScript(0, frame1, 76, frame77, 124, frame125); } function frame77(){ koko_btn.addEventListener(MouseEvent.MOUSE_UP, kokoDigital); } public function kokoDigital(_arg1:MouseEvent){ var _local2:*; _local2 = "http://heelsnwheels.viral-game.co.uk/data.php?action=track_link_koko"; OpenURL.loadURL(_local2); } function frame1(){ stop(); } function frame125(){ MovieClip(parent).play(); stop(); } } }//package heelsnwheels_fla
Section 39
//KokoLeaf_8 (heelsnwheels_fla.KokoLeaf_8) package heelsnwheels_fla { import flash.display.*; public dynamic class KokoLeaf_8 extends MovieClip { public function KokoLeaf_8(){ addFrameScript(149, frame150); } function frame150(){ stop(); } } }//package heelsnwheels_fla
Section 40
//KokoLeafUp_5 (heelsnwheels_fla.KokoLeafUp_5) package heelsnwheels_fla { import flash.display.*; public dynamic class KokoLeafUp_5 extends MovieClip { public function KokoLeafUp_5(){ addFrameScript(129, frame130); } function frame130(){ stop(); } } }//package heelsnwheels_fla
Section 41
//Logos_80 (heelsnwheels_fla.Logos_80) package heelsnwheels_fla { import flash.display.*; public dynamic class Logos_80 extends MovieClip { public var visitCRUK1_btn:SimpleButton; public var visitCRUK_btn:SimpleButton; public function Logos_80(){ addFrameScript(9, frame10); } function frame10(){ stop(); } } }//package heelsnwheels_fla
Section 42
//mask3_104 (heelsnwheels_fla.mask3_104) package heelsnwheels_fla { import flash.display.*; public dynamic class mask3_104 extends MovieClip { public function mask3_104(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package heelsnwheels_fla
Section 43
//menu_HighScores1_37 (heelsnwheels_fla.menu_HighScores1_37) package heelsnwheels_fla { import flash.display.*; import flash.text.*; public dynamic class menu_HighScores1_37 extends MovieClip { public var s1:TextField; public var s5:TextField; public var s6:TextField; public var s8:TextField; public var s7:TextField; public var s9:TextField; public var s2:TextField; public var s4:TextField; public var s3:TextField; public var u10:TextField; public var u2:TextField; public var u4:TextField; public var u1:TextField; public var u7:TextField; public var u8:TextField; public var u9:TextField; public var u3:TextField; public var u6:TextField; public var u5:TextField; public var s10:TextField; } }//package heelsnwheels_fla
Section 44
//menu_SelectDriver_45 (heelsnwheels_fla.menu_SelectDriver_45) package heelsnwheels_fla { import flash.display.*; public dynamic class menu_SelectDriver_45 extends MovieClip { public var charSelect_mc:MovieClip; public var nextDriver_btn:SimpleButton; public var prevDriver_btn:SimpleButton; } }//package heelsnwheels_fla
Section 45
//menuBackground_61 (heelsnwheels_fla.menuBackground_61) package heelsnwheels_fla { import flash.display.*; public dynamic class menuBackground_61 extends MovieClip { public var van_mc:MovieClip; } }//package heelsnwheels_fla
Section 46
//roadMarks_103 (heelsnwheels_fla.roadMarks_103) package heelsnwheels_fla { import flash.display.*; public dynamic class roadMarks_103 extends MovieClip { public var splashMask_mc:MovieClip; public var dustMask_mc:MovieClip; public function roadMarks_103(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package heelsnwheels_fla
Section 47
//rock_93 (heelsnwheels_fla.rock_93) package heelsnwheels_fla { import flash.display.*; public dynamic class rock_93 extends MovieClip { public function rock_93(){ addFrameScript(0, frame1); } function frame1(){ gotoAndStop(Math.ceil((Math.random() * 4))); } } }//package heelsnwheels_fla
Section 48
//rockExplode_102 (heelsnwheels_fla.rockExplode_102) package heelsnwheels_fla { import flash.display.*; public dynamic class rockExplode_102 extends MovieClip { public function rockExplode_102(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package heelsnwheels_fla
Section 49
//Scores_28 (heelsnwheels_fla.Scores_28) package heelsnwheels_fla { import flash.display.*; import flash.text.*; public dynamic class Scores_28 extends MovieClip { public var peopleCollected_txt:TextField; public var coinsCollected_txt:TextField; } }//package heelsnwheels_fla
Section 50
//splash_106 (heelsnwheels_fla.splash_106) package heelsnwheels_fla { import flash.display.*; public dynamic class splash_106 extends MovieClip { public function splash_106(){ addFrameScript(0, frame1, 12, frame13); } function frame1(){ play(); } function frame13(){ gotoAndPlay(5); } } }//package heelsnwheels_fla
Section 51
//spriteHolder_10 (heelsnwheels_fla.spriteHolder_10) package heelsnwheels_fla { import flash.display.*; public dynamic class spriteHolder_10 extends MovieClip { public function spriteHolder_10(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package heelsnwheels_fla
Section 52
//tickBox_34 (heelsnwheels_fla.tickBox_34) package heelsnwheels_fla { import flash.display.*; public dynamic class tickBox_34 extends MovieClip { public function tickBox_34(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package heelsnwheels_fla
Section 53
//timeNumbers_18 (heelsnwheels_fla.timeNumbers_18) package heelsnwheels_fla { import flash.display.*; public dynamic class timeNumbers_18 extends MovieClip { public function timeNumbers_18(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package heelsnwheels_fla
Section 54
//token_92 (heelsnwheels_fla.token_92) package heelsnwheels_fla { import flash.display.*; public dynamic class token_92 extends MovieClip { public function token_92(){ addFrameScript(0, frame1); } function frame1(){ gotoAndStop(Math.ceil((Math.random() * 4))); } } }//package heelsnwheels_fla
Section 55
//tree_87 (heelsnwheels_fla.tree_87) package heelsnwheels_fla { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.geom.*; import flash.filters.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.system.*; import flash.external.*; import flash.errors.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.printing.*; import flash.xml.*; public dynamic class tree_87 extends MovieClip { public function tree_87(){ addFrameScript(0, frame1); } function frame1(){ gotoAndStop(MovieClip(parent).treeFrame); } } }//package heelsnwheels_fla
Section 56
//tree1_88 (heelsnwheels_fla.tree1_88) package heelsnwheels_fla { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.geom.*; import flash.filters.*; import flash.net.*; import flash.media.*; import flash.text.*; import flash.system.*; import flash.external.*; import flash.errors.*; import flash.ui.*; import adobe.utils.*; import flash.accessibility.*; import flash.printing.*; import flash.xml.*; public dynamic class tree1_88 extends MovieClip { public function tree1_88(){ addFrameScript(0, frame1); } function frame1(){ gotoAndStop(MovieClip(parent).treeFrame); } } }//package heelsnwheels_fla
Section 57
//VAN_MC_62 (heelsnwheels_fla.VAN_MC_62) package heelsnwheels_fla { import flash.display.*; public dynamic class VAN_MC_62 extends MovieClip { public var vanSprite_mc:MovieClip; } }//package heelsnwheels_fla
Section 58
//YouScored_29 (heelsnwheels_fla.YouScored_29) package heelsnwheels_fla { import flash.display.*; import flash.text.*; public dynamic class YouScored_29 extends MovieClip { public var totalScore_txt:TextField; } }//package heelsnwheels_fla
Section 59
//DynamicButton (koko.DynamicButton) package koko { import flash.display.*; import flash.events.*; public class DynamicButton extends MovieClip { public function DynamicButton(){ this.stop(); this.buttonMode = true; this.mouseChildren = false; this.addEventListener(MouseEvent.MOUSE_OVER, rOver); this.addEventListener(MouseEvent.MOUSE_OUT, rOut); } public function rOver(_arg1:MouseEvent){ gotoAndPlay("over"); } public function rOut(_arg1:MouseEvent){ gotoAndPlay("out"); } } }//package koko
Section 60
//background_mc (background_mc) package { import flash.display.*; public dynamic class background_mc extends MovieClip { public var background3_mc:MovieClip; public var background1_mc:MovieClip; public var dirtTrackMC:MovieClip; public var background2_mc:MovieClip; } }//package
Section 61
//buildTeamText_mc (buildTeamText_mc) package { import flash.display.*; public dynamic class buildTeamText_mc extends MovieClip { } }//package
Section 62
//camperVan (camperVan) package { import flash.display.*; public dynamic class camperVan extends MovieClip { public var shadow_mc:MovieClip; public var roadMarks_mc:MovieClip; public var camperVan_mc:MovieClip; public var rockExplode_mc:MovieClip; public function camperVan(){ addFrameScript(1, frame2); } function frame2(){ gotoAndPlay(1); } } }//package
Section 63
//camperVanBlitMap (camperVanBlitMap) package { import flash.display.*; public dynamic class camperVanBlitMap extends MovieClip { public var blitMap_mc:MovieClip; } }//package
Section 64
//Cloud (Cloud) package { import flash.display.*; import flash.events.*; import fl.motion.*; public class Cloud extends MovieClip { public var _intSpeed;// = 0 private var _intScaleMC;// = 0 public function Cloud(_arg1, _arg2, _arg3){ var _local4:*; _intSpeed = 0; _intScaleMC = 0; super(); _intSpeed = _arg3; _intScaleMC = _arg1; this.scaleX = (_intScaleMC / 0.8); this.scaleY = _intScaleMC; this.gotoAndStop(Math.ceil((Math.random() * 4))); this.y = Math.ceil((Math.random() * 140)); this.x = (Math.ceil((Math.random() * 1300)) - 200); addEventListener(Event.ENTER_FRAME, moveCloud); _local4 = new Color(); _local4.setTint(13494263, _arg2); this.transform.colorTransform = _local4; this.alpha = 0.8; } public function moveCloud(_arg1:Event):void{ this.x = (this.x - _intSpeed); if (this.x < -200){ this.x = 900; }; } } }//package
Section 65
//Collectable (Collectable) package { import flash.display.*; import flash.events.*; public class Collectable extends MovieClip { private const INT_END_Y = -275; private const INT_SPEED = 15; private const INT_FADE_Y = -200; public function Collectable(_arg1, _arg2){ addFrameScript(0, frame1); addEventListener(Event.ENTER_FRAME, moveObject); this.x = _arg1; this.y = _arg2; } function frame1(){ stop(); } public function moveObject(_arg1:Event){ this.y = (this.y - INT_SPEED); if (this.y < INT_FADE_Y){ this.alpha = (this.alpha - 0.2); }; if (this.y < INT_END_Y){ removeEventListener(Event.ENTER_FRAME, moveObject); this.parent.removeChild(this); }; } } }//package
Section 66
//collectDonationsText_mc (collectDonationsText_mc) package { import flash.display.*; public dynamic class collectDonationsText_mc extends MovieClip { } }//package
Section 67
//countdown (countdown) package { import flash.display.*; public dynamic class countdown extends MovieClip { public var leftNumbers_mc:MovieClip; public var rightNumbers_mc:MovieClip; } }//package
Section 68
//cs_frame_button_koko_ (cs_frame_button_koko_) package { import koko.*; public dynamic class cs_frame_button_koko_ extends DynamicButton { public function cs_frame_button_koko_(){ addFrameScript(0, frame1, 5, frame6); } function frame6(){ stop(); } function frame1(){ stop(); } } }//package
Section 69
//GameEngine (GameEngine) package { import flash.display.*; import flash.events.*; import gs.*; import flash.utils.*; import flash.net.*; import console.trackers.*; import console.engines.*; import com.memecounter.*; import gs.easing.*; import console.verification.*; import console.loadurl.*; import console.loaders.*; import console.parsers.*; import console.highscore.*; import console.control.*; import flash.system.*; import flash.ui.*; public class GameEngine extends MovieClip { private const INT_TREE_TIME = 170; private const INT_VAN_STEER_SPEED = 30; private const INT_BRAKE = 2; private const INT_ACCELERATION = 0.2; private const INT_FRICTION = 0.5; private const INT_COLLECT_TIME:int = 400; private const INT_BGSPEED_2 = 1.75; private const INT_BGSPEED_3 = 0.75; private const INT_BGSPEED_4 = 0.5; private const INT_BGSPEED_1 = 2.5; private var _menuScores:MovieClip; private var _treeGroup;// = 1 private var _classPerspective:Perspective; private var _menuBackground:MovieClip; private var _stage; private var _timeCountDown_mc:Object; private var _intFinalScore;// = 0 var _keyboardControls; public var _camperVanBmpData; private var _menuHowToPlay:MovieClip; private var _intCoinCollect;// = 1 private var _engineSound;// = 1 public var _intPeopleCollected:int;// = 0 private var _kokoBTN:MovieClip; private var _menuGameOver:MovieClip; private var _speedLines_mc:MovieClip; private var _background_mc:MovieClip; public var intro_mc:MovieClip; private var _intCurrentVan;// = 1 public var _intPoundsCollected:int;// = 0 private var _intCamperVanXPos;// = 325 private var _intDistTravelled;// = 0 private var _muteBTN:MovieClip; public var _waterHit;// = 0 private var _menuTurbo:SimpleButton; public var request:URLRequest; private var _sprGameScreen; private var _stage_bmpData; public var _intMaxSpeed;// = 30 private var _strURL;// = "http://www.heelsnwheels.co.uk/data.php" private var _intOriginY:int;// = 210 public var _intCheckpointDist;// = 22000 private var _isGameStarted:Boolean;// = false private var _arrPerspectiveObjects:Array; private var _intOriginX:int;// = 325 private var _intPeopleCollect;// = 2 private var _sendData; public var _intCoinsCollected:int;// = 0 public var _intCollisionReduction;// = 20 private var _swearFilter; public var _isGameOver:Boolean;// = false public var _intTimeAllowed:int;// = 30000 private var _koko_intro:uint;// = 0 public var _highScoreBoard; public var myLoader:Loader; private var _verifyEmail; private var _isOptIn;// = 0 private var _intLocalSpeed:Number;// = 0 public var _intSpeed:Number;// = 0 private var _countDownText1:MovieClip; private var _token:String; private var _intStartTime:int;// = 0 private var _countDownText2:MovieClip; private var _waterScreen_mc:MovieClip; private var _isBraking:Boolean;// = false private var _isDirtPlaying;// = false private var _menuMainMenu:MovieClip; private var _intSpriteSpeed:int;// = 30 private var _menuThankYou:MovieClip; private var _intEndCoins;// = 0 public var _intScore;// = 0 private var _stage_bmp; private var _menuHighScores:MovieClip; private var _debug;// = false private var _intCollectCount:int;// = 0 private var _intTreeTimeCount;// = 0 private var _intSpeedRatio:Number;// = 0 private var _sprTreeLine1; private var _sprTreeLine3; private var _menuEasy:SimpleButton; public var _camperVanBlitMap; public var _intCheckpointMax;// = 0x7D00 private var _gameSounds; public var _intSpeedInc;// = 1 private var _countDownText3:MovieClip; private var _sprTreeLine2; public var _intMembersCollected:int;// = 0 public var _camperVan_bmp; private var _intStartDepthZ:int;// = 800 private var _intCollissionCount:int;// = 0 public var _intStage;// = 1 private var _intTimeDiff:Number;// = 0 public var percBar_mc:MovieClip; private var _camperVan:Object; private var _timeBasedAnimation; public var _intCheckpointInc;// = 2500 public var _intCollisionTime:int;// = 500 private var _intEndPeople;// = 0 private var _menuSendToFriend:MovieClip; public function GameEngine():void{ _strURL = "http://www.heelsnwheels.co.uk/data.php"; _koko_intro = 0; _arrPerspectiveObjects = new Array(); _timeBasedAnimation = new TimeBasedAnimation(); _verifyEmail = new formVERIFY(); _sendData = new SendReceiveData(); _debug = false; _intSpeedRatio = 0; _intTimeDiff = 0; _isBraking = false; _treeGroup = 1; _isOptIn = 0; _gameSounds = new GameSounds(); _stage_bmpData = new BitmapData(650, 450, false, 0); _stage_bmp = new Bitmap(_stage_bmpData); _camperVanBmpData = new BitmapData(650, 450, false, 0); _camperVan_bmp = new Bitmap(_camperVanBmpData); _camperVanBlitMap = new camperVanBlitMap(); _intCurrentVan = 1; _swearFilter = new badLANGUAGE(); _intStartTime = 0; _intTimeAllowed = 30000; _intCoinsCollected = 0; _intEndCoins = 0; _intEndPeople = 0; _intFinalScore = 0; _intPeopleCollected = 0; _classPerspective = new Perspective(60, 5, 0, 1, 0, 0); _intOriginX = 325; _intOriginY = 210; _intSpriteSpeed = 30; _intStartDepthZ = 800; _intMembersCollected = 0; _intPoundsCollected = 0; _intScore = 0; _highScoreBoard = new CommonHighScore(); _intSpeed = 0; _intLocalSpeed = 0; _intCamperVanXPos = 325; _isDirtPlaying = false; _intMaxSpeed = 30; _intSpeedInc = 1; _intDistTravelled = 0; _intCheckpointDist = 22000; _intCheckpointInc = 2500; _intCheckpointMax = 0x7D00; _intStage = 1; _isGameOver = false; _isGameStarted = false; _waterHit = 0; _intTreeTimeCount = 0; _sprGameScreen = new Sprite(); _sprTreeLine1 = new Sprite(); _sprTreeLine2 = new Sprite(); _sprTreeLine3 = new Sprite(); _intCollectCount = 0; _intCollissionCount = 0; _intCollisionTime = 500; _intCollisionReduction = 20; _engineSound = 1; _intCoinCollect = 1; _intPeopleCollect = 2; super(); addFrameScript(0, frame1, 2, frame3, 4, frame5, 9, frame10); generateToken(); } public function clearMovieClips(){ var _local1:*; var _local2:int; var _local3:*; var _local4:int; var _local5:*; var _local6:int; var _local7:*; var _local8:int; _local1 = _sprGameScreen.numChildren; _local2 = 0; while (_local2 < _local1) { _sprGameScreen.removeChildAt(0); _local2++; }; _local3 = _sprTreeLine1.numChildren; _local4 = 0; while (_local4 < _local3) { _sprTreeLine1.getChildAt(0).removeSprite(); _local4++; }; _local5 = _sprTreeLine2.numChildren; _local6 = 0; while (_local6 < _local5) { _sprTreeLine2.getChildAt(0).removeSprite(); _local6++; }; _local7 = _sprTreeLine3.numChildren; _local8 = 0; while (_local8 < _local7) { _sprTreeLine3.getChildAt(0).removeSprite(); _local8++; }; } public function showGameOverScores(_arg1:Event){ if (_intEndPeople < _intPeopleCollected){ _intEndPeople = (_intEndPeople + 2); if (_intEndPeople > _intPeopleCollected){ _intEndPeople = _intPeopleCollected; }; _gameSounds.playSound("sfx_Ticker"); _menuGameOver.scores_mc.peopleCollected_txt.text = _intEndPeople; } else { if (_intEndCoins < _intCoinsCollected){ _intEndCoins = (_intEndCoins + 20); if (_intEndCoins > _intCoinsCollected){ _intEndCoins = _intCoinsCollected; }; _gameSounds.playSound("sfx_Ticker"); _menuGameOver.scores_mc.coinsCollected_txt.text = ("£" + _intEndCoins); } else { TweenMax.to(_intEndCoins, 1.5, {onComplete:showTotalScore}); _menuGameOver.totalScore_mc.totalScore_txt.text = _intFinalScore; _menuGameOver.totalScore_mc.totalScore_txt.text = _intFinalScore; removeEventListener(Event.ENTER_FRAME, showGameOverScores); }; }; } public function middleBow(_arg1, _arg2):void{ createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (800 + _arg2), 0); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (840 + _arg2), -30); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (840 + _arg2), 30); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (880 + _arg2), -50); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (880 + _arg2), 50); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (920 + _arg2), -60); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (920 + _arg2), 60); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (960 + _arg2), -50); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (960 + _arg2), 50); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (1000 + _arg2), -30); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (1000 + _arg2), 30); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (1040 + _arg2), 0); } public function resetVars(){ var _local1:int; _intCamperVanXPos = 325; _camperVan.camperVan_mc.gotoAndStop(1); _local1 = _camperVan.camperVan_mc.currentFrame; _camperVan.roadMarks_mc.gotoAndStop(_local1); _camperVan.shadow_mc.gotoAndStop(_local1); _intTimeAllowed = 30000; _intCollisionTime = 600; _intStage = 1; _intPeopleCollected = 0; _intCoinsCollected = 0; if (_isGameOver){ clearMovieClips(); _isGameOver = false; }; _isGameStarted = false; } public function drawBitmapData():void{ _camperVanBmpData.draw(_camperVanBlitMap); _stage_bmpData.draw(_background_mc); _stage_bmpData.draw(_sprGameScreen); } public function arrow(_arg1, _arg2, _arg3):void{ createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (800 + _arg2), (0 + _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (840 + _arg2), (-20 + _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (840 + _arg2), (20 + _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (880 + _arg2), (-40 + _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (880 + _arg2), (40 + _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (920 + _arg2), (-60 + _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (920 + _arg2), (60 + _arg3)); } public function animateToThankYou(_arg1:Event):void{ hideMenu("Game Over1"); showMenu("Thank You"); } public function beginGame(){ var _local1:*; resetVars(); switch (_intCurrentVan){ case 1: Tracker.kvEvent(1632); break; case 2: Tracker.kvEvent(1633); break; case 3: Tracker.kvEvent(1634); break; case 4: Tracker.kvEvent(1635); break; }; _timeCountDown_mc.leftNumbers_mc.gotoAndStop(4); _timeCountDown_mc.rightNumbers_mc.gotoAndStop(1); _gameSounds.stopSound("_musicChannel1"); _gameSounds.playSound("music_inGame", "_musicChannel", 0, true); _stage_bmp.alpha = 0; TweenMax.to(_stage_bmp, 1, {autoAlpha:1}); TweenMax.to(_menuBackground, 1, {autoAlpha:0, onComplete:removeMenuBackground}); _sprGameScreen.addChild(_sprTreeLine3); _sprGameScreen.addChild(_sprTreeLine2); _sprGameScreen.addChild(_sprTreeLine1); _sprGameScreen.addChild(_camperVan); _sprGameScreen.addChild(_speedLines_mc); _sprGameScreen.addChild(_waterScreen_mc); _sprGameScreen.addChild(_timeCountDown_mc); _sprGameScreen.addChild(_menuScores); _camperVan.camperVan_mc.camperVanPaint_mc.gotoAndStop(_intCurrentVan); _local1 = 1; while (_local1 < 18) { createNewPerspectiveMovieClip("leftTree", _sprTreeLine1, ((60 * _local1) + 50), returnRandomTreePos(650, 110, true)); createNewPerspectiveMovieClip("leftTree2", _sprTreeLine2, ((60 * _local1) + 50), returnRandomTreePos(800, 110, true)); createNewPerspectiveMovieClip("leftTree3", _sprTreeLine3, ((60 * _local1) + 50), returnRandomTreePos(960, 110, true)); createNewPerspectiveMovieClip("rightTree", _sprTreeLine1, ((60 * _local1) + 50), returnRandomTreePos(650, 110, false)); createNewPerspectiveMovieClip("rightTree2", _sprTreeLine2, ((60 * _local1) + 50), returnRandomTreePos(800, 110, false)); createNewPerspectiveMovieClip("rightTree3", _sprTreeLine3, ((60 * _local1) + 50), returnRandomTreePos(960, 110, false)); _local1++; }; createNewPerspectiveMovieClip("startPoint", _sprTreeLine1, 200, 0); addEventListener(Event.ENTER_FRAME, controlGame); _intStartTime = getTimer(); _timeBasedAnimation.startTimer(); buildKC(); TweenMax.to(_countDownText1, 0.8, {delay:1, y:285, ease:Back.easeOut}); TweenMax.to(_countDownText2, 0.8, {delay:3, y:285, ease:Back.easeOut}); TweenMax.to(_countDownText3, 0.8, {delay:5, y:225, ease:Back.easeOut}); TweenMax.to(_countDownText1, 0.8, {delay:2.6, y:600, ease:Back.easeOut}); TweenMax.to(_countDownText2, 0.8, {delay:4.6, y:600, ease:Back.easeOut}); TweenMax.to(_countDownText3, 0.8, {delay:6.6, y:600, ease:Back.easeOut, onComplete:allowGameStart}); } public function getToken(_arg1:Event):void{ _token = _arg1.target._token; _koko_intro = _arg1.target._loadedVars.koko_intro; } public function inst(){ var _local1:*; var _local2:*; var _local3:*; var _local4:int; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; addEventListener(MouseEvent.MOUSE_OVER, buttonOver); addEventListener(MouseEvent.MOUSE_DOWN, buttonDown); _gameSounds = new GameSounds(); _gameSounds.playSound("music_main", "_musicChannel1", 0, true); addChild(_stage_bmp); _camperVan = new camperVan(); _camperVan.x = 325; _camperVan.y = 395; _camperVan.scaleX = 1; _camperVan.scaleY = 1; _timeCountDown_mc = new countdown(); _timeCountDown_mc.x = 325; _timeCountDown_mc.y = 50; _background_mc = new background_mc(); _waterScreen_mc = new waterScreen(); _menuScores = new score(); _menuScores.x = 12; _menuScores.y = 335; _menuBackground = new menuBackground(); _menuMainMenu = new menu_MainMenu(); _menuMainMenu.x = 20; _menuMainMenu.y = 550; _menuBackground.addChild(_menuMainMenu); _menuEasy = new menu_EasyBtn(); _menuEasy.x = 125; _menuEasy.y = 550; _menuEasy.name = "easy_btn"; _menuBackground.addChild(_menuEasy); _menuTurbo = new menu_TurboBtn(); _menuTurbo.x = 125; _menuTurbo.y = 550; _menuTurbo.name = "turbo_btn"; _menuBackground.addChild(_menuTurbo); _menuGameOver = new menu_GameOver(); _menuGameOver.x = 100; _menuGameOver.y = 550; _menuGameOver.submitScore_mc.addEventListener(KeyboardEvent.KEY_DOWN, onKeyboardDown1); _menuGameOver.tickBox_mc.addEventListener(KeyboardEvent.KEY_DOWN, onKeyboardDown2); _menuGameOver.tickBox_mc.buttonMode = true; _menuBackground.addChild(_menuGameOver); _menuThankYou = new menu_ThankYou(); _menuThankYou.x = 100; _menuThankYou.y = 550; _menuBackground.addChild(_menuThankYou); _menuHowToPlay = new menu_HowToPlay(); _menuHowToPlay.x = 95; _menuHowToPlay.y = 550; _menuBackground.addChild(_menuHowToPlay); _menuHighScores = new menu_HighScores(); _menuHighScores.x = 20; _menuHighScores.y = 550; _menuBackground.addChild(_menuHighScores); _menuSendToFriend = new menu_SendToFriend(); _menuSendToFriend.x = 60; _menuSendToFriend.y = 550; _menuBackground.addChild(_menuSendToFriend); _menuSendToFriend.tickBox_mc.buttonMode = true; _menuSendToFriend.send_btn.addEventListener(KeyboardEvent.KEY_DOWN, onKeyboardDown); _menuSendToFriend.tickBox_mc.addEventListener(KeyboardEvent.KEY_DOWN, onKeyboardDown2); _countDownText1 = new buildTeamText_mc(); _countDownText2 = new collectDonationsText_mc(); _countDownText3 = new goText_mc(); _countDownText1.x = (_countDownText2.x = (_countDownText3.x = 325)); _countDownText1.y = (_countDownText2.y = (_countDownText3.y = 600)); addChild(_countDownText1); addChild(_countDownText2); addChild(_countDownText3); _kokoBTN = new kokoButtonMC(); _kokoBTN.x = 630; _kokoBTN.y = 433; _kokoBTN.alpha = 0.3; _muteBTN = new mute_btn(); _muteBTN.buttonMode = true; _muteBTN.name = "mute_btn"; _muteBTN.x = 600; _muteBTN.y = 435; _muteBTN.alpha = 0.3; _menuSendToFriend.tickBox_mc.gotoAndStop(2); _menuGameOver.tickBox_mc.gotoAndStop(2); _speedLines_mc = new speedLines_mc(); _speedLines_mc.y = -40; _local1 = new Array(1, 1, 1, 1.2, 1.2, 1.2, 1.5, 1.5, 1.5, 1.7, 1.7, 1.7, 3, 3, 3); _local2 = new Array(0, 0, 0, 0.3, 0.3, 0.3, 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.7, 0.7, 0.7); _local3 = new Array(0.7, 0.7, 0.7, 0.6, 0.6, 0.6, 0.5, 0.5, 0.5, 0.3, 0.3, 0.3, 0.1, 0.1, 0.1); _local4 = 1; while (_local4 < 12) { _local5 = (_local3[(_local4 - 1)] / 2); _local6 = _local2[(_local4 - 1)]; _local7 = _local1[(_local4 - 1)]; _local8 = new Cloud(_local7, _local6, _local5); _background_mc.addChildAt(_local8, 1); _local9 = new Cloud(_local7, _local6, _local5); _menuBackground.mainBackground_mc.addChildAt(_local9, 1); _local4++; }; showMenuBackground(); showMenu("Select Driver"); addChild(_kokoBTN); addChild(_muteBTN); _stage = this.parent; stage.frameRate = 40; } public function showMenuBackground():void{ addChild(_menuBackground); } public function controlPeople():void{ var _local1:*; var _local2:*; _local1 = _camperVan.camperVan_mc.currentFrame; _camperVan.camperVan_mc.mask1_mc.gotoAndStop(_local1); _camperVan.camperVan_mc.mask2_mc.gotoAndStop(_local1); _camperVan.camperVan_mc.camperVanPaint_mc.paint_mc.gotoAndStop(_local1); _camperVanBlitMap.blitMap_mc.gotoAndStop(_local1); _camperVanBlitMap.blitMap_mc.x = _camperVan.x; _camperVanBlitMap.blitMap_mc.y = _camperVan.y; _camperVanBlitMap.blitMap_mc.scaleX = _camperVan.scaleX; _camperVanBlitMap.blitMap_mc.scaleY = _camperVan.scaleY; _local2 = 1; while (_local2 <= 8) { _camperVan.camperVan_mc[(("girl" + _local2) + "_mc")].visible = false; if (_intPeopleCollected >= _local2){ _camperVan.camperVan_mc[(("girl" + _local2) + "_mc")].visible = true; }; _local2++; }; if (_intSpeed > 8){ _camperVan.roadMarks_mc.dustMask_mc.gotoAndStop(2); } else { _camperVan.roadMarks_mc.dustMask_mc.gotoAndStop(1); }; if (_waterHit > 0){ _camperVan.roadMarks_mc.splashMask_mc.gotoAndStop(2); _camperVan.roadMarks_mc.dustMask_mc.gotoAndStop(1); if ((((_waterScreen_mc.currentFrame == 1)) || ((_waterScreen_mc.currentFrame == 40)))){ _gameSounds.playSound("sfx_HazardWater"); _waterScreen_mc.gotoAndPlay(2); }; } else { _camperVan.roadMarks_mc.splashMask_mc.gotoAndStop(1); }; _waterHit = 0; } public function allowGameStart():void{ stage.quality = "MEDIUM"; _intStartTime = getTimer(); _isGameStarted = true; } public function buildKC(){ _keyboardControls = new KeyboardControls(_debug); addChild(_keyboardControls); _keyboardControls.addEventListener(KeyboardControls.SINGLE_KEY_UP, captureKeyUp); _keyboardControls.addEventListener(KeyboardControls.SINGLE_KEY_DOWN, captureKeyDown); } public function returnRandomTreePos(_arg1, _arg2, _arg3):int{ var _local4:*; _local4 = (_arg1 + (Math.random() * _arg2)); if (_arg3){ _local4 = (0 - _local4); }; return (_local4); } function frame3(){ checkFrame(); } public function preloader(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:int; _local2 = stage.loaderInfo.bytesTotal; _local3 = stage.loaderInfo.bytesLoaded; _local4 = Math.floor((_local3 * (100 / _local2))); percBar_mc.scaleX = (_local4 / 100); if (_local4 >= 99){ removeEventListener(Event.ENTER_FRAME, preloader); gotoAndPlay(2); }; } function frame5(){ stop(); } public function getHighscores():void{ var _local1:*; _local1 = 1; while (_local1 < 10) { _menuHighScores.highScores_mc[("u" + (_local1 + 1))].text = "Loading"; _menuHighScores.highScores_mc[("s" + (_local1 + 1))].text = "-------"; _local1++; }; _highScoreBoard.addEventListener(CommonHighScore.SCORES_LOADED, displayScores); _highScoreBoard.showScores((_strURL + "?action=scores_daily_xml")); } public function buildRoadObjects(){ var _local1:int; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; _intCollectCount = (_intCollectCount + (_intSpeed * _intSpeedRatio)); _intCollissionCount = (_intCollissionCount + (_intSpeed * _intSpeedRatio)); _local1 = 0; if (_intCollectCount >= INT_COLLECT_TIME){ _intCollectCount = 0; _local1 = Math.ceil((Math.random() * 3)); switch (_local1){ case 1: case 2: if (_intPeopleCollect > 0){ buildCollectPerson(); _intPeopleCollect--; } else { buildCollectCoin(); _intCoinCollect--; }; break; case 3: if (_intCoinCollect > 0){ buildCollectCoin(); _intCoinCollect--; } else { buildCollectPerson(); _intPeopleCollect--; }; break; }; if ((((_intCoinCollect == 0)) && ((_intPeopleCollect == 0)))){ _intCoinCollect = 1; _intPeopleCollect = 2; }; }; if (_intCollissionCount >= _intCollisionTime){ _intCollissionCount = 0; _local2 = 5; if (_intStage > 1){ _local2 = 10; }; if (_intStage > 2){ _local2 = 15; }; if (_intStage > 3){ _local2 = 17; }; if (_intStage > 4){ _local2 = 20; }; if (_intStage > 5){ _local2 = 20; }; _local1 = Math.ceil((Math.random() * _local2)); switch (_local1){ case 1: case 2: case 3: createNewPerspectiveMovieClip("rock", _sprTreeLine1, 1000); break; case 4: case 5: createNewPerspectiveMovieClip("treeStump2", _sprTreeLine1, 1000); break; case 6: createNewPerspectiveMovieClip("treeStump1", _sprTreeLine1, 1000); break; case 7: case 8: createNewPerspectiveMovieClip("water", _sprTreeLine1, 1000); break; case 9: createNewPerspectiveMovieClip("rock2", _sprTreeLine1, 1000); break; case 12: _local3 = new Array("treeStump3", "rock1", "rock3"); _local4 = _local3[(Math.ceil((Math.random() * 2)) - 1)]; _local5 = ((Math.random() * 500) - 250); arrow(_local4, 0, _local5); _intCollissionCount = (_intCollissionCount - 100); break; case 14: _local3 = new Array("treeStump3", "rock1", "rock3"); _local4 = _local3[(Math.ceil((Math.random() * 3)) - 1)]; _local6 = Math.ceil((Math.random() * 14)); switch (_local6){ case 1: case 2: case 3: case 11: case 12: largeFullCurve(_local4, 0, -1); break; case 4: case 5: case 6: case 13: case 14: largeFullCurve(_local4, 0, 1); break; case 7: largeFullCurve(_local4, 0, -0.8); largeFullCurve(_local4, 0, 0.8); break; case 8: largeFullCurve(_local4, 0, -0.75); largeFullCurve(_local4, 500, 0.75); largeFullCurve(_local4, 1000, -0.75); largeFullCurve(_local4, 1500, 0.75); _intCollissionCount = (_intCollissionCount - 1500); break; case 9: _local4 = _local3[(Math.ceil((Math.random() * 2)) - 1)]; largeFullCurve(_local4, 0, -0.2); largeFullCurve(_local4, 0, 0.2); break; case 10: largeFullCurve(_local4, 0, -1); largeFullCurve(_local4, 0, 1); gate(_local4, 650, true); gate(_local4, -50, false); break; }; _intCollissionCount = (_intCollissionCount - 500); break; case 16: _local3 = new Array("treeStump3", "rock1", "rock3"); _local4 = _local3[(Math.ceil((Math.random() * 2)) - 1)]; if (Math.random() > 0.7){ gate(_local4, 0, true); } else { gate(_local4, 0, false); }; break; case 17: _local3 = new Array("treeStump3", "rock1", "rock3"); _local4 = _local3[(Math.ceil((Math.random() * 2)) - 1)]; middleBow(_local4, 0); break; case 19: _local7 = (Math.ceil((Math.random() * 700)) - 350); middleLargeLine("rock3", 0, _local7); _intCollissionCount = (_intCollissionCount - 200); break; case 20: _local3 = new Array("treeStump3", "rock1", "rock3"); _local4 = _local3[(Math.ceil((Math.random() * 3)) - 1)]; if (Math.random() > 0.5){ halfArc(_local4, 0, -1); halfArc(_local4, 500, 1); if (Math.random() > 0.5){ halfArc(_local4, 1000, -1); halfArc(_local4, 1500, 1); _intCollissionCount = (_intCollissionCount - 850); }; } else { halfArc(_local4, 0, 1); halfArc(_local4, 500, -1); if (Math.random() > 0.5){ halfArc(_local4, 1000, 1); halfArc(_local4, 1500, -1); _intCollissionCount = (_intCollissionCount - 850); }; }; _intCollissionCount = (_intCollissionCount - 850); break; }; }; } public function onKeyboardDown1(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.ENTER){ submitScore(); }; } public function controlPerspective(_arg1):void{ var _local2:*; var _local3:int; var _local4:*; _local2 = _arg1.numChildren; _local3 = (_local2 - 1); while (_local3 > 0) { _local4 = _arg1.getChildAt(_local3); _local4.controlPerspectiveMC(); _local3--; }; } public function sendToFriend():void{ var _local1:URLVariables; var _local2:String; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; _local1 = new URLVariables(); if (_verifyEmail.email(_menuSendToFriend.ye1.text)){ _local2 = ""; _local3 = _menuSendToFriend.ye1.text; _local4 = _menuSendToFriend.yn1.text; _local5 = _swearFilter.Detect(_local4, true, false); _local6 = 1; while (_local6 < 6) { _local7 = _menuSendToFriend[("fe" + _local6)].text; if (((!((_local3 == ""))) && (!((_local7 == ""))))){ if (_verifyEmail.email(_local7)){ if (_local6 > 1){ _local2 = (_local2 + ","); }; _local2 = (_local2 + _menuSendToFriend[("fe" + _local6)].text); Tracker.kvEvent(1631); }; _menuSendToFriend[("fe" + _local6)].text = ""; trace(_menuSendToFriend[("fe" + _local6)].text); }; _local6++; }; if (_local2 != ""){ _local1.token = _token; _local1.action = "send_invite"; _local1.player_name = _local5; _local1.player_email = _local3; _local1.player_optin = _isOptIn; _local1.friend_email_array = _local2; _sendData.sendData(_strURL, _local1); _menuSendToFriend.play(); }; }; } public function onKeyboardDown2(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.ENTER){ optinCheckbox(); }; } public function showTotalScore(){ TweenMax.to(_menuGameOver.scores_mc, 0.5, {y:300}); TweenMax.to(_menuGameOver.totalScore_mc, 0.5, {delay:0.5, y:148, onComplete:_gameSounds.playSound, onCompleteParams:["sfx_Girlie1"]}); TweenMax.to(_menuGameOver.totalScore_mc, 0.5, {delay:3, y:300}); TweenMax.to(_menuGameOver.visitCRUK_mc, 0.5, {delay:3.5, y:95}); } function frame10(){ inst(); stop(); } public function startScoreCountdown(){ addEventListener(Event.ENTER_FRAME, showGameOverScores); } public function runGameOverSequence(){ _isGameOver = true; if (_intSpeed < 0.5){ Tracker.kvEvent(1626); removeEventListener(Event.ENTER_FRAME, controlGame); showMenuBackground(); TweenMax.to(_stage_bmp, 1, {autoAlpha:0}); TweenMax.to(_menuBackground, 1, {autoAlpha:1}); _intSpeed = 0; _gameSounds.stopSound("_musicChannel"); _gameSounds.stopSound("_sfxTrackChannel"); _gameSounds.stopSound("_sfxVanChannel"); _gameSounds.playSound("sfx_CarHorn"); _gameSounds.playSound("music_main", "_musicChannel1", 0, true); _gameSounds.playSound("sfx_TimeOut", "_sfxTrackChannel", 0, true, 10); removeKC(); stage.quality = "BEST"; showMenu("Game Over"); _intEndCoins = 0; _intEndPeople = 0; _intFinalScore = (_intPeopleCollected * _intCoinsCollected); _menuGameOver.scores_mc.peopleCollected_txt.text = _intEndPeople; _menuGameOver.scores_mc.coinsCollected_txt.text = ("£" + _intEndCoins); _menuGameOver.err.text = ""; TweenMax.to(_intEndCoins, 1.5, {onComplete:startScoreCountdown}); _menuGameOver.totalScore_mc.y = 300; _menuGameOver.scores_mc.y = 148; trace(("Y = " + _menuGameOver.scores_mc.y)); _menuGameOver.visitCRUK_mc.y = 300; }; } public function onKeyboardDown(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.ENTER){ sendToFriend(); }; } public function gameCountDown():void{ var _local1:*; var _local2:*; var _local3:*; var _local4:int; var _local5:int; _local1 = Math.floor((((_intStartTime + _intTimeAllowed) - getTimer()) / 1000)); _local2 = _local1.toString(); _local3 = _timeCountDown_mc.rightNumbers_mc.currentFrame; if (_local1 < 10){ _local2 = ("0" + _local2); }; _local4 = _local2.substr(0, 1); _local5 = _local2.substr(1, 1); if ((((_local1 < 6)) && (((_local5 + 1) < _local3)))){ _gameSounds.playSound("sfx_CountdownBeep"); }; _timeCountDown_mc.leftNumbers_mc.gotoAndStop((_local4 + 1)); _timeCountDown_mc.rightNumbers_mc.gotoAndStop((_local5 + 1)); if (_local1 <= 0){ runGameOverSequence(); }; } function frame1(){ MochiBot.track(this, "45efa038"); Tracker.init(548, root); request = new URLRequest("http://www.viralchart.com/tracker.php?media=879&f=F"); request.method = URLRequestMethod.GET; sendToURL(request); myLoader = new Loader(); myLoader.contentLoaderInfo.addEventListener(Event.OPEN, showPreloader); myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, showLoadResult); addEventListener(Event.ENTER_FRAME, preloader); Security.loadPolicyFile("http://www.viral-game.co.uk/crossdomain.xml"); Security.loadPolicyFile("http://www.heelsnwheels.co.uk/crossdomain.xml"); Security.allowDomain("*"); stop(); } public function accelerate():void{ if ((((((((_intSpeed < _intMaxSpeed)) && ((_waterHit == 0)))) && (!(_isGameOver)))) && (!(_isBraking)))){ _intSpeed = (_intSpeed + (INT_ACCELERATION * _intSpeedRatio)); _camperVan.camperVan_mc.brakes_mc.gotoAndStop(1); }; } public function largeFullCurve(_arg1, _arg2, _arg3):void{ createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (800 + _arg2), (330 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (850 + _arg2), (310 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (900 + _arg2), (290 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (950 + _arg2), (260 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (1000 + _arg2), (240 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (1050 + _arg2), (230 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (1100 + _arg2), (220 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (1150 + _arg2), (230 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (1200 + _arg2), (240 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (1250 + _arg2), (260 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (1300 + _arg2), (290 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (1350 + _arg2), (310 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (1400 + _arg2), (330 * _arg3)); } public function createNewPerspectiveMovieClip(_arg1:String, _arg2, _arg3, _arg4:int=0):void{ var _local5:Number; var _local6:*; var _local7:*; var _local8:*; _local5 = 200; _local6 = 1; _local7 = 1; switch (_arg1){ case "leftTree": _local6 = 2; break; case "rightTree": _local6 = 1; break; case "leftTree2": _local6 = 4; _local7 = 1.2; break; case "rightTree2": _local6 = 3; _local7 = 1.2; break; case "leftTree3": _local6 = 6; _local7 = 1.8; break; case "rightTree3": _local6 = 5; _local7 = 1.8; break; case "tuftOfGrass": _arg4 = -775; _local6 = 10; if (Math.random() > 0.5){ _arg4 = 775; }; case "leftBush": _arg4 = -775; _local6 = 8; break; case "rightBush": _arg4 = 775; _local6 = 8; break; case "collectLeftPerson": _arg4 = (Math.ceil((Math.random() * 330)) - 330); _local6 = 20; break; case "collectRightPerson": _arg4 = Math.ceil((Math.random() * 330)); _local6 = 20; break; case "collectLeftSign": _arg4 = -650; _local6 = 21; break; case "collectRightSign": _arg4 = 650; _local6 = 21; break; case "coins": _arg4 = (Math.ceil((Math.random() * 660)) - 330); _local6 = 22; break; case "water": _arg4 = (Math.ceil((Math.random() * 660)) - 330); _local6 = 30; break; case "rock": _arg4 = (Math.ceil((Math.random() * 660)) - 330); _local6 = 31; break; case "rock1": _local6 = 31; break; case "rock2": _arg4 = (Math.ceil((Math.random() * 660)) - 330); _local6 = 35; break; case "rock3": _local6 = 35; break; case "treeStump1": _arg4 = (Math.ceil((Math.random() * 660)) - 330); _local6 = 33; break; case "treeStump2": _arg4 = (Math.ceil((Math.random() * 660)) - 330); _local6 = 34; break; case "treeStump3": _local6 = 34; break; case "checkpoint": _arg4 = 0; _local6 = 32; break; case "startPoint": _arg4 = 0; _local6 = 40; break; }; _local8 = new PerspectiveControl(_intOriginX, _intOriginY, _arg4, _local5, _arg3, _intSpeed, _local7, _local6, _arg1, _camperVan, this, _treeGroup); _arg2.addChildAt(_local8, 0); } public function gate(_arg1, _arg2, _arg3):void{ createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (800 + _arg2), -350); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (800 + _arg2), -290); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (800 + _arg2), -230); if (_arg3){ createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (800 + _arg2), -180); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (800 + _arg2), -130); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (800 + _arg2), 130); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (800 + _arg2), 180); }; createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (800 + _arg2), 230); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (800 + _arg2), 290); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (800 + _arg2), 350); } public function controlSpeed():void{ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; _local1 = (_intSpeed / _intMaxSpeed); if (_local1 > 0.95){ _local1 = 1; }; _speedLines_mc.alpha = _local1; _local2 = (70 + (15 * _local1)); _local3 = (_intCamperVanXPos - 325); _classPerspective.setPerspective(_camperVan, _intOriginX, _intOriginY, _local3, 200, _local2); Perspective._intSpeed = (_intSpeed * _intSpeedRatio); if (_isGameOver){ _intSpeed = (_intSpeed - INT_FRICTION); }; if ((((((_intSpeed < 0.1)) && (!(_isGameOver)))) && ((_waterHit == 0)))){ _isDirtPlaying = false; _gameSounds.stopSound("_sfxTrackChannel"); _intSpeed = 0; } else { if (((!(_isDirtPlaying)) && (!(_isGameOver)))){ _gameSounds.playSound("sfx_DirtLoop", "_sfxTrackChannel", 0, true); _isDirtPlaying = true; }; if ((((((_waterHit > 0)) && ((_intSpeed < 1.1)))) && (!(_isGameOver)))){ _intSpeed = 1; }; }; controlPeople(); _intDistTravelled = (_intDistTravelled + (_intSpeed * _intSpeedRatio)); if (_intCheckpointDist < _intDistTravelled){ createNewPerspectiveMovieClip("checkpoint", _sprTreeLine1, 1000); _intDistTravelled = 0; trace(("SPEED = " + _intSpeed)); }; _local4 = new Array("1", "10", "9", "8", "7", "6", "5", "4", "3", "2", "1"); _local5 = Math.ceil((_local1 * 10)); if (((((!((_engineSound == _local5))) && ((_local5 < 10)))) && (!(_isGameOver)))){ _engineSound = _local5; _local6 = ("sfx_CarLoop" + _local4[_local5]); _gameSounds.stopSound("_sfxVanChannel"); _gameSounds.playSound(_local6, "_sfxVanChannel", 0, true); }; } public function steerCar(_arg1):void{ var _local2:*; var _local3:*; var _local4:*; var _local5:int; _local2 = (_intSpeed / _intMaxSpeed); _local3 = ((INT_BGSPEED_1 * _local2) * _intSpeedRatio); _local4 = ((INT_VAN_STEER_SPEED * _local2) * _intSpeedRatio); switch (_arg1){ case "left": if ((_intCamperVanXPos - _local4) > 0){ _intCamperVanXPos = (_intCamperVanXPos - _local4); _background_mc.dirtTrackMC.x = (_background_mc.dirtTrackMC.x + _local3); _speedLines_mc.x = (_speedLines_mc.x + _local3); _sprTreeLine1.x = (_sprTreeLine1.x + _local3); _sprTreeLine2.x = (_sprTreeLine2.x + _local3); _sprTreeLine3.x = (_sprTreeLine3.x + _local3); _background_mc.background1_mc.x = (_background_mc.background1_mc.x + ((INT_BGSPEED_2 * _local2) * _intSpeedRatio)); _background_mc.background2_mc.x = (_background_mc.background2_mc.x + ((INT_BGSPEED_3 * _local2) * _intSpeedRatio)); _background_mc.background3_mc.x = (_background_mc.background3_mc.x + ((INT_BGSPEED_4 * _local2) * _intSpeedRatio)); }; break; case "right": if ((_intCamperVanXPos + _local4) < 650){ _intCamperVanXPos = (_intCamperVanXPos + _local4); _background_mc.dirtTrackMC.x = (_background_mc.dirtTrackMC.x - _local3); _speedLines_mc.x = (_speedLines_mc.x - _local3); _sprTreeLine1.x = (_sprTreeLine1.x - _local3); _sprTreeLine2.x = (_sprTreeLine2.x - _local3); _sprTreeLine3.x = (_sprTreeLine3.x - _local3); _background_mc.background1_mc.x = (_background_mc.background1_mc.x - ((INT_BGSPEED_2 * _local2) * _intSpeedRatio)); _background_mc.background2_mc.x = (_background_mc.background2_mc.x - ((INT_BGSPEED_3 * _local2) * _intSpeedRatio)); _background_mc.background3_mc.x = (_background_mc.background3_mc.x - ((INT_BGSPEED_4 * _local2) * _intSpeedRatio)); }; break; }; if (_intCamperVanXPos > 650){ _intCamperVanXPos = 650; }; if (_intCamperVanXPos < 0){ _intCamperVanXPos = 0; }; if ((((_intCamperVanXPos > 225)) && ((_intCamperVanXPos < 425)))){ _camperVan.camperVan_mc.gotoAndStop(1); }; if (_intCamperVanXPos > 375){ _camperVan.camperVan_mc.gotoAndStop(10); }; if (_intCamperVanXPos > 450){ _camperVan.camperVan_mc.gotoAndStop(11); }; if (_intCamperVanXPos > 530){ _camperVan.camperVan_mc.gotoAndStop(12); }; if (_intCamperVanXPos > 610){ _camperVan.camperVan_mc.gotoAndStop(13); }; if (_intCamperVanXPos < 265){ _camperVan.camperVan_mc.gotoAndStop(2); }; if (_intCamperVanXPos < 200){ _camperVan.camperVan_mc.gotoAndStop(3); }; if (_intCamperVanXPos < 120){ _camperVan.camperVan_mc.gotoAndStop(4); }; if (_intCamperVanXPos < 40){ _camperVan.camperVan_mc.gotoAndStop(5); }; _local5 = _camperVan.camperVan_mc.currentFrame; _camperVan.roadMarks_mc.gotoAndStop(_local5); _camperVan.shadow_mc.gotoAndStop(_local5); } public function controlGame(_arg1:Event){ if (_isGameStarted){ accelerate(); captureMultiKey(); gameCountDown(); }; controlScores(); controlTimeBasedAnimation(); buildTreeLine(); buildRoadObjects(); controlSpeed(); drawBitmapData(); } public function brake():void{ if (_intSpeed >= 0){ _isBraking = true; _intSpeed = (_intSpeed - (INT_BRAKE * _intSpeedRatio)); if (_intSpeed < 0){ _intSpeed = 0; }; _camperVan.camperVan_mc.brakes_mc.gotoAndStop(2); }; } public function removeKC():void{ _keyboardControls.removeEventListener(KeyboardControls.SINGLE_KEY_UP, captureKeyUp); _keyboardControls.removeEventListener(KeyboardControls.SINGLE_KEY_DOWN, captureKeyDown); } public function buildTreeLine(){ var _local1:*; var _local2:int; var _local3:*; if (Math.random() > 0.995){ if (_treeGroup == 1){ _treeGroup = 2; } else { _treeGroup = 1; }; }; _intTreeTimeCount = (_intTreeTimeCount + (_intSpeed * _intSpeedRatio)); if (_intTreeTimeCount >= INT_TREE_TIME){ _local1 = _intTreeTimeCount; _intTreeTimeCount = 0; if (Math.random() > 0.2){ createNewPerspectiveMovieClip("leftTree", _sprTreeLine1, _intStartDepthZ, returnRandomTreePos(650, 110, true)); createNewPerspectiveMovieClip("leftTree", _sprTreeLine1, (_intStartDepthZ + returnRandomTreePos(50, 100, false)), returnRandomTreePos(650, 110, true)); } else { createNewPerspectiveMovieClip("leftBush", _sprTreeLine1, _intStartDepthZ); }; if (Math.random() > 0.2){ createNewPerspectiveMovieClip("rightTree", _sprTreeLine1, _intStartDepthZ, returnRandomTreePos(650, 110, false)); createNewPerspectiveMovieClip("rightTree", _sprTreeLine1, (_intStartDepthZ + returnRandomTreePos(50, 100, false)), returnRandomTreePos(650, 110, false)); } else { createNewPerspectiveMovieClip("rightBush", _sprTreeLine1, _intStartDepthZ); }; _local2 = 0; while (_local2 < 3) { _local3 = ((Math.random() * 50) + (_local2 * 25)); createNewPerspectiveMovieClip("leftTree2", _sprTreeLine2, (500 + (_local2 * _local3)), returnRandomTreePos(800, 110, true)); createNewPerspectiveMovieClip("rightTree2", _sprTreeLine2, (500 + (_local2 * _local3)), returnRandomTreePos(800, 110, false)); createNewPerspectiveMovieClip("leftTree3", _sprTreeLine3, (400 + (_local2 * _local3)), returnRandomTreePos(960, 110, true)); createNewPerspectiveMovieClip("rightTree3", _sprTreeLine3, (400 + (_local2 * _local3)), returnRandomTreePos(960, 110, false)); _local2++; }; }; if (Math.random() > 0.98){ createNewPerspectiveMovieClip("tuftOfGrass", _sprTreeLine1, _intStartDepthZ); }; } public function optinCheckbox(){ if (_isOptIn == 1){ _menuSendToFriend.tickBox_mc.gotoAndStop(2); _menuGameOver.tickBox_mc.gotoAndStop(2); _isOptIn = 0; } else { _isOptIn = 1; _menuSendToFriend.tickBox_mc.gotoAndStop(1); _menuGameOver.tickBox_mc.gotoAndStop(1); }; } public function buttonOver(_arg1:MouseEvent){ if (_arg1.target.constructor == "[class SimpleButton]"){ _gameSounds.playSound("sfx_Rollover"); }; switch (_arg1.target.name){ case "easy_btn": _gameSounds.playSound("sfx_Rollover"); break; case "turbo_btn": _gameSounds.playSound("sfx_Rollover"); break; }; } public function buildCollectPerson(){ var _local1:*; _local1 = Math.ceil((Math.random() * 2)); switch (_local1){ case 1: createNewPerspectiveMovieClip("collectLeftPerson", _sprTreeLine1, 1000); createNewPerspectiveMovieClip("collectLeftSign", _sprTreeLine1, 1000); break; case 2: createNewPerspectiveMovieClip("collectRightPerson", _sprTreeLine1, 1000); createNewPerspectiveMovieClip("collectRightSign", _sprTreeLine1, 1000); break; }; } public function submitScore():void{ var _local1:URLVariables; var _local2:*; var _local3:*; _local1 = new URLVariables(); if (_verifyEmail.email(_menuGameOver.yourEmail.text)){ if (_menuGameOver.yourName.text != ""){ _local2 = _menuGameOver.yourName.text; _local3 = _swearFilter.Detect(_local2, true, false); _local1.token = _token; _local1.action = "scores_submit"; _local1.player_name = _local3; _local1.player_email = _menuGameOver.yourEmail.text; _local1.player_score = _intFinalScore; _local1.player_optin = _isOptIn; _sendData.sendData(_strURL, _local1); _sendData.addEventListener(SendReceiveData.DATA_LOADED, animateToThankYou); } else { _menuGameOver.err.text = "PLEASE ENTER YOUR NAME"; }; } else { _menuGameOver.err.text = "PLEASE ENTER A VALID EMAIL"; }; } public function checkFrame(){ trace("RUN"); if (_koko_intro == 1){ trace("PLAY INTRO"); intro_mc.play(); } else { gotoAndStop(10); }; } public function halfArc(_arg1, _arg2, _arg3):void{ createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (800 + _arg2), (350 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (830 + _arg2), (300 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (860 + _arg2), (250 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (890 + _arg2), (200 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (920 + _arg2), (150 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (950 + _arg2), (100 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (980 + _arg2), (60 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (1010 + _arg2), (30 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (1040 + _arg2), (10 * _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (1070 + _arg2), (0 * _arg3)); } public function controlTimeBasedAnimation(){ _intTimeDiff = _timeBasedAnimation.returnTimeDiff(); _intSpeedRatio = (_intTimeDiff / 40); } private function captureKeyDown(_arg1:Event){ } public function displayScores(_arg1:Event):void{ var _local2:Array; var _local3:*; _local2 = _highScoreBoard._highScores; _local3 = 0; while (_local3 < _local2.length) { if (_local3 < 10){ trace(("I = " + _local2[_local3][2])); _menuHighScores.highScores_mc[("u" + (_local3 + 1))].text = _local2[_local3][2]; _menuHighScores.highScores_mc[("s" + (_local3 + 1))].text = _local2[_local3][3]; }; _local3++; }; } public function showLoadResult(_arg1:Event){ } public function generateToken(){ var _local1:*; _local1 = new ParseTOKEN(_strURL); _local1.addEventListener(ParseTOKEN.TOKEN_GENERATED, getToken); } public function removeMenuBackground():void{ removeChild(_menuBackground); trace("Remove Background"); stage.focus = _stage; } public function buildCollectCoin(){ createNewPerspectiveMovieClip("coins", _sprTreeLine1, 1000); } public function buttonDown(_arg1:MouseEvent){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; switch (_arg1.target.name){ case "playGame_btn": hideMenu("Select Driver"); hideMenu("How To Play"); hideMenu("Send to Friend"); showMenu("Difficulty"); break; case "easy_btn": Tracker.kvEvent(1625); Tracker.kvEvent(1627); _intMaxSpeed = 15; _intCheckpointDist = 5500; _intCheckpointInc = 1625; _intCheckpointMax = 14000; _intDistTravelled = 0; _intSpeedInc = 0.51; hideMenu("Difficulty"); _gameSounds.playSound("sfx_Click1"); break; case "turbo_btn": Tracker.kvEvent(1625); Tracker.kvEvent(1628); _intMaxSpeed = 30; _intCheckpointDist = 10000; _intCheckpointInc = 3250; _intCheckpointMax = 22000; _intDistTravelled = 0; _intSpeedInc = 0.75; hideMenu("Difficulty"); _gameSounds.playSound("sfx_Click1"); break; case "playAgain_btn": hideMenu("Game Over"); hideMenu("Send to Friend"); showMenu("Select Driver"); break; case "submitScore_mc": submitScore(); break; case "howToPlay_btn": Tracker.kvEvent(1629); showMenu("How To Play"); hideMenu("Select Driver"); break; case "visitCRUK_btn": _local2 = (_strURL + "?action=track_affiliate_client"); OpenURL.loadURL(_local2); Tracker.kvClick(892); break; case "visitCRUK1_btn": _local3 = (_strURL + "?action=track_general_client"); OpenURL.loadURL(_local3); Tracker.kvClick(894); break; case "koko_btn": _local4 = (_strURL + "?action=track_link_koko"); OpenURL.loadURL(_local4); Tracker.kvClick(893); break; case "mainMenu1_btn": showMenu("Select Driver"); hideMenu("How To Play"); hideMenu("Game Over"); hideMenu("Send to Friend"); hideMenu("Thank You"); hideMenu("High Scores"); break; case "viewHighScores_btn": Tracker.kvEvent(1630); showMenu("High Scores"); hideMenu("Send to Friend"); hideMenu("Thank You"); hideMenu("Select Driver"); getHighscores(); break; case "sendToFriend_btn": showMenu("Send to Friend"); hideMenu("Game Over1"); hideMenu("Thank You"); hideMenu("High Scores"); hideMenu("Select Driver"); break; case "send_btn": sendToFriend(); break; case "nextDriver_btn": _intCurrentVan++; if (_intCurrentVan == 5){ _intCurrentVan = 1; }; _menuBackground.mainBackground_mc.van_mc.vanSprite_mc.gotoAndStop(_intCurrentVan); _menuMainMenu.selectDriver_mc.charSelect_mc.gotoAndStop(_intCurrentVan); break; case "prevDriver_btn": _intCurrentVan--; if (_intCurrentVan == 0){ _intCurrentVan = 4; }; _menuBackground.mainBackground_mc.van_mc.vanSprite_mc.gotoAndStop(_intCurrentVan); _menuMainMenu.selectDriver_mc.charSelect_mc.gotoAndStop(_intCurrentVan); break; case "tickBox_mc": optinCheckbox(); break; case "mute_btn": _local5 = _gameSounds.muteSound(); if (_local5){ _muteBTN.gotoAndStop(20); } else { _muteBTN.gotoAndPlay(1); }; break; }; if (_arg1.target.constructor == "[class SimpleButton]"){ _gameSounds.playSound("sfx_Click1"); }; } private function captureKeyUp(_arg1:Event){ } public function hideMenu(_arg1):void{ switch (_arg1){ case "Select Driver": TweenMax.to(_menuMainMenu, 0.5, {y:600}); break; case "Difficulty": TweenMax.to(_menuEasy, 0.5, {delay:0.3, y:600, onComplete:beginGame}); TweenMax.to(_menuTurbo, 0.5, {y:600}); break; case "Game Over": TweenMax.to(_menuGameOver, 0.5, {y:600}); TweenMax.to(_menuThankYou, 0.5, {y:600}); break; case "Game Over1": TweenMax.to(_menuGameOver, 0.5, {y:600}); break; case "Thank You": TweenMax.to(_menuThankYou, 0.5, {y:600}); TweenMax.to(_stage_bmp, 1, {autoAlpha:0}); TweenMax.to(_menuBackground, 1, {autoAlpha:1}); break; case "How To Play": TweenMax.to(_menuHowToPlay, 0.5, {y:550}); break; case "Send to Friend": TweenMax.to(_menuSendToFriend, 0.5, {y:550}); break; case "High Scores": TweenMax.to(_menuHighScores, 0.5, {y:550}); break; }; } public function middleLargeLine(_arg1, _arg2, _arg3):void{ createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (800 + _arg2), (0 + _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (850 + _arg2), (0 + _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (900 + _arg2), (0 + _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (1000 + _arg2), (0 + _arg3)); createNewPerspectiveMovieClip(_arg1, _sprTreeLine1, (1050 + _arg2), (0 + _arg3)); } private function captureMultiKey(){ var _local1:*; var _local2:*; _camperVan.camperVan_mc.brakes_mc.gotoAndStop(1); _isBraking = false; _local1 = false; _local2 = 0; while (_local2 < _keyboardControls._keysDown_array.length) { switch (_keyboardControls._keysDown_array[_local2]){ case 38: break; case 37: if (!_local1){ _local1 = true; steerCar("left"); }; break; case 39: if (!_local1){ _local1 = true; steerCar("right"); }; break; case 40: brake(); break; }; _local2++; }; } public function controlScores(){ _menuScores.peopleCollected_txt.text = _intPeopleCollected; _menuScores.coinsCollected_txt.text = ("£" + _intCoinsCollected); } public function showPreloader(_arg1:Event){ stop(); } public function showMenu(_arg1):void{ switch (_arg1){ case "Select Driver": TweenMax.to(_menuMainMenu, 0.5, {y:125}); break; case "Difficulty": TweenMax.to(_menuEasy, 0.5, {y:350}); TweenMax.to(_menuTurbo, 0.5, {delay:0.3, y:400}); trace("PLAY"); break; case "Game Over": TweenMax.to(_menuGameOver, 0.5, {delay:1, y:55}); break; case "Thank You": TweenMax.to(_menuThankYou, 0.5, {delay:0.5, y:130}); break; case "How To Play": TweenMax.to(_menuHowToPlay, 0.5, {y:150}); break; case "Send to Friend": TweenMax.to(_menuSendToFriend, 0.5, {y:120}); break; case "High Scores": TweenMax.to(_menuHighScores, 0.5, {y:130}); break; }; } } }//package
Section 70
//GameSounds (GameSounds) package { import flash.media.*; public class GameSounds { public var _isMuted;// = false public var _soundTransform:SoundTransform; public var _sfxChannel:SoundChannel; public var _sfxVanChannel:SoundChannel; public var _intVolume;// = 1 public var _musicChannel1:SoundChannel; public var _musicChannel:SoundChannel; public var _sfxTrackChannel:SoundChannel; public static var _objSounds = new Object(); public function GameSounds(){ _sfxChannel = new SoundChannel(); _sfxVanChannel = new SoundChannel(); _sfxTrackChannel = new SoundChannel(); _musicChannel = new SoundChannel(); _musicChannel1 = new SoundChannel(); _soundTransform = new SoundTransform(); _isMuted = false; _intVolume = 1; super(); _objSounds.sfx_CarHorn = new sfx_CarHorn(); _objSounds.sfx_CarLoop = new sfx_CarLoop(); _objSounds.sfx_CarLoop1 = new sfx_CarLoop1(); _objSounds.sfx_CarLoop2 = new sfx_CarLoop2(); _objSounds.sfx_CarLoop3 = new sfx_CarLoop3(); _objSounds.sfx_CarLoop4 = new sfx_CarLoop4(); _objSounds.sfx_CarLoop5 = new sfx_CarLoop5(); _objSounds.sfx_CarLoop6 = new sfx_CarLoop6(); _objSounds.sfx_CarLoop7 = new sfx_CarLoop7(); _objSounds.sfx_CarLoop8 = new sfx_CarLoop8(); _objSounds.sfx_CarLoop9 = new sfx_CarLoop9(); _objSounds.sfx_CarLoop10 = new sfx_CarLoop10(); _objSounds.sfx_Checkpoint = new sfx_Checkpoint(); _objSounds.sfx_CountdownBeep = new sfx_CountdownBeep(); _objSounds.sfx_Girlie1 = new sfx_Girlie1(); _objSounds.sfx_Girlie2 = new sfx_Girlie2(); _objSounds.sfx_Girlie3 = new sfx_Girlie3(); _objSounds.sfx_Hazard1 = new sfx_Hazard1(); _objSounds.sfx_Hazard2 = new sfx_Hazard2(); _objSounds.sfx_Hazard3 = new sfx_Hazard3(); _objSounds.sfx_HazardWater = new sfx_HazardWater(); _objSounds.sfx_PickupCoin = new sfx_PickupCoin(); _objSounds.sfx_PickupGirlBubble = new sfx_PickupGirlBubble(); _objSounds.sfx_Ticker = new sfx_Ticker(); _objSounds.sfx_TimeOut = new sfx_TimeOut(); _objSounds.sfx_Click1 = new sfx_Click1(); _objSounds.sfx_Click2 = new sfx_Click2(); _objSounds.sfx_Rollover = new sfx_Rollover(); _objSounds.sfx_DirtLoop = new sfx_DirtLoop(); _objSounds.music_main = new music_main(); _objSounds.music_inGame = new music_inGame(); } public function stopSound(_arg1){ this[_arg1].stop(); } public function playSound(_arg1:String, _arg2:String="_sfxChannel", _arg3:int=0, _arg4:Boolean=false, _arg5:int=999999){ var _local6:*; _local6 = 0; if (_arg4){ _local6 = _arg5; }; this[_arg2] = _objSounds[_arg1].play(_arg3, _local6); _soundTransform = _musicChannel1.soundTransform; _soundTransform.volume = 0.5; _musicChannel1.soundTransform = _soundTransform; _soundTransform = _sfxVanChannel.soundTransform; _soundTransform.volume = 0.7; _sfxVanChannel.soundTransform = _soundTransform; _soundTransform = _sfxTrackChannel.soundTransform; _soundTransform.volume = 0.5; _sfxTrackChannel.soundTransform = _soundTransform; } public function setVolume(){ SoundMixer.soundTransform = new SoundTransform(_intVolume); } public function muteSound():Boolean{ switch (_isMuted){ case true: _intVolume = 1; _isMuted = false; setVolume(); break; case false: _intVolume = 0; _isMuted = true; setVolume(); break; }; return (_isMuted); } } }//package
Section 71
//goText_mc (goText_mc) package { import flash.display.*; public dynamic class goText_mc extends MovieClip { } }//package
Section 72
//kokoButtonMC (kokoButtonMC) package { import flash.display.*; public dynamic class kokoButtonMC extends MovieClip { public var koko_btn:cs_frame_button_koko_; } }//package
Section 73
//menu_EasyBtn (menu_EasyBtn) package { import flash.display.*; public dynamic class menu_EasyBtn extends SimpleButton { } }//package
Section 74
//menu_GameOver (menu_GameOver) package { import flash.display.*; import flash.text.*; public dynamic class menu_GameOver extends MovieClip { public var visitCRUK_mc:MovieClip; public var yourEmail:TextField; public var yourName:TextField; public var scores_mc:MovieClip; public var tickBox_mc:MovieClip; public var mainMenu1_btn:SimpleButton; public var submitScore_mc:SimpleButton; public var err:TextField; public var sendToFriend_btn:SimpleButton; public var totalScore_mc:MovieClip; public function menu_GameOver(){ addFrameScript(0, frame1); } function frame1(){ tickBox_mc.tabIndex = 103; yourName.tabIndex = 101; yourEmail.tabIndex = 102; submitScore_mc.tabIndex = 104; } } }//package
Section 75
//menu_HighScores (menu_HighScores) package { import flash.display.*; public dynamic class menu_HighScores extends MovieClip { public var mainMenu1_btn:SimpleButton; public var visitCRUK_btn:SimpleButton; public var sendToFriend_btn:SimpleButton; public var highScores_mc:MovieClip; } }//package
Section 76
//menu_HowToPlay (menu_HowToPlay) package { import flash.display.*; public dynamic class menu_HowToPlay extends MovieClip { public var playGame_btn:SimpleButton; public var mainMenu1_btn:SimpleButton; public var visitCRUK_btn:SimpleButton; } }//package
Section 77
//menu_MainMenu (menu_MainMenu) package { import flash.display.*; public dynamic class menu_MainMenu extends MovieClip { public var playGame_btn:SimpleButton; public var howToPlay_btn:SimpleButton; public var selectDriver_mc:MovieClip; public var viewHighScores_btn:SimpleButton; public var visitCRUK_btn:SimpleButton; public var sendToFriend_btn:SimpleButton; } }//package
Section 78
//menu_SendToFriend (menu_SendToFriend) package { import flash.display.*; import flash.text.*; import flash.accessibility.*; public dynamic class menu_SendToFriend extends MovieClip { public var send_btn:SimpleButton; public var fe3:TextField; public var fe5:TextField; public var fe1:TextField; public var fe2:TextField; public var fe4:TextField; public var tickBox_mc:MovieClip; public var viewHighScores_btn:SimpleButton; public var ye1:TextField; public var visitCRUK_btn:SimpleButton; public var mainMenu1_btn:SimpleButton; public var yn1:TextField; public function menu_SendToFriend(){ addFrameScript(0, frame1); } function frame1(){ yn1.tabIndex = 301; ye1.tabIndex = 302; fe1.tabIndex = 303; fe2.tabIndex = 304; fe3.tabIndex = 305; fe4.tabIndex = 306; fe5.tabIndex = 307; send_btn.tabIndex = 309; tickBox_mc.tabIndex = 308; tickBox_mc.accessibilityProperties = new AccessibilityProperties(); tickBox_mc.accessibilityProperties.forceSimple = true; stop(); } } }//package
Section 79
//menu_ThankYou (menu_ThankYou) package { import flash.display.*; public dynamic class menu_ThankYou extends MovieClip { public var viewHighScores_btn:SimpleButton; public var visitCRUK_btn:SimpleButton; public var sendToFriend_btn:SimpleButton; public var mainMenu1_btn:SimpleButton; } }//package
Section 80
//menu_TurboBtn (menu_TurboBtn) package { import flash.display.*; public dynamic class menu_TurboBtn extends SimpleButton { } }//package
Section 81
//menuBackground (menuBackground) package { import flash.display.*; public dynamic class menuBackground extends MovieClip { public var mainBackground_mc:MovieClip; } }//package
Section 82
//music_inGame (music_inGame) package { import flash.media.*; public dynamic class music_inGame extends Sound { } }//package
Section 83
//music_main (music_main) package { import flash.media.*; public dynamic class music_main extends Sound { } }//package
Section 84
//mute_btn (mute_btn) package { import flash.display.*; public dynamic class mute_btn extends MovieClip { public function mute_btn(){ addFrameScript(12, frame13, 16, frame17, 19, frame20); } function frame17(){ gotoAndPlay(1); } function frame13(){ stop(); } function frame20(){ stop(); } } }//package
Section 85
//PerspectiveControl (PerspectiveControl) package { import flash.display.*; import flash.events.*; import gs.*; import fl.motion.*; import flash.geom.*; import console.engines.*; public class PerspectiveControl extends MovieClip { public var target_mc; private var _tintEffect:Color; private var _classPerspective; private var _isCollisionHappening;// = false public var intPosZ;// = 3000 public var removeClip;// = false private var _intPrevX:int; private var _intPrevY:int; private var _spriteType:String;// = "" public var intEndY;// = 20 public var _isActive:Boolean;// = false public var treeFrame; public var intEndX;// = -325 private var _intPrevScale:int; private var _targetClass:Object; private var _intOriginX:int;// = 0 private var _intOriginY:int;// = 0 public var _isAllowedTOBeVisible:Boolean;// = true private var _arrCollisionPoint; private var _objCollision:Object; private var _gameSounds; private var _isCollisionAllowed;// = true public static var _intSpeed = 0; public function PerspectiveControl(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9, _arg10, _arg11, _arg12){ target_mc = this; intEndX = -325; intEndY = 20; intPosZ = 3000; removeClip = false; _arrCollisionPoint = new Array(); _intOriginX = 0; _intOriginY = 0; _tintEffect = new Color(); _spriteType = ""; _objCollision = new Object(); _isCollisionAllowed = true; _isCollisionHappening = false; _isActive = false; _isAllowedTOBeVisible = true; _gameSounds = new GameSounds(); super(); this.visible = false; this.x = 0; treeFrame = _arg12; this.scaleX = (this.scaleY = 0); _intOriginX = _arg1; _intOriginY = _arg2; intEndX = _arg3; intEndY = _arg4; intPosZ = _arg5; this.gotoAndStop(_arg8); _classPerspective = new Perspective(60, 5, 0, 1, _arg6, _arg7); _spriteType = _arg9; _objCollision = _arg10; _targetClass = _arg11; addEventListener(Event.ENTER_FRAME, controlPerspectiveMC); addEventListener(Event.ADDED, resetMovieDepth); } public function controlPerspectiveMC(_arg1:Event):void{ var _local2:*; var _local3:Collectable; var _local4:int; var _local5:Array; var _local6:Point; var _local7:Point; var _local8:uint; var _local9:String; var _local10:*; var _local11:*; var _local12:*; var _local13:*; var _local14:*; var _local15:*; var _local16:*; var _local17:*; if (_isActive){ _intPrevX = this.x; _intPrevY = this.y; _intPrevScale = this.scaleX; _classPerspective.moveInPerspective(this, _intOriginX, _intOriginY); if ((((intPosZ > 800)) || (!(_isAllowedTOBeVisible)))){ this.visible = false; } else { this.visible = true; }; if (intPosZ > 100){ _local2 = ((intPosZ - 100) / 900); _tintEffect.setTint(2430468, _local2); this.transform.colorTransform = _tintEffect; }; if ((((((this.y > 310)) && (_isCollisionAllowed))) && (_isAllowedTOBeVisible))){ _local4 = 0; _local5 = new Array(); _local6 = new Point(); _local10 = false; if (((((((((_isCollisionAllowed) && ((this.x > (_objCollision.x - 110))))) && ((this.x < (_objCollision.x + 110))))) && ((this.y > 275)))) || ((_spriteType == "checkpoint")))){ switch (_spriteType){ case "collectLeftPerson": case "collectRightPerson": _arrCollisionPoint = new Array(-75, 0, 75); checkCollision(0, true); _local10 = true; if (_isCollisionHappening){ _local3 = new Collectable(0, -75); _objCollision.addChild(_local3); _targetClass._intPeopleCollected++; if (Math.random() > 0.8){ _local11 = new Array("sfx_Girlie1", "sfx_Girlie2", "sfx_Girlie3"); _local12 = _local11[(Math.ceil((Math.random() * 3)) - 1)]; TweenMax.to(_local4, 0.2, {onComplete:_gameSounds.playSound, onCompleteParams:[_local12]}); }; _gameSounds.playSound("sfx_PickupGirlBubble"); _isAllowedTOBeVisible = false; }; break; case "coins": _arrCollisionPoint = new Array(-75, 0, 75); checkCollision(0, true); _local10 = true; if (_isCollisionHappening){ _local3 = new Collectable(0, -75); _objCollision.addChild(_local3); _local3.gotoAndStop(5); _targetClass._intCoinsCollected = (_targetClass._intCoinsCollected + 10); _gameSounds.playSound("sfx_PickupCoin"); _isAllowedTOBeVisible = false; }; break; case "water": _arrCollisionPoint = new Array(-120, -60, 0, 60, 120); checkCollision(30); _local10 = true; if (_isCollisionHappening){ _local13 = (Math.abs((_objCollision.x - this.x)) / 400); if (_local13 > 0.3){ _local13 = 0.3; }; _targetClass._intSpeed = (_targetClass._intSpeed * (0.7 + _local13)); _targetClass._waterHit++; }; break; case "rock1": case "rock": case "treeStump1": case "treeStump2": case "treeStump3": _arrCollisionPoint = new Array(-50, 0, 50); checkCollision(0); _local10 = true; if (_isCollisionHappening){ _objCollision.gotoAndPlay(4); _targetClass._intSpeed = (_targetClass._intSpeed * 0.3); _isCollisionAllowed = false; _local14 = new Array("sfx_Hazard1", "sfx_Hazard2", "sfx_Hazard3"); _local15 = _local14[(Math.ceil((Math.random() * 3)) - 1)]; _gameSounds.playSound(_local15); }; break; case "rock2": case "rock3": _arrCollisionPoint = new Array(-40, 0, 40); checkCollision(0); _local10 = true; if (_isCollisionHappening){ _objCollision.rockExplode_mc.gotoAndPlay(2); _targetClass._intSpeed = (_targetClass._intSpeed * 0.2); _isCollisionAllowed = false; _local16 = new Array("sfx_Hazard1", "sfx_Hazard2", "sfx_Hazard3"); _local17 = _local16[(Math.ceil((Math.random() * 3)) - 1)]; _gameSounds.playSound(_local17); _isAllowedTOBeVisible = false; }; break; case "checkpoint": _targetClass._intTimeAllowed = (_targetClass._intTimeAllowed + 25000); _targetClass._intCheckpointDist = (_targetClass._intCheckpointDist + _targetClass._intCheckpointInc); _local10 = true; if (_targetClass._intCheckpointDist > _targetClass._intCheckpointMax){ _targetClass._intCheckpointDist = _targetClass._intCheckpointMax; }; _gameSounds.playSound("sfx_Checkpoint"); TweenMax.to(_local4, 0.5, {onComplete:_gameSounds.playSound, onCompleteParams:["sfx_CarHorn"]}); _targetClass._intStage++; _targetClass._intMaxSpeed = (_targetClass._intMaxSpeed + _targetClass._intSpeedInc); _targetClass._intCollisionTime = (_targetClass._intCollisionTime - _targetClass._intCollisionReduction); _isCollisionAllowed = false; trace(("CHECKPOINT DISTANCE = " + _targetClass._intCheckpointDist)); _targetClass._isGameOver = false; break; }; }; }; if (((((((removeClip) || ((this.y > 380)))) || ((this.x < -20)))) || ((this.x > 670)))){ removeSprite(); }; }; } private function resetMovieDepth(_arg1:Event){ var _local2:*; var _local3:int; var _local4:*; var _local5:*; _local2 = this.parent; if (_local2.numChildren > 0){ _local3 = (_local2.numChildren - 1); while (_local3 >= 0) { _local4 = _local2.getChildAt(_local3); _local5 = false; if ((((_local4.intPosZ > this.intPosZ)) && (!(_local5)))){ _local2.setChildIndex(this, _local3); _local5 = true; break; }; _local3--; }; }; removeEventListener(Event.ADDED, resetMovieDepth); _isActive = true; } public function checkCollision(_arg1:uint, _arg2:Boolean=false):void{ var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:int; var _local9:int; var _local10:*; var _local11:*; var _local12:*; var _local13:*; var _local14:*; var _local15:*; _local3 = _arrCollisionPoint.length; _local4 = Math.ceil(((this.y - _intPrevY) / 15)); if (!_arg2){ if (_local4 > 8){ _local4 = 8; }; } else { if (_local4 > 15){ _local4 = 15; }; }; _local5 = ((this.scaleX - _intPrevScale) / _local4); _local6 = ((this.x - _intPrevX) / _local4); _local7 = ((this.y - _intPrevY) / _local4); _local8 = 1; while (_local8 <= _local4) { _local9 = 0; while (_local9 < _local3) { if (!_isCollisionHappening){ _local10 = ((_arrCollisionPoint[_local9] * (1 - (_local5 * _local8))) - (_local6 * _local8)); _local11 = (_arg1 - (_local8 * _local7)); _local12 = new Point(_local10, _local11); _local13 = localToGlobal(_local12); _local14 = _targetClass._camperVanBmpData.getPixel(_local13.x, _local13.y); _local15 = _local14.toString(16); if (_local15 == "ff0000"){ _isCollisionHappening = true; }; }; _local9++; }; _local8++; }; } public function removeSprite():void{ this.visible = false; removeEventListener(Event.ENTER_FRAME, controlPerspectiveMC); this.parent.removeChild(this); } } }//package
Section 86
//score (score) package { import flash.display.*; import flash.text.*; public dynamic class score extends MovieClip { public var peopleCollected_txt:TextField; public var coinsCollected_txt:TextField; } }//package
Section 87
//sfx_CarHorn (sfx_CarHorn) package { import flash.media.*; public dynamic class sfx_CarHorn extends Sound { } }//package
Section 88
//sfx_CarLoop (sfx_CarLoop) package { import flash.media.*; public dynamic class sfx_CarLoop extends Sound { } }//package
Section 89
//sfx_CarLoop1 (sfx_CarLoop1) package { import flash.media.*; public dynamic class sfx_CarLoop1 extends Sound { } }//package
Section 90
//sfx_CarLoop10 (sfx_CarLoop10) package { import flash.media.*; public dynamic class sfx_CarLoop10 extends Sound { } }//package
Section 91
//sfx_CarLoop2 (sfx_CarLoop2) package { import flash.media.*; public dynamic class sfx_CarLoop2 extends Sound { } }//package
Section 92
//sfx_CarLoop3 (sfx_CarLoop3) package { import flash.media.*; public dynamic class sfx_CarLoop3 extends Sound { } }//package
Section 93
//sfx_CarLoop4 (sfx_CarLoop4) package { import flash.media.*; public dynamic class sfx_CarLoop4 extends Sound { } }//package
Section 94
//sfx_CarLoop5 (sfx_CarLoop5) package { import flash.media.*; public dynamic class sfx_CarLoop5 extends Sound { } }//package
Section 95
//sfx_CarLoop6 (sfx_CarLoop6) package { import flash.media.*; public dynamic class sfx_CarLoop6 extends Sound { } }//package
Section 96
//sfx_CarLoop7 (sfx_CarLoop7) package { import flash.media.*; public dynamic class sfx_CarLoop7 extends Sound { } }//package
Section 97
//sfx_CarLoop8 (sfx_CarLoop8) package { import flash.media.*; public dynamic class sfx_CarLoop8 extends Sound { } }//package
Section 98
//sfx_CarLoop9 (sfx_CarLoop9) package { import flash.media.*; public dynamic class sfx_CarLoop9 extends Sound { } }//package
Section 99
//sfx_Checkpoint (sfx_Checkpoint) package { import flash.media.*; public dynamic class sfx_Checkpoint extends Sound { } }//package
Section 100
//sfx_Click1 (sfx_Click1) package { import flash.media.*; public dynamic class sfx_Click1 extends Sound { } }//package
Section 101
//sfx_Click2 (sfx_Click2) package { import flash.media.*; public dynamic class sfx_Click2 extends Sound { } }//package
Section 102
//sfx_CountdownBeep (sfx_CountdownBeep) package { import flash.media.*; public dynamic class sfx_CountdownBeep extends Sound { } }//package
Section 103
//sfx_DirtLoop (sfx_DirtLoop) package { import flash.media.*; public dynamic class sfx_DirtLoop extends Sound { } }//package
Section 104
//sfx_Girlie1 (sfx_Girlie1) package { import flash.media.*; public dynamic class sfx_Girlie1 extends Sound { } }//package
Section 105
//sfx_Girlie2 (sfx_Girlie2) package { import flash.media.*; public dynamic class sfx_Girlie2 extends Sound { } }//package
Section 106
//sfx_Girlie3 (sfx_Girlie3) package { import flash.media.*; public dynamic class sfx_Girlie3 extends Sound { } }//package
Section 107
//sfx_Hazard1 (sfx_Hazard1) package { import flash.media.*; public dynamic class sfx_Hazard1 extends Sound { } }//package
Section 108
//sfx_Hazard2 (sfx_Hazard2) package { import flash.media.*; public dynamic class sfx_Hazard2 extends Sound { } }//package
Section 109
//sfx_Hazard3 (sfx_Hazard3) package { import flash.media.*; public dynamic class sfx_Hazard3 extends Sound { } }//package
Section 110
//sfx_HazardWater (sfx_HazardWater) package { import flash.media.*; public dynamic class sfx_HazardWater extends Sound { } }//package
Section 111
//sfx_PickupCoin (sfx_PickupCoin) package { import flash.media.*; public dynamic class sfx_PickupCoin extends Sound { } }//package
Section 112
//sfx_PickupGirlBubble (sfx_PickupGirlBubble) package { import flash.media.*; public dynamic class sfx_PickupGirlBubble extends Sound { } }//package
Section 113
//sfx_Rollover (sfx_Rollover) package { import flash.media.*; public dynamic class sfx_Rollover extends Sound { } }//package
Section 114
//sfx_Ticker (sfx_Ticker) package { import flash.media.*; public dynamic class sfx_Ticker extends Sound { } }//package
Section 115
//sfx_TimeOut (sfx_TimeOut) package { import flash.media.*; public dynamic class sfx_TimeOut extends Sound { } }//package
Section 116
//speedLines_mc (speedLines_mc) package { import flash.display.*; public dynamic class speedLines_mc extends MovieClip { } }//package
Section 117
//waterScreen (waterScreen) package { import flash.display.*; public dynamic class waterScreen extends MovieClip { public var waterDrop1_mc:MovieClip; public var waterDrop2_mc:MovieClip; public var waterDrop3_mc:MovieClip; public function waterScreen(){ addFrameScript(0, frame1, 1, frame2, 4, frame5, 8, frame9, 39, frame40); } function frame1(){ stop(); } function frame5(){ waterDrop2_mc.x = (waterDrop2_mc.x + ((Math.random() * 120) - 60)); } function frame9(){ waterDrop3_mc.x = (waterDrop3_mc.x + ((Math.random() * 120) - 60)); } function frame2(){ waterDrop1_mc.x = (waterDrop1_mc.x + ((Math.random() * 120) - 60)); } function frame40(){ stop(); } } }//package

Library Items

Symbol 1 BitmapUsed by:2
Symbol 2 GraphicUses:1Used by:3
Symbol 3 MovieClip {cs_frame_button_koko_}Uses:2Used by:4
Symbol 4 MovieClip {kokoButtonMC}Uses:3
Symbol 5 GraphicUsed by:17 165
Symbol 6 GraphicUsed by:16
Symbol 7 GraphicUsed by:16
Symbol 8 GraphicUsed by:16
Symbol 9 GraphicUsed by:16
Symbol 10 GraphicUsed by:16
Symbol 11 GraphicUsed by:16
Symbol 12 GraphicUsed by:16
Symbol 13 GraphicUsed by:16
Symbol 14 GraphicUsed by:16
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClip {heelsnwheels_fla.camperVanBitMap_126}Uses:6 7 8 9 10 11 12 13 14 15Used by:17
Symbol 17 MovieClip {camperVanBlitMap}Uses:5 16
Symbol 18 GraphicUsed by:22
Symbol 19 GraphicUsed by:22
Symbol 20 GraphicUsed by:22
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClip {mute_btn}Uses:18 19 20 21Used by:Timeline
Symbol 23 BitmapUsed by:25 355
Symbol 24 BitmapUsed by:25 353
Symbol 25 GraphicUses:23 24Used by:26
Symbol 26 MovieClipUses:25Used by:Timeline
Symbol 27 GraphicUsed by:Timeline
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:28Used by:Timeline
Symbol 30 GraphicUsed by:46
Symbol 31 GraphicUsed by:37 38
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:32Used by:37 38
Symbol 34 GraphicUsed by:37 38
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:35Used by:37 38
Symbol 37 MovieClip {heelsnwheels_fla.KokoLeafUp_5}Uses:31 33 34 36Used by:46
Symbol 38 MovieClip {heelsnwheels_fla.KokoLeaf_8}Uses:31 33 34 36Used by:46
Symbol 39 GraphicUsed by:46
Symbol 40 SoundUsed by:46
Symbol 41 FontUsed by:43 105 106 109 115 116 117 119 120 122 128 129 136 137 140 141 144 145 146 147 149 150 154 156 159 160 167 168 171 172 174 177 180 183 186 189 192 195 198 201 205 206 215 216 218 220 221 222 223 230 231 234 235 236 239 240 258 259 261 262 268 269 270 271 272 273 274 275 276 278 279 281 284 285 286 300 301 302 304 305 306
Symbol 42 FontUsed by:43
Symbol 43 TextUses:41 42Used by:46
Symbol 44 GraphicUsed by:45
Symbol 45 ButtonUses:44Used by:46
Symbol 46 MovieClip {heelsnwheels_fla.kokoIntro_4}Uses:30 37 38 39 40 43 45Used by:Timeline
Symbol 47 GraphicUsed by:60
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:50
Symbol 50 MovieClipUses:49Used by:60
Symbol 51 BitmapUsed by:52
Symbol 52 GraphicUses:51Used by:53
Symbol 53 MovieClipUses:52Used by:60
Symbol 54 BitmapUsed by:55
Symbol 55 GraphicUses:54Used by:56
Symbol 56 MovieClipUses:55Used by:60
Symbol 57 BitmapUsed by:58
Symbol 58 GraphicUses:57Used by:59
Symbol 59 MovieClipUses:58Used by:60
Symbol 60 MovieClip {background_mc}Uses:47 50 53 56 59Used by:612
Symbol 61 GraphicUsed by:65
Symbol 62 GraphicUsed by:65
Symbol 63 GraphicUsed by:65
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClip {Cloud}Uses:61 62 63 64Used by:612
Symbol 66 GraphicUsed by:76
Symbol 67 GraphicUsed by:76
Symbol 68 GraphicUsed by:76
Symbol 69 GraphicUsed by:76
Symbol 70 GraphicUsed by:76
Symbol 71 GraphicUsed by:76
Symbol 72 GraphicUsed by:76
Symbol 73 GraphicUsed by:76
Symbol 74 GraphicUsed by:76
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClip {heelsnwheels_fla.timeNumbers_18}Uses:66 67 68 69 70 71 72 73 74 75Used by:77
Symbol 77 MovieClip {countdown}Uses:76Used by:612
Symbol 78 GraphicUsed by:91
Symbol 79 GraphicUsed by:91
Symbol 80 GraphicUsed by:91
Symbol 81 GraphicUsed by:91
Symbol 82 GraphicUsed by:91
Symbol 83 GraphicUsed by:91
Symbol 84 GraphicUsed by:91
Symbol 85 GraphicUsed by:91
Symbol 86 GraphicUsed by:91
Symbol 87 GraphicUsed by:91
Symbol 88 GraphicUsed by:91
Symbol 89 GraphicUsed by:91
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClip {heelsnwheels_fla.droplets_21}Uses:78 79 80 81 82 83 84 85 86 87 88 89 90Used by:92
Symbol 92 MovieClip {heelsnwheels_fla.droplet_container_20}Uses:91Used by:95
Symbol 93 ShapeTweeningUsed by:95
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClip {waterScreen}Uses:92 93 94Used by:612
Symbol 96 BitmapUsed by:97 131 419
Symbol 97 GraphicUses:96Used by:98
Symbol 98 MovieClip {buildTeamText_mc}Uses:97Used by:612
Symbol 99 BitmapUsed by:100 131 419
Symbol 100 GraphicUses:99Used by:101
Symbol 101 MovieClip {collectDonationsText_mc}Uses:100Used by:612
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClip {goText_mc}Uses:102Used by:612
Symbol 104 GraphicUsed by:110 307
Symbol 105 TextUses:41Used by:110
Symbol 106 TextUses:41Used by:110
Symbol 107 GraphicUsed by:110 123 151 219 237 282 307
Symbol 108 GraphicUsed by:110 237 307
Symbol 109 TextUses:41Used by:110
Symbol 110 Button {menu_EasyBtn}Uses:104 105 106 107 108 109Used by:612
Symbol 111 GraphicUsed by:165
Symbol 112 FontUsed by:113 114 175 176 178 179 181 182 184 185 187 188 190 191 193 194 196 197 199 200 202 203 224 225 226 227 266 267 287 288 289 290 291 292 293 299
Symbol 113 TextUses:112Used by:165
Symbol 114 TextUses:112Used by:165
Symbol 115 TextUses:41Used by:165
Symbol 116 TextUses:41Used by:165
Symbol 117 EditableTextUses:41Used by:165
Symbol 118 GraphicUsed by:123
Symbol 119 TextUses:41Used by:123
Symbol 120 TextUses:41Used by:123
Symbol 121 GraphicUsed by:123
Symbol 122 TextUses:41Used by:123
Symbol 123 ButtonUses:118 119 120 107 121 122Used by:165
Symbol 124 GraphicUsed by:165
Symbol 125 FontUsed by:126 127
Symbol 126 EditableTextUses:125Used by:165
Symbol 127 EditableTextUses:125Used by:165
Symbol 128 TextUses:41Used by:165
Symbol 129 TextUses:41Used by:165
Symbol 130 GraphicUsed by:165
Symbol 131 GraphicUses:99 96Used by:138
Symbol 132 FontUsed by:133 134 135 139 295 296 323 420 421 422
Symbol 133 TextUses:132Used by:138
Symbol 134 EditableTextUses:132Used by:138
Symbol 135 EditableTextUses:132Used by:138
Symbol 136 TextUses:41Used by:138
Symbol 137 TextUses:41Used by:138
Symbol 138 MovieClip {heelsnwheels_fla.Scores_28}Uses:131 133 134 135 136 137Used by:165
Symbol 139 EditableTextUses:132Used by:142
Symbol 140 TextUses:41Used by:142
Symbol 141 TextUses:41Used by:142
Symbol 142 MovieClip {heelsnwheels_fla.YouScored_29}Uses:139 140 141Used by:165
Symbol 143 GraphicUsed by:151
Symbol 144 TextUses:41Used by:151
Symbol 145 TextUses:41Used by:151
Symbol 146 TextUses:41Used by:151
Symbol 147 TextUses:41Used by:151
Symbol 148 GraphicUsed by:151
Symbol 149 TextUses:41Used by:151
Symbol 150 TextUses:41Used by:151
Symbol 151 ButtonUses:143 144 145 146 147 107 148 149 150Used by:152 303
Symbol 152 MovieClip {heelsnwheels_fla.CRUKButton_30}Uses:151Used by:165
Symbol 153 GraphicUsed by:158 161 169 207 232 257 260 263 283
Symbol 154 TextUses:41Used by:158
Symbol 155 GraphicUsed by:158 161 169 207 232 257 260 263 283
Symbol 156 TextUses:41Used by:158
Symbol 157 GraphicUsed by:158 161 169 207 232 257 260 263 283
Symbol 158 ButtonUses:153 154 155 156 157Used by:165 303
Symbol 159 TextUses:41Used by:161
Symbol 160 TextUses:41Used by:161
Symbol 161 ButtonUses:153 159 155 160 157Used by:165 208 303
Symbol 162 GraphicUsed by:164
Symbol 163 GraphicUsed by:164
Symbol 164 MovieClip {heelsnwheels_fla.tickBox_34}Uses:162 163Used by:165 297
Symbol 165 MovieClip {menu_GameOver}Uses:111 113 114 115 116 117 123 124 126 127 128 129 130 138 142 152 158 161 5 164Used by:612
Symbol 166 GraphicUsed by:208
Symbol 167 TextUses:41Used by:169
Symbol 168 TextUses:41Used by:169
Symbol 169 ButtonUses:153 167 155 168 157Used by:208 228 297
Symbol 170 GraphicUsed by:204
Symbol 171 TextUses:41Used by:204
Symbol 172 TextUses:41Used by:204
Symbol 173 GraphicUsed by:204
Symbol 174 TextUses:41Used by:204
Symbol 175 EditableTextUses:112Used by:204
Symbol 176 EditableTextUses:112Used by:204
Symbol 177 TextUses:41Used by:204
Symbol 178 EditableTextUses:112Used by:204
Symbol 179 EditableTextUses:112Used by:204
Symbol 180 TextUses:41Used by:204
Symbol 181 EditableTextUses:112Used by:204
Symbol 182 EditableTextUses:112Used by:204
Symbol 183 TextUses:41Used by:204
Symbol 184 EditableTextUses:112Used by:204
Symbol 185 EditableTextUses:112Used by:204
Symbol 186 TextUses:41Used by:204
Symbol 187 EditableTextUses:112Used by:204
Symbol 188 EditableTextUses:112Used by:204
Symbol 189 TextUses:41Used by:204
Symbol 190 EditableTextUses:112Used by:204
Symbol 191 EditableTextUses:112Used by:204
Symbol 192 TextUses:41Used by:204
Symbol 193 EditableTextUses:112Used by:204
Symbol 194 EditableTextUses:112Used by:204
Symbol 195 TextUses:41Used by:204
Symbol 196 EditableTextUses:112Used by:204
Symbol 197 EditableTextUses:112Used by:204
Symbol 198 TextUses:41Used by:204
Symbol 199 EditableTextUses:112Used by:204
Symbol 200 EditableTextUses:112Used by:204
Symbol 201 TextUses:41Used by:204
Symbol 202 EditableTextUses:112Used by:204
Symbol 203 EditableTextUses:112Used by:204
Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37}Uses:170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203Used by:208
Symbol 205 TextUses:41Used by:207 257
Symbol 206 TextUses:41Used by:207 257
Symbol 207 ButtonUses:153 205 155 206 157Used by:208 228 297
Symbol 208 MovieClip {menu_HighScores}Uses:166 169 204 207 161Used by:612
Symbol 209 GraphicUsed by:228
Symbol 210 GraphicUsed by:211
Symbol 211 MovieClipUses:210Used by:228 418
Symbol 212 BitmapUsed by:213
Symbol 213 GraphicUses:212Used by:228
Symbol 214 GraphicUsed by:219
Symbol 215 TextUses:41Used by:219
Symbol 216 TextUses:41Used by:219
Symbol 217 GraphicUsed by:219
Symbol 218 TextUses:41Used by:219
Symbol 219 ButtonUses:214 215 216 107 217 218Used by:228
Symbol 220 TextUses:41Used by:228
Symbol 221 TextUses:41Used by:228
Symbol 222 TextUses:41Used by:228
Symbol 223 TextUses:41Used by:228
Symbol 224 TextUses:112Used by:228
Symbol 225 TextUses:112Used by:228
Symbol 226 TextUses:112Used by:228
Symbol 227 TextUses:112Used by:228
Symbol 228 MovieClip {menu_HowToPlay}Uses:209 211 213 219 207 169 220 221 222 223 224 225 226 227Used by:612
Symbol 229 GraphicUsed by:264
Symbol 230 TextUses:41Used by:232
Symbol 231 TextUses:41Used by:232
Symbol 232 ButtonUses:153 230 155 231 157Used by:264
Symbol 233 GraphicUsed by:237
Symbol 234 TextUses:41Used by:237
Symbol 235 TextUses:41Used by:237
Symbol 236 TextUses:41Used by:237
Symbol 237 ButtonUses:233 234 235 107 108 236Used by:264
Symbol 238 GraphicUsed by:256
Symbol 239 TextUses:41Used by:256
Symbol 240 TextUses:41Used by:256
Symbol 241 GraphicUsed by:256
Symbol 242 GraphicUsed by:245
Symbol 243 GraphicUsed by:245
Symbol 244 GraphicUsed by:245
Symbol 245 ButtonUses:242 243 244Used by:256
Symbol 246 GraphicUsed by:256
Symbol 247 GraphicUsed by:248
Symbol 248 MovieClipUses:247Used by:255
Symbol 249 GraphicUsed by:250
Symbol 250 MovieClipUses:249Used by:255
Symbol 251 GraphicUsed by:252
Symbol 252 MovieClipUses:251Used by:255
Symbol 253 GraphicUsed by:254
Symbol 254 MovieClipUses:253Used by:255
Symbol 255 MovieClip {heelsnwheels_fla.CHARACTERS_mc_47}Uses:248 250 252 254Used by:256
Symbol 256 MovieClip {heelsnwheels_fla.menu_SelectDriver_45}Uses:238 239 240 241 245 246 255Used by:264
Symbol 257 ButtonUses:153 205 155 206 157Used by:264
Symbol 258 TextUses:41Used by:260 283
Symbol 259 TextUses:41Used by:260 283
Symbol 260 ButtonUses:153 258 155 259 157Used by:264
Symbol 261 TextUses:41Used by:263
Symbol 262 TextUses:41Used by:263
Symbol 263 ButtonUses:153 261 155 262 157Used by:264
Symbol 264 MovieClip {menu_MainMenu}Uses:229 232 237 256 257 260 263Used by:612
Symbol 265 GraphicUsed by:297
Symbol 266 TextUses:112Used by:297
Symbol 267 TextUses:112Used by:297
Symbol 268 TextUses:41Used by:297
Symbol 269 TextUses:41Used by:297
Symbol 270 TextUses:41Used by:297
Symbol 271 TextUses:41Used by:297
Symbol 272 TextUses:41Used by:297
Symbol 273 TextUses:41Used by:297
Symbol 274 TextUses:41Used by:297
Symbol 275 TextUses:41Used by:297
Symbol 276 TextUses:41Used by:297
Symbol 277 GraphicUsed by:282
Symbol 278 TextUses:41Used by:282
Symbol 279 TextUses:41Used by:282
Symbol 280 GraphicUsed by:282
Symbol 281 TextUses:41Used by:282
Symbol 282 ButtonUses:277 278 279 107 280 281Used by:297
Symbol 283 ButtonUses:153 258 155 259 157Used by:297 303
Symbol 284 TextUses:41Used by:297
Symbol 285 TextUses:41Used by:297
Symbol 286 TextUses:41Used by:297
Symbol 287 EditableTextUses:112Used by:297
Symbol 288 EditableTextUses:112Used by:297
Symbol 289 EditableTextUses:112Used by:297
Symbol 290 EditableTextUses:112Used by:297
Symbol 291 EditableTextUses:112Used by:297
Symbol 292 EditableTextUses:112Used by:297
Symbol 293 EditableTextUses:112Used by:297
Symbol 294 GraphicUsed by:297
Symbol 295 TextUses:132Used by:297
Symbol 296 TextUses:132Used by:297
Symbol 297 MovieClip {menu_SendToFriend}Uses:265 266 267 268 269 270 271 272 273 274 275 276 282 207 169 283 164 284 285 286 287 288 289 290 291 292 293 294 295 296Used by:612
Symbol 298 GraphicUsed by:303
Symbol 299 TextUses:112Used by:303
Symbol 300 TextUses:41Used by:303
Symbol 301 TextUses:41Used by:303
Symbol 302 TextUses:41Used by:303
Symbol 303 MovieClip {menu_ThankYou}Uses:298 151 283 158 161 299 300 301 302Used by:612
Symbol 304 TextUses:41Used by:307
Symbol 305 TextUses:41Used by:307
Symbol 306 TextUses:41Used by:307
Symbol 307 Button {menu_TurboBtn}Uses:104 304 305 107 108 306Used by:612
Symbol 308 GraphicUsed by:363
Symbol 309 GraphicUsed by:314
Symbol 310 GraphicUsed by:313
Symbol 311 GraphicUsed by:313
Symbol 312 GraphicUsed by:313
Symbol 313 MovieClipUses:310 311 312Used by:314
Symbol 314 MovieClipUses:309 313Used by:345
Symbol 315 GraphicUsed by:319
Symbol 316 GraphicUsed by:319
Symbol 317 GraphicUsed by:319
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClipUses:315 316 317 318Used by:345
Symbol 320 GraphicUsed by:321
Symbol 321 MovieClipUses:320Used by:337
Symbol 322 GraphicUsed by:324
Symbol 323 TextUses:132Used by:324 328 332 336
Symbol 324 MovieClipUses:322 323Used by:337
Symbol 325 GraphicUsed by:326
Symbol 326 MovieClipUses:325Used by:337
Symbol 327 GraphicUsed by:328
Symbol 328 MovieClipUses:327 323Used by:337
Symbol 329 GraphicUsed by:330
Symbol 330 MovieClipUses:329Used by:337
Symbol 331 GraphicUsed by:332
Symbol 332 MovieClipUses:331 323Used by:337
Symbol 333 GraphicUsed by:334
Symbol 334 MovieClipUses:333Used by:337
Symbol 335 GraphicUsed by:336
Symbol 336 MovieClipUses:335 323Used by:337
Symbol 337 MovieClip {heelsnwheels_fla.changable_vans_66}Uses:321 324 326 328 330 332 334 336Used by:345
Symbol 338 GraphicUsed by:341
Symbol 339 GraphicUsed by:341
Symbol 340 GraphicUsed by:341
Symbol 341 MovieClipUses:338 339 340Used by:345
Symbol 342 GraphicUsed by:345
Symbol 343 GraphicUsed by:345
Symbol 344 GraphicUsed by:345
Symbol 345 MovieClip {heelsnwheels_fla.VAN_MC_62}Uses:314 319 337 341 342 343 344Used by:363
Symbol 346 GraphicUsed by:347
Symbol 347 MovieClipUses:346Used by:352
Symbol 348 GraphicUsed by:349
Symbol 349 MovieClipUses:348Used by:352
Symbol 350 GraphicUsed by:351
Symbol 351 MovieClipUses:350Used by:352
Symbol 352 MovieClipUses:347 349 351Used by:363
Symbol 353 GraphicUses:24Used by:354
Symbol 354 MovieClipUses:353Used by:362
Symbol 355 GraphicUses:23Used by:356
Symbol 356 MovieClipUses:355Used by:362
Symbol 357 BitmapUsed by:358
Symbol 358 GraphicUses:357Used by:359
Symbol 359 MovieClipUses:358Used by:362
Symbol 360 GraphicUsed by:361
Symbol 361 ButtonUses:360Used by:362
Symbol 362 MovieClip {heelsnwheels_fla.Logos_80}Uses:354 356 359 361Used by:363
Symbol 363 MovieClip {heelsnwheels_fla.menuBackground_61}Uses:308 345 352 362Used by:364
Symbol 364 MovieClip {menuBackground}Uses:363Used by:612
Symbol 365 BitmapUsed by:366 368 369
Symbol 366 GraphicUses:365Used by:370
Symbol 367 GraphicUsed by:370
Symbol 368 GraphicUses:365Used by:370
Symbol 369 GraphicUses:365Used by:370
Symbol 370 MovieClip {Collectable}Uses:366 367 368 369Used by:612
Symbol 371 GraphicUsed by:373
Symbol 372 GraphicUsed by:373
Symbol 373 MovieClip {heelsnwheels_fla.tree_87}Uses:371 372Used by:418
Symbol 374 GraphicUsed by:376
Symbol 375 GraphicUsed by:376
Symbol 376 MovieClip {heelsnwheels_fla.tree1_88}Uses:374 375Used by:418
Symbol 377 GraphicUsed by:378
Symbol 378 MovieClipUses:377Used by:418
Symbol 379 GraphicUsed by:382
Symbol 380 GraphicUsed by:382
Symbol 381 GraphicUsed by:382
Symbol 382 MovieClip {heelsnwheels_fla.bush_90}Uses:379 380 381Used by:418
Symbol 383 GraphicUsed by:384
Symbol 384 MovieClipUses:383Used by:418
Symbol 385 GraphicUsed by:418
Symbol 386 GraphicUsed by:418
Symbol 387 BitmapUsed by:388
Symbol 388 GraphicUses:387Used by:396
Symbol 389 GraphicUsed by:396
Symbol 390 BitmapUsed by:391
Symbol 391 GraphicUses:390Used by:396
Symbol 392 BitmapUsed by:393
Symbol 393 GraphicUses:392Used by:396
Symbol 394 BitmapUsed by:395
Symbol 395 GraphicUses:394Used by:396
Symbol 396 MovieClip {heelsnwheels_fla.token_92}Uses:388 389 391 393 395Used by:418
Symbol 397 BitmapUsed by:398
Symbol 398 GraphicUses:397Used by:418
Symbol 399 BitmapUsed by:400
Symbol 400 GraphicUses:399Used by:418
Symbol 401 BitmapUsed by:402
Symbol 402 GraphicUses:401Used by:418
Symbol 403 GraphicUsed by:407
Symbol 404 GraphicUsed by:407
Symbol 405 GraphicUsed by:407
Symbol 406 GraphicUsed by:407
Symbol 407 MovieClip {heelsnwheels_fla.rock_93}Uses:403 404 405 406Used by:418
Symbol 408 GraphicUsed by:418
Symbol 409 GraphicUsed by:418
Symbol 410 GraphicUsed by:415
Symbol 411 GraphicUsed by:415
Symbol 412 GraphicUsed by:415
Symbol 413 GraphicUsed by:415
Symbol 414 GraphicUsed by:415
Symbol 415 MovieClip {heelsnwheels_fla.bigRock_94}Uses:410 411 412 413 414Used by:418
Symbol 416 GraphicUsed by:417
Symbol 417 MovieClipUses:416Used by:418
Symbol 418 MovieClip {PerspectiveControl}Uses:373 376 378 382 384 385 386 396 398 400 402 407 211 408 409 415 417Used by:612
Symbol 419 GraphicUses:99 96Used by:423
Symbol 420 TextUses:132Used by:423
Symbol 421 EditableTextUses:132Used by:423
Symbol 422 EditableTextUses:132Used by:423
Symbol 423 MovieClip {score}Uses:419 420 421 422Used by:612
Symbol 424 GraphicUsed by:425
Symbol 425 MovieClipUses:424Used by:430
Symbol 426 GraphicUsed by:427
Symbol 427 MovieClipUses:426Used by:430
Symbol 428 GraphicUsed by:429
Symbol 429 MovieClipUses:428Used by:430
Symbol 430 MovieClip {speedLines_mc}Uses:425 427 429Used by:612
Symbol 431 GraphicUsed by:435
Symbol 432 GraphicUsed by:435
Symbol 433 GraphicUsed by:435
Symbol 434 GraphicUsed by:435
Symbol 435 MovieClip {heelsnwheels_fla.rockExplode_102}Uses:431 432 433 434Used by:580
Symbol 436 GraphicUsed by:464
Symbol 437 GraphicUsed by:438
Symbol 438 MovieClip {heelsnwheels_fla.mask3_104}Uses:437Used by:464
Symbol 439 GraphicUsed by:442
Symbol 440 GraphicUsed by:442
Symbol 441 GraphicUsed by:442
Symbol 442 MovieClip {heelsnwheels_fla.dustcloud_105}Uses:439 440 441Used by:464
Symbol 443 GraphicUsed by:454
Symbol 444 GraphicUsed by:454
Symbol 445 GraphicUsed by:454
Symbol 446 GraphicUsed by:454
Symbol 447 GraphicUsed by:454
Symbol 448 GraphicUsed by:454
Symbol 449 GraphicUsed by:454
Symbol 450 GraphicUsed by:454
Symbol 451 GraphicUsed by:454
Symbol 452 GraphicUsed by:454
Symbol 453 GraphicUsed by:454
Symbol 454 MovieClip {heelsnwheels_fla.splash_106}Uses:443 444 445 446 447 448 449 450 451 452 453Used by:464
Symbol 455 GraphicUsed by:464
Symbol 456 GraphicUsed by:464
Symbol 457 GraphicUsed by:464
Symbol 458 GraphicUsed by:464
Symbol 459 GraphicUsed by:464
Symbol 460 GraphicUsed by:464
Symbol 461 GraphicUsed by:464
Symbol 462 GraphicUsed by:464
Symbol 463 GraphicUsed by:464
Symbol 464 MovieClip {heelsnwheels_fla.roadMarks_103}Uses:436 438 442 454 455 456 457 458 459 460 461 462 463Used by:580
Symbol 465 GraphicUsed by:475
Symbol 466 GraphicUsed by:475
Symbol 467 GraphicUsed by:475
Symbol 468 GraphicUsed by:475
Symbol 469 GraphicUsed by:475
Symbol 470 GraphicUsed by:475
Symbol 471 GraphicUsed by:475
Symbol 472 GraphicUsed by:475
Symbol 473 GraphicUsed by:475
Symbol 474 GraphicUsed by:475
Symbol 475 MovieClip {heelsnwheels_fla.carShadow_107}Uses:465 466 467 468 469 470 471 472 473 474Used by:580
Symbol 476 GraphicUsed by:486
Symbol 477 GraphicUsed by:486
Symbol 478 GraphicUsed by:486
Symbol 479 GraphicUsed by:486
Symbol 480 GraphicUsed by:486
Symbol 481 GraphicUsed by:486
Symbol 482 GraphicUsed by:486
Symbol 483 GraphicUsed by:486
Symbol 484 GraphicUsed by:486
Symbol 485 GraphicUsed by:486
Symbol 486 MovieClipUses:476 477 478 479 480 481 482 483 484 485Used by:520
Symbol 487 GraphicUsed by:497
Symbol 488 GraphicUsed by:497
Symbol 489 GraphicUsed by:497
Symbol 490 GraphicUsed by:497
Symbol 491 GraphicUsed by:497
Symbol 492 GraphicUsed by:497
Symbol 493 GraphicUsed by:497
Symbol 494 GraphicUsed by:497
Symbol 495 GraphicUsed by:497
Symbol 496 GraphicUsed by:497
Symbol 497 MovieClipUses:487 488 489 490 491 492 493 494 495 496Used by:520
Symbol 498 GraphicUsed by:508
Symbol 499 GraphicUsed by:508
Symbol 500 GraphicUsed by:508
Symbol 501 GraphicUsed by:508
Symbol 502 GraphicUsed by:508
Symbol 503 GraphicUsed by:508
Symbol 504 GraphicUsed by:508
Symbol 505 GraphicUsed by:508
Symbol 506 GraphicUsed by:508
Symbol 507 GraphicUsed by:508
Symbol 508 MovieClipUses:498 499 500 501 502 503 504 505 506 507Used by:520
Symbol 509 GraphicUsed by:519
Symbol 510 GraphicUsed by:519
Symbol 511 GraphicUsed by:519
Symbol 512 GraphicUsed by:519
Symbol 513 GraphicUsed by:519
Symbol 514 GraphicUsed by:519
Symbol 515 GraphicUsed by:519
Symbol 516 GraphicUsed by:519
Symbol 517 GraphicUsed by:519
Symbol 518 GraphicUsed by:519
Symbol 519 MovieClipUses:509 510 511 512 513 514 515 516 517 518Used by:520
Symbol 520 MovieClip {heelsnwheels_fla.camperVanPaint_109}Uses:486 497 508 519Used by:579
Symbol 521 GraphicUsed by:579
Symbol 522 GraphicUsed by:523
Symbol 523 MovieClip {heelsnwheels_fla.brakeLights_114}Uses:522Used by:579
Symbol 524 GraphicUsed by:531
Symbol 525 GraphicUsed by:531 554
Symbol 526 GraphicUsed by:531
Symbol 527 GraphicUsed by:531
Symbol 528 GraphicUsed by:531
Symbol 529 GraphicUsed by:531
Symbol 530 GraphicUsed by:531
Symbol 531 MovieClipUses:524 525 526 527 528 529 530Used by:579
Symbol 532 GraphicUsed by:533
Symbol 533 MovieClipUses:532Used by:579
Symbol 534 GraphicUsed by:538
Symbol 535 GraphicUsed by:538
Symbol 536 GraphicUsed by:538
Symbol 537 GraphicUsed by:538
Symbol 538 MovieClipUses:534 535 536 537Used by:579
Symbol 539 GraphicUsed by:542
Symbol 540 GraphicUsed by:542
Symbol 541 GraphicUsed by:542
Symbol 542 MovieClipUses:539 540 541Used by:579
Symbol 543 GraphicUsed by:547
Symbol 544 GraphicUsed by:547
Symbol 545 GraphicUsed by:547
Symbol 546 GraphicUsed by:547
Symbol 547 MovieClipUses:543 544 545 546Used by:579
Symbol 548 GraphicUsed by:554
Symbol 549 GraphicUsed by:554
Symbol 550 GraphicUsed by:554
Symbol 551 GraphicUsed by:554
Symbol 552 GraphicUsed by:554
Symbol 553 GraphicUsed by:554
Symbol 554 MovieClipUses:548 549 550 551 552 553 525Used by:579
Symbol 555 GraphicUsed by:558
Symbol 556 GraphicUsed by:558
Symbol 557 GraphicUsed by:558
Symbol 558 MovieClipUses:555 556 557Used by:579
Symbol 559 GraphicUsed by:563
Symbol 560 GraphicUsed by:563
Symbol 561 GraphicUsed by:563
Symbol 562 GraphicUsed by:563
Symbol 563 MovieClipUses:559 560 561 562Used by:579
Symbol 564 GraphicUsed by:565
Symbol 565 MovieClipUses:564Used by:579
Symbol 566 GraphicUsed by:569
Symbol 567 GraphicUsed by:569
Symbol 568 GraphicUsed by:569
Symbol 569 MovieClipUses:566 567 568Used by:579
Symbol 570 GraphicUsed by:579
Symbol 571 GraphicUsed by:579
Symbol 572 GraphicUsed by:579
Symbol 573 GraphicUsed by:579
Symbol 574 GraphicUsed by:579
Symbol 575 GraphicUsed by:579
Symbol 576 GraphicUsed by:579
Symbol 577 GraphicUsed by:579
Symbol 578 GraphicUsed by:579
Symbol 579 MovieClip {heelsnwheels_fla.camperVan_108}Uses:520 521 523 531 533 538 542 547 554 558 563 565 569 570 571 572 573 574 575 576 577 578Used by:580
Symbol 580 MovieClip {camperVan}Uses:435 464 475 579Used by:612
Symbol 581 Sound {sfx_CarHorn}Used by:612
Symbol 582 Sound {sfx_CarLoop}Used by:612
Symbol 583 Sound {sfx_CarLoop1}Used by:612
Symbol 584 Sound {sfx_CarLoop10}Used by:612
Symbol 585 Sound {sfx_CarLoop2}Used by:612
Symbol 586 Sound {sfx_CarLoop3}Used by:612
Symbol 587 Sound {sfx_CarLoop4}Used by:612
Symbol 588 Sound {sfx_CarLoop5}Used by:612
Symbol 589 Sound {sfx_CarLoop6}Used by:612
Symbol 590 Sound {sfx_CarLoop7}Used by:612
Symbol 591 Sound {sfx_CarLoop8}Used by:612
Symbol 592 Sound {sfx_CarLoop9}Used by:612
Symbol 593 Sound {sfx_Checkpoint}Used by:612
Symbol 594 Sound {sfx_CountdownBeep}Used by:612
Symbol 595 Sound {sfx_Girlie1}Used by:612
Symbol 596 Sound {sfx_Girlie2}Used by:612
Symbol 597 Sound {sfx_Girlie3}Used by:612
Symbol 598 Sound {sfx_Hazard1}Used by:612
Symbol 599 Sound {sfx_Hazard2}Used by:612
Symbol 600 Sound {sfx_Hazard3}Used by:612
Symbol 601 Sound {sfx_HazardWater}Used by:612
Symbol 602 Sound {music_inGame}Used by:612
Symbol 603 Sound {music_main}Used by:612
Symbol 604 Sound {sfx_PickupCoin}Used by:612
Symbol 605 Sound {sfx_PickupGirlBubble}Used by:612
Symbol 606 Sound {sfx_Ticker}Used by:612
Symbol 607 Sound {sfx_TimeOut}Used by:612
Symbol 608 Sound {sfx_Click1}Used by:612
Symbol 609 Sound {sfx_Click2}Used by:612
Symbol 610 Sound {sfx_Rollover}Used by:612
Symbol 611 Sound {sfx_DirtLoop}Used by:612
Symbol 612 MovieClip {heelsnwheels_fla.spriteHolder_10}Uses:60 65 77 95 98 101 103 110 165 208 228 264 297 303 307 364 370 418 423 430 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611Used by:Timeline

Instance Names

"percBar_mc"Frame 1Symbol 29 MovieClip
"intro_mc"Frame 1Symbol 46 MovieClip {heelsnwheels_fla.kokoIntro_4}
"koko_btn"Symbol 4 MovieClip {kokoButtonMC} Frame 1Symbol 3 MovieClip {cs_frame_button_koko_}
"blitMap_mc"Symbol 17 MovieClip {camperVanBlitMap} Frame 1Symbol 16 MovieClip {heelsnwheels_fla.camperVanBitMap_126}
"koko_btn"Symbol 46 MovieClip {heelsnwheels_fla.kokoIntro_4} Frame 77Symbol 45 Button
"background3_mc"Symbol 60 MovieClip {background_mc} Frame 1Symbol 50 MovieClip
"background2_mc"Symbol 60 MovieClip {background_mc} Frame 1Symbol 53 MovieClip
"background1_mc"Symbol 60 MovieClip {background_mc} Frame 1Symbol 56 MovieClip
"dirtTrackMC"Symbol 60 MovieClip {background_mc} Frame 1Symbol 59 MovieClip
"leftNumbers_mc"Symbol 77 MovieClip {countdown} Frame 1Symbol 76 MovieClip {heelsnwheels_fla.timeNumbers_18}
"rightNumbers_mc"Symbol 77 MovieClip {countdown} Frame 1Symbol 76 MovieClip {heelsnwheels_fla.timeNumbers_18}
"waterDrop1_mc"Symbol 95 MovieClip {waterScreen} Frame 2Symbol 92 MovieClip {heelsnwheels_fla.droplet_container_20}
"waterDrop2_mc"Symbol 95 MovieClip {waterScreen} Frame 5Symbol 92 MovieClip {heelsnwheels_fla.droplet_container_20}
"waterDrop3_mc"Symbol 95 MovieClip {waterScreen} Frame 9Symbol 92 MovieClip {heelsnwheels_fla.droplet_container_20}
"peopleCollected_txt"Symbol 138 MovieClip {heelsnwheels_fla.Scores_28} Frame 1Symbol 134 EditableText
"coinsCollected_txt"Symbol 138 MovieClip {heelsnwheels_fla.Scores_28} Frame 1Symbol 135 EditableText
"totalScore_txt"Symbol 142 MovieClip {heelsnwheels_fla.YouScored_29} Frame 1Symbol 139 EditableText
"visitCRUK_btn"Symbol 152 MovieClip {heelsnwheels_fla.CRUKButton_30} Frame 1Symbol 151 Button
"err"Symbol 165 MovieClip {menu_GameOver} Frame 1Symbol 117 EditableText
"submitScore_mc"Symbol 165 MovieClip {menu_GameOver} Frame 1Symbol 123 Button
"yourName"Symbol 165 MovieClip {menu_GameOver} Frame 1Symbol 126 EditableText
"yourEmail"Symbol 165 MovieClip {menu_GameOver} Frame 1Symbol 127 EditableText
"scores_mc"Symbol 165 MovieClip {menu_GameOver} Frame 1Symbol 138 MovieClip {heelsnwheels_fla.Scores_28}
"totalScore_mc"Symbol 165 MovieClip {menu_GameOver} Frame 1Symbol 142 MovieClip {heelsnwheels_fla.YouScored_29}
"visitCRUK_mc"Symbol 165 MovieClip {menu_GameOver} Frame 1Symbol 152 MovieClip {heelsnwheels_fla.CRUKButton_30}
"mainMenu1_btn"Symbol 165 MovieClip {menu_GameOver} Frame 1Symbol 158 Button
"sendToFriend_btn"Symbol 165 MovieClip {menu_GameOver} Frame 1Symbol 161 Button
"tickBox_mc"Symbol 165 MovieClip {menu_GameOver} Frame 1Symbol 164 MovieClip {heelsnwheels_fla.tickBox_34}
"s1"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 175 EditableText
"u1"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 176 EditableText
"s2"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 178 EditableText
"u2"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 179 EditableText
"s3"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 181 EditableText
"u3"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 182 EditableText
"s4"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 184 EditableText
"u4"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 185 EditableText
"s5"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 187 EditableText
"u5"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 188 EditableText
"s6"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 190 EditableText
"u6"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 191 EditableText
"s7"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 193 EditableText
"u7"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 194 EditableText
"s8"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 196 EditableText
"u8"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 197 EditableText
"s9"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 199 EditableText
"u9"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 200 EditableText
"s10"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 202 EditableText
"u10"Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37} Frame 1Symbol 203 EditableText
"mainMenu1_btn"Symbol 208 MovieClip {menu_HighScores} Frame 1Symbol 169 Button
"highScores_mc"Symbol 208 MovieClip {menu_HighScores} Frame 1Symbol 204 MovieClip {heelsnwheels_fla.menu_HighScores1_37}
"visitCRUK_btn"Symbol 208 MovieClip {menu_HighScores} Frame 1Symbol 207 Button
"sendToFriend_btn"Symbol 208 MovieClip {menu_HighScores} Frame 1Symbol 161 Button
"playGame_btn"Symbol 228 MovieClip {menu_HowToPlay} Frame 1Symbol 219 Button
"visitCRUK_btn"Symbol 228 MovieClip {menu_HowToPlay} Frame 1Symbol 207 Button
"mainMenu1_btn"Symbol 228 MovieClip {menu_HowToPlay} Frame 1Symbol 169 Button
"prevDriver_btn"Symbol 256 MovieClip {heelsnwheels_fla.menu_SelectDriver_45} Frame 1Symbol 245 Button
"nextDriver_btn"Symbol 256 MovieClip {heelsnwheels_fla.menu_SelectDriver_45} Frame 1Symbol 245 Button
"charSelect_mc"Symbol 256 MovieClip {heelsnwheels_fla.menu_SelectDriver_45} Frame 1Symbol 255 MovieClip {heelsnwheels_fla.CHARACTERS_mc_47}
"howToPlay_btn"Symbol 264 MovieClip {menu_MainMenu} Frame 1Symbol 232 Button
"playGame_btn"Symbol 264 MovieClip {menu_MainMenu} Frame 1Symbol 237 Button
"selectDriver_mc"Symbol 264 MovieClip {menu_MainMenu} Frame 1Symbol 256 MovieClip {heelsnwheels_fla.menu_SelectDriver_45}
"visitCRUK_btn"Symbol 264 MovieClip {menu_MainMenu} Frame 1Symbol 257 Button
"viewHighScores_btn"Symbol 264 MovieClip {menu_MainMenu} Frame 1Symbol 260 Button
"sendToFriend_btn"Symbol 264 MovieClip {menu_MainMenu} Frame 1Symbol 263 Button
"send_btn"Symbol 297 MovieClip {menu_SendToFriend} Frame 1Symbol 282 Button
"visitCRUK_btn"Symbol 297 MovieClip {menu_SendToFriend} Frame 1Symbol 207 Button
"mainMenu1_btn"Symbol 297 MovieClip {menu_SendToFriend} Frame 1Symbol 169 Button
"viewHighScores_btn"Symbol 297 MovieClip {menu_SendToFriend} Frame 1Symbol 283 Button
"tickBox_mc"Symbol 297 MovieClip {menu_SendToFriend} Frame 1Symbol 164 MovieClip {heelsnwheels_fla.tickBox_34}
"yn1"Symbol 297 MovieClip {menu_SendToFriend} Frame 1Symbol 287 EditableText
"ye1"Symbol 297 MovieClip {menu_SendToFriend} Frame 1Symbol 288 EditableText
"fe1"Symbol 297 MovieClip {menu_SendToFriend} Frame 1Symbol 289 EditableText
"fe2"Symbol 297 MovieClip {menu_SendToFriend} Frame 1Symbol 290 EditableText
"fe3"Symbol 297 MovieClip {menu_SendToFriend} Frame 1Symbol 291 EditableText
"fe4"Symbol 297 MovieClip {menu_SendToFriend} Frame 1Symbol 292 EditableText
"fe5"Symbol 297 MovieClip {menu_SendToFriend} Frame 1Symbol 293 EditableText
"visitCRUK_btn"Symbol 303 MovieClip {menu_ThankYou} Frame 1Symbol 151 Button
"viewHighScores_btn"Symbol 303 MovieClip {menu_ThankYou} Frame 1Symbol 283 Button
"mainMenu1_btn"Symbol 303 MovieClip {menu_ThankYou} Frame 1Symbol 158 Button
"sendToFriend_btn"Symbol 303 MovieClip {menu_ThankYou} Frame 1Symbol 161 Button
"vanSprite_mc"Symbol 345 MovieClip {heelsnwheels_fla.VAN_MC_62} Frame 1Symbol 337 MovieClip {heelsnwheels_fla.changable_vans_66}
"visitCRUK1_btn"Symbol 362 MovieClip {heelsnwheels_fla.Logos_80} Frame 1Symbol 361 Button
"visitCRUK_btn"Symbol 362 MovieClip {heelsnwheels_fla.Logos_80} Frame 1Symbol 361 Button
"van_mc"Symbol 363 MovieClip {heelsnwheels_fla.menuBackground_61} Frame 1Symbol 345 MovieClip {heelsnwheels_fla.VAN_MC_62}
"mainBackground_mc"Symbol 364 MovieClip {menuBackground} Frame 1Symbol 363 MovieClip {heelsnwheels_fla.menuBackground_61}
"peopleCollected_txt"Symbol 423 MovieClip {score} Frame 1Symbol 421 EditableText
"coinsCollected_txt"Symbol 423 MovieClip {score} Frame 1Symbol 422 EditableText
"dustMask_mc"Symbol 464 MovieClip {heelsnwheels_fla.roadMarks_103} Frame 1Symbol 438 MovieClip {heelsnwheels_fla.mask3_104}
"splashMask_mc"Symbol 464 MovieClip {heelsnwheels_fla.roadMarks_103} Frame 1Symbol 438 MovieClip {heelsnwheels_fla.mask3_104}
"paint_mc"Symbol 520 MovieClip {heelsnwheels_fla.camperVanPaint_109} Frame 1Symbol 486 MovieClip
"paint_mc"Symbol 520 MovieClip {heelsnwheels_fla.camperVanPaint_109} Frame 2Symbol 497 MovieClip
"paint_mc"Symbol 520 MovieClip {heelsnwheels_fla.camperVanPaint_109} Frame 3Symbol 508 MovieClip
"paint_mc"Symbol 520 MovieClip {heelsnwheels_fla.camperVanPaint_109} Frame 4Symbol 519 MovieClip
"camperVanPaint_mc"Symbol 579 MovieClip {heelsnwheels_fla.camperVan_108} Frame 1Symbol 520 MovieClip {heelsnwheels_fla.camperVanPaint_109}
"brakes_mc"Symbol 579 MovieClip {heelsnwheels_fla.camperVan_108} Frame 1Symbol 523 MovieClip {heelsnwheels_fla.brakeLights_114}
"mask2_mc"Symbol 579 MovieClip {heelsnwheels_fla.camperVan_108} Frame 1Symbol 531 MovieClip
"girl7_mc"Symbol 579 MovieClip {heelsnwheels_fla.camperVan_108} Frame 1Symbol 533 MovieClip
"girl5_mc"Symbol 579 MovieClip {heelsnwheels_fla.camperVan_108} Frame 1Symbol 538 MovieClip
"girl3_mc"Symbol 579 MovieClip {heelsnwheels_fla.camperVan_108} Frame 1Symbol 542 MovieClip
"girl1_mc"Symbol 579 MovieClip {heelsnwheels_fla.camperVan_108} Frame 1Symbol 547 MovieClip
"mask1_mc"Symbol 579 MovieClip {heelsnwheels_fla.camperVan_108} Frame 1Symbol 554 MovieClip
"girl8_mc"Symbol 579 MovieClip {heelsnwheels_fla.camperVan_108} Frame 1Symbol 558 MovieClip
"girl6_mc"Symbol 579 MovieClip {heelsnwheels_fla.camperVan_108} Frame 1Symbol 563 MovieClip
"girl4_mc"Symbol 579 MovieClip {heelsnwheels_fla.camperVan_108} Frame 1Symbol 565 MovieClip
"girl2_mc"Symbol 579 MovieClip {heelsnwheels_fla.camperVan_108} Frame 1Symbol 569 MovieClip
"rockExplode_mc"Symbol 580 MovieClip {camperVan} Frame 1Symbol 435 MovieClip {heelsnwheels_fla.rockExplode_102}
"roadMarks_mc"Symbol 580 MovieClip {camperVan} Frame 1Symbol 464 MovieClip {heelsnwheels_fla.roadMarks_103}
"shadow_mc"Symbol 580 MovieClip {camperVan} Frame 1Symbol 475 MovieClip {heelsnwheels_fla.carShadow_107}
"camperVan_mc"Symbol 580 MovieClip {camperVan} Frame 1Symbol 579 MovieClip {heelsnwheels_fla.camperVan_108}

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS3.

Labels

"over"Symbol 3 MovieClip {cs_frame_button_koko_} Frame 2
"out"Symbol 3 MovieClip {cs_frame_button_koko_} Frame 7




http://swfchan.com/22/109531/info.shtml
Created: 14/3 -2019 07:57:00 Last modified: 14/3 -2019 07:57:00 Server time: 22/12 -2024 12:11:21