Section 1
//AssetHolder_5 (AppleShooting_8_fla.AssetHolder_5)
package AppleShooting_8_fla {
import flash.display.*;
public dynamic class AssetHolder_5 extends MovieClip {
public function AssetHolder_5(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AppleShooting_8_fla
Section 2
//mc_angry_46 (AppleShooting_8_fla.mc_angry_46)
package AppleShooting_8_fla {
import flash.display.*;
public dynamic class mc_angry_46 extends MovieClip {
public var mc_arrAngry:MovieClip;
public var mc_targeStand:MovieClip;
public function mc_angry_46(){
addFrameScript(0, frame1, 12, frame13);
}
function frame1(){
stop();
}
function frame13(){
gotoAndPlay(5);
}
}
}//package AppleShooting_8_fla
Section 3
//mc_apple_52 (AppleShooting_8_fla.mc_apple_52)
package AppleShooting_8_fla {
import flash.display.*;
public dynamic class mc_apple_52 extends MovieClip {
public function mc_apple_52(){
addFrameScript(0, frame1, 9, frame10);
}
function frame1(){
stop();
}
function frame10(){
stop();
}
}
}//package AppleShooting_8_fla
Section 4
//mc_headShot_45 (AppleShooting_8_fla.mc_headShot_45)
package AppleShooting_8_fla {
import flash.display.*;
public dynamic class mc_headShot_45 extends MovieClip {
public var mc_bloodFLow:MovieClip;
public var mc_targeStand:MovieClip;
public function mc_headShot_45(){
addFrameScript(0, frame1, 21, frame22);
}
function frame1(){
stop();
}
function frame22(){
stop();
}
}
}//package AppleShooting_8_fla
Section 5
//mc_holder_32 (AppleShooting_8_fla.mc_holder_32)
package AppleShooting_8_fla {
import flash.display.*;
public dynamic class mc_holder_32 extends MovieClip {
public var mc_targeStand:MovieClip;
public function mc_holder_32(){
addFrameScript(0, frame1, 9, frame10);
}
function frame1(){
stop();
}
function frame10(){
stop();
}
}
}//package AppleShooting_8_fla
Section 6
//mc_holderLeg_48 (AppleShooting_8_fla.mc_holderLeg_48)
package AppleShooting_8_fla {
import flash.display.*;
public dynamic class mc_holderLeg_48 extends MovieClip {
public var mc_bloodFLow:MovieClip;
public var mc_targeStand:MovieClip;
public function mc_holderLeg_48(){
addFrameScript(0, frame1, 20, frame21);
}
function frame1(){
stop();
}
function frame21(){
gotoAndPlay(10);
}
}
}//package AppleShooting_8_fla
Section 7
//mc_holderNeck_49 (AppleShooting_8_fla.mc_holderNeck_49)
package AppleShooting_8_fla {
import flash.display.*;
public dynamic class mc_holderNeck_49 extends MovieClip {
public var mc_bloodFLow:MovieClip;
public var mc_targeStand:MovieClip;
public var konj;
public function mc_holderNeck_49(){
addFrameScript(0, frame1, 7, frame8, 28, frame29, 34, frame35);
}
function frame1(){
stop();
konj = 0;
}
function frame8(){
konj++;
}
function frame29(){
if (konj < 5){
gotoAndPlay(8);
} else {
play();
};
}
function frame35(){
stop();
}
}
}//package AppleShooting_8_fla
Section 8
//mc_intro_8 (AppleShooting_8_fla.mc_intro_8)
package AppleShooting_8_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
public dynamic class mc_intro_8 extends MovieClip {
public var bt_moreGames:SimpleButton;
public var bt_startGame:SimpleButton;
public function mc_intro_8(){
addFrameScript(0, frame1);
}
public function moreGames(_arg1:MouseEvent){
var _local2:URLRequest = new URLRequest("http://www.freegames.net/");
navigateToURL(_local2);
}
function frame1(){
bt_moreGames.addEventListener(MouseEvent.CLICK, moreGames);
}
}
}//package AppleShooting_8_fla
Section 9
//mc_rHand_27 (AppleShooting_8_fla.mc_rHand_27)
package AppleShooting_8_fla {
import flash.display.*;
public dynamic class mc_rHand_27 extends MovieClip {
public var mc_arrow:Arrow;
public function mc_rHand_27(){
addFrameScript(0, frame1, 19, frame20);
}
function frame1(){
stop();
}
function frame20(){
stop();
}
}
}//package AppleShooting_8_fla
Section 10
//mc_standGirlFirst_51 (AppleShooting_8_fla.mc_standGirlFirst_51)
package AppleShooting_8_fla {
import flash.display.*;
public dynamic class mc_standGirlFirst_51 extends MovieClip {
public var mc_targeStand:MovieClip;
public function mc_standGirlFirst_51(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package AppleShooting_8_fla
Section 11
//PropTween (com.greensock.core.PropTween)
package com.greensock.core {
public class PropTween {
public var target:Object;
public var property:String;
public var start:Number;
public var change:Number;
public var name:String;
public var priority:int;
public var isPlugin:Boolean;
public var nextNode:PropTween;
public var prevNode:PropTween;
public function PropTween(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Boolean, _arg7:PropTween=null, _arg8:int=0){
this.target = _arg1;
this.property = _arg2;
this.start = _arg3;
this.change = _arg4;
this.name = _arg5;
this.isPlugin = _arg6;
if (_arg7){
_arg7.prevNode = this;
this.nextNode = _arg7;
};
this.priority = _arg8;
}
}
}//package com.greensock.core
Section 12
//SimpleTimeline (com.greensock.core.SimpleTimeline)
package com.greensock.core {
public class SimpleTimeline extends TweenCore {
protected var _firstChild:TweenCore;
protected var _lastChild:TweenCore;
public var autoRemoveChildren:Boolean;
public function SimpleTimeline(_arg1:Object=null){
super(0, _arg1);
}
public function addChild(_arg1:TweenCore):void{
if (_arg1.timeline){
_arg1.timeline.remove(_arg1, true);
};
_arg1.timeline = this;
if (_arg1.gc){
_arg1.setEnabled(true, true);
};
if (_firstChild){
_firstChild.prevNode = _arg1;
};
_arg1.nextNode = _firstChild;
_firstChild = _arg1;
_arg1.prevNode = null;
}
public function remove(_arg1:TweenCore, _arg2:Boolean=false):void{
if (((!(_arg1.gc)) && (!(_arg2)))){
_arg1.setEnabled(false, true);
};
if (_arg1.nextNode){
_arg1.nextNode.prevNode = _arg1.prevNode;
} else {
if (_lastChild == _arg1){
_lastChild = _arg1.prevNode;
};
};
if (_arg1.prevNode){
_arg1.prevNode.nextNode = _arg1.nextNode;
} else {
if (_firstChild == _arg1){
_firstChild = _arg1.nextNode;
};
};
}
override public function renderTime(_arg1:Number, _arg2:Boolean=false, _arg3:Boolean=false):void{
var _local5:Number;
var _local6:TweenCore;
var _local4:TweenCore = _firstChild;
this.cachedTotalTime = _arg1;
this.cachedTime = _arg1;
while (_local4) {
_local6 = _local4.nextNode;
if (((_local4.active) || ((((_arg1 >= _local4.cachedStartTime)) && (!(_local4.cachedPaused)))))){
if (!_local4.cachedReversed){
_local4.renderTime(((_arg1 - _local4.cachedStartTime) * _local4.cachedTimeScale), _arg2, false);
} else {
_local5 = (_local4.cacheIsDirty) ? _local4.totalDuration : _local4.cachedTotalDuration;
_local4.renderTime((_local5 - ((_arg1 - _local4.cachedStartTime) * _local4.cachedTimeScale)), _arg2, false);
};
};
_local4 = _local6;
};
}
public function get rawTime():Number{
return (this.cachedTotalTime);
}
}
}//package com.greensock.core
Section 13
//TweenCore (com.greensock.core.TweenCore)
package com.greensock.core {
import com.greensock.*;
public class TweenCore {
protected var _delay:Number;
protected var _hasUpdate:Boolean;
protected var _rawPrevTime:Number;// = -1
protected var _pauseTime:Number;
public var vars:Object;
public var active:Boolean;
public var gc:Boolean;
public var initted:Boolean;
public var timeline:SimpleTimeline;
public var cachedStartTime:Number;
public var cachedTime:Number;
public var cachedTotalTime:Number;
public var cachedDuration:Number;
public var cachedTotalDuration:Number;
public var cachedTimeScale:Number;
public var cachedReversed:Boolean;
public var nextNode:TweenCore;
public var prevNode:TweenCore;
public var cacheIsDirty:Boolean;
public var cachedPaused:Boolean;
public var data;
public static const version:Number = 1;
protected static var _classInitted:Boolean;
public function TweenCore(_arg1:Number=0, _arg2:Object=null){
this.vars = ((_arg2) || ({}));
this.cachedDuration = (this.cachedTotalDuration = ((_arg1) || (0)));
_delay = ((this.vars.delay) || (0));
this.cachedTimeScale = ((this.vars.timeScale) || (1));
this.active = Boolean((((((_arg1 == 0)) && ((_delay == 0)))) && (!((this.vars.immediateRender == false)))));
this.cachedTotalTime = (this.cachedTime = 0);
this.data = this.vars.data;
if (!_classInitted){
if (isNaN(TweenLite.rootFrame)){
TweenLite.initClass();
_classInitted = true;
} else {
return;
};
};
var _local3:SimpleTimeline = ((this.vars.timeline is SimpleTimeline)) ? this.vars.timeline : (this.vars.useFrames) ? TweenLite.rootFramesTimeline : TweenLite.rootTimeline;
this.cachedStartTime = (_local3.cachedTotalTime + _delay);
_local3.addChild(this);
if (this.vars.reversed){
this.cachedReversed = true;
};
if (this.vars.paused){
this.paused = true;
};
}
public function play():void{
this.reversed = false;
this.paused = false;
}
public function pause():void{
this.paused = true;
}
public function resume():void{
this.paused = false;
}
public function restart(_arg1:Boolean=false, _arg2:Boolean=true):void{
this.reversed = false;
this.paused = false;
this.setTotalTime((_arg1) ? -(_delay) : 0, _arg2);
}
public function reverse(_arg1:Boolean=true):void{
this.reversed = true;
if (_arg1){
this.paused = false;
} else {
if (this.gc){
this.setEnabled(true, false);
};
};
}
public function renderTime(_arg1:Number, _arg2:Boolean=false, _arg3:Boolean=false):void{
}
public function complete(_arg1:Boolean=false, _arg2:Boolean=false):void{
if (!_arg1){
renderTime(this.cachedTotalDuration, _arg2, false);
return;
};
if (this.timeline.autoRemoveChildren){
this.setEnabled(false, false);
} else {
this.active = false;
};
if (!_arg2){
if (((((this.vars.onComplete) && ((this.cachedTime == this.cachedDuration)))) && (!(this.cachedReversed)))){
this.vars.onComplete.apply(null, this.vars.onCompleteParams);
} else {
if (((((this.cachedReversed) && ((this.cachedTotalTime == 0)))) && (this.vars.onReverseComplete))){
this.vars.onReverseComplete.apply(null, this.vars.onReverseCompleteParams);
};
};
};
}
public function invalidate():void{
}
public function setEnabled(_arg1:Boolean, _arg2:Boolean=false):Boolean{
if (_arg1 == this.gc){
this.gc = !(_arg1);
if (_arg1){
this.active = Boolean(((((!(this.cachedPaused)) && ((this.cachedTotalTime > 0)))) && ((this.cachedTotalTime < this.cachedTotalDuration))));
if (!_arg2){
this.timeline.addChild(this);
};
} else {
this.active = false;
if (!_arg2){
this.timeline.remove(this);
};
};
};
return (false);
}
public function kill():void{
setEnabled(false, false);
}
protected function setDirtyCache(_arg1:Boolean=true):void{
var _local2:TweenCore = (_arg1) ? this : this.timeline;
while (_local2) {
_local2.cacheIsDirty = true;
_local2 = _local2.timeline;
};
}
protected function setTotalTime(_arg1:Number, _arg2:Boolean=false):void{
var _local3:Number;
var _local4:Number;
if (this.timeline){
_local3 = (((_pauseTime) || ((_pauseTime == 0)))) ? _pauseTime : this.timeline.cachedTotalTime;
if (this.cachedReversed){
_local4 = (this.cacheIsDirty) ? this.totalDuration : this.cachedTotalDuration;
this.cachedStartTime = (_local3 - ((_local4 - _arg1) / this.cachedTimeScale));
} else {
this.cachedStartTime = (_local3 - (_arg1 / this.cachedTimeScale));
};
if (!this.timeline.cacheIsDirty){
setDirtyCache(false);
};
if (this.cachedTotalTime != _arg1){
renderTime(_arg1, _arg2, false);
};
};
}
public function get delay():Number{
return (_delay);
}
public function set delay(_arg1:Number):void{
this.startTime = (this.startTime + (_arg1 - _delay));
_delay = _arg1;
}
public function get duration():Number{
return (this.cachedDuration);
}
public function set duration(_arg1:Number):void{
this.cachedDuration = (this.cachedTotalDuration = _arg1);
setDirtyCache(false);
}
public function get totalDuration():Number{
return (this.cachedTotalDuration);
}
public function set totalDuration(_arg1:Number):void{
this.duration = _arg1;
}
public function get currentTime():Number{
return (this.cachedTime);
}
public function set currentTime(_arg1:Number):void{
setTotalTime(_arg1, false);
}
public function get totalTime():Number{
return (this.cachedTotalTime);
}
public function set totalTime(_arg1:Number):void{
setTotalTime(_arg1, false);
}
public function get startTime():Number{
return (this.cachedStartTime);
}
public function set startTime(_arg1:Number):void{
var _local2:Boolean = Boolean(((!((this.timeline == null))) && (((!((_arg1 == this.cachedStartTime))) || (this.gc)))));
this.cachedStartTime = _arg1;
if (_local2){
this.timeline.addChild(this);
};
}
public function get reversed():Boolean{
return (this.cachedReversed);
}
public function set reversed(_arg1:Boolean):void{
if (_arg1 != this.cachedReversed){
this.cachedReversed = _arg1;
setTotalTime(this.cachedTotalTime, true);
};
}
public function get paused():Boolean{
return (this.cachedPaused);
}
public function set paused(_arg1:Boolean):void{
if (((!((_arg1 == this.cachedPaused))) && (this.timeline))){
if (_arg1){
_pauseTime = this.timeline.rawTime;
} else {
this.cachedStartTime = (this.cachedStartTime + (this.timeline.rawTime - _pauseTime));
_pauseTime = NaN;
setDirtyCache(false);
};
this.cachedPaused = _arg1;
this.active = Boolean(((((!(this.cachedPaused)) && ((this.cachedTotalTime > 0)))) && ((this.cachedTotalTime < this.cachedTotalDuration))));
};
if (((!(_arg1)) && (this.gc))){
this.setEnabled(true, false);
};
}
}
}//package com.greensock.core
Section 14
//TweenLite (com.greensock.TweenLite)
package com.greensock {
import com.greensock.core.*;
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import com.greensock.plugins.*;
public class TweenLite extends TweenCore {
public var target:Object;
public var propTweenLookup:Object;
public var ratio:Number;// = 0
public var cachedPT1:PropTween;
protected var _ease:Function;
protected var _overwrite:uint;
protected var _overwrittenProps:Object;
protected var _hasPlugins:Boolean;
protected var _notifyPluginsOfEnabled:Boolean;
public static const version:Number = 11.101;
public static var plugins:Object = {};
public static var fastEaseLookup:Dictionary = new Dictionary(false);
public static var onPluginEvent:Function;
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
public static var defaultEase:Function = TweenLite.easeOut;
public static var overwriteManager:Object;
public static var rootFrame:Number;
public static var rootTimeline:SimpleTimeline;
public static var rootFramesTimeline:SimpleTimeline;
public static var masterList:Dictionary = new Dictionary(false);
private static var _shape:Shape = new Shape();
protected static var _reservedProps:Object = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, useFrames:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, roundProps:1, onStart:1, onStartParams:1, onReverseComplete:1, onReverseCompleteParams:1, onRepeat:1, onRepeatParams:1, proxiedEase:1, easeParams:1, yoyo:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, onReverseCompleteListener:1, onRepeatListener:1, orientToBezier:1, timeScale:1, immediateRender:1, repeat:1, repeatDelay:1, timeline:1, data:1, paused:1};
public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){
var _local5:TweenLite;
super(_arg2, _arg3);
this.target = _arg1;
if ((((this.target is TweenCore)) && (("timeScale" in this.vars)))){
this.cachedTimeScale = 1;
};
propTweenLookup = {};
_ease = defaultEase;
_overwrite = (((!(("overwrite" in _arg3))) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite);
var _local4:Array = masterList[_arg1];
if (!_local4){
masterList[_arg1] = [this];
} else {
if (_overwrite == 1){
for each (_local5 in _local4) {
if (!_local5.gc){
_local5.setEnabled(false, false);
};
};
masterList[_arg1] = [this];
} else {
_local4[_local4.length] = this;
};
};
if (((this.active) || (this.vars.immediateRender))){
renderTime(0, false, true);
};
}
protected function init():void{
var _local1:String;
var _local2:int;
var _local3:*;
var _local4:Boolean;
var _local5:Array;
var _local6:PropTween;
if (typeof(this.vars.ease) == "function"){
_ease = this.vars.ease;
};
if (this.vars.easeParams){
this.vars.proxiedEase = _ease;
_ease = easeProxy;
};
this.cachedPT1 = null;
this.propTweenLookup = {};
for (_local1 in this.vars) {
if ((((_local1 in _reservedProps)) && (!((((_local1 == "timeScale")) && ((this.target is TweenCore))))))){
} else {
if ((((_local1 in plugins)) && (new ((plugins[_local1] as Class)).onInitTween(this.target, this.vars[_local1], this)))){
this.cachedPT1 = new PropTween(_local3, "changeFactor", 0, 1, ((_local3.overwriteProps.length)==1) ? _local3.overwriteProps[0] : "_MULTIPLE_", true, this.cachedPT1);
if (this.cachedPT1.name == "_MULTIPLE_"){
_local2 = _local3.overwriteProps.length;
while (_local2--) {
this.propTweenLookup[_local3.overwriteProps[_local2]] = this.cachedPT1;
};
} else {
this.propTweenLookup[this.cachedPT1.name] = this.cachedPT1;
};
if (_local3.priority){
this.cachedPT1.priority = _local3.priority;
_local4 = true;
};
if (((_local3.onDisable) || (_local3.onEnable))){
_notifyPluginsOfEnabled = true;
};
_hasPlugins = true;
} else {
this.cachedPT1 = new PropTween(this.target, _local1, Number(this.target[_local1]), ((typeof(this.vars[_local1]))=="number") ? (Number(this.vars[_local1]) - this.target[_local1]) : Number(this.vars[_local1]), _local1, false, this.cachedPT1);
this.propTweenLookup[_local1] = this.cachedPT1;
};
};
};
if (_local4){
onPluginEvent("onInit", this);
};
if (this.vars.runBackwards){
_local6 = this.cachedPT1;
while (_local6) {
_local6.start = (_local6.start + _local6.change);
_local6.change = -(_local6.change);
_local6 = _local6.nextNode;
};
};
_hasUpdate = Boolean(!((this.vars.onUpdate == null)));
if (_overwrittenProps){
killVars(_overwrittenProps);
if (this.cachedPT1 == null){
this.setEnabled(false, false);
};
};
if ((((((((_overwrite > 1)) && (this.cachedPT1))) && (masterList[this.target]))) && ((_local5.length > 1)))){
if (overwriteManager.manageOverwrites(this, this.propTweenLookup, _local5, _overwrite)){
init();
};
};
this.initted = true;
}
override public function renderTime(_arg1:Number, _arg2:Boolean=false, _arg3:Boolean=false):void{
var _local4:Boolean;
var _local5:Number = this.cachedTime;
this.active = true;
if (_arg1 >= this.cachedDuration){
this.cachedTotalTime = (this.cachedTime = this.cachedDuration);
this.ratio = 1;
_local4 = true;
if (this.cachedDuration == 0){
if ((((((_arg1 == 0)) || ((_rawPrevTime < 0)))) && (!((_rawPrevTime == _arg1))))){
_arg3 = true;
};
_rawPrevTime = _arg1;
};
} else {
if (_arg1 <= 0){
this.cachedTotalTime = (this.cachedTime = (this.ratio = 0));
if (_arg1 < 0){
this.active = false;
if (this.cachedDuration == 0){
if (_rawPrevTime > 0){
_arg3 = true;
_local4 = true;
};
_rawPrevTime = _arg1;
};
};
if (((this.cachedReversed) && (!((_local5 == 0))))){
_local4 = true;
};
} else {
this.cachedTotalTime = (this.cachedTime = _arg1);
this.ratio = _ease(_arg1, 0, 1, this.cachedDuration);
};
};
if ((((this.cachedTime == _local5)) && (!(_arg3)))){
return;
};
if (!this.initted){
init();
if (((!(_local4)) && (this.cachedTime))){
this.ratio = _ease(this.cachedTime, 0, 1, this.cachedDuration);
};
};
if ((((((((_local5 == 0)) && (this.vars.onStart))) && (!((this.cachedTime == 0))))) && (!(_arg2)))){
this.vars.onStart.apply(null, this.vars.onStartParams);
};
var _local6:PropTween = this.cachedPT1;
while (_local6) {
_local6.target[_local6.property] = (_local6.start + (this.ratio * _local6.change));
_local6 = _local6.nextNode;
};
if (((_hasUpdate) && (!(_arg2)))){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local4){
if (((_hasPlugins) && (this.cachedPT1))){
onPluginEvent("onComplete", this);
};
complete(true, _arg2);
};
}
public function killVars(_arg1:Object, _arg2:Boolean=true):Boolean{
var _local3:String;
var _local4:PropTween;
var _local5:Boolean;
if (_overwrittenProps == null){
_overwrittenProps = {};
};
for (_local3 in _arg1) {
if ((_local3 in propTweenLookup)){
_local4 = propTweenLookup[_local3];
if (((_local4.isPlugin) && ((_local4.name == "_MULTIPLE_")))){
_local4.target.killProps(_arg1);
if (_local4.target.overwriteProps.length == 0){
_local4.name = "";
};
};
if (_local4.name != "_MULTIPLE_"){
if (_local4.nextNode){
_local4.nextNode.prevNode = _local4.prevNode;
};
if (_local4.prevNode){
_local4.prevNode.nextNode = _local4.nextNode;
} else {
if (this.cachedPT1 == _local4){
this.cachedPT1 = _local4.nextNode;
};
};
if (((_local4.isPlugin) && (_local4.target.onDisable))){
_local4.target.onDisable();
if (_local4.target.activeDisable){
_local5 = true;
};
};
delete propTweenLookup[_local3];
};
};
if (_arg2){
_overwrittenProps[_local3] = 1;
};
};
return (_local5);
}
override public function invalidate():void{
if (((_notifyPluginsOfEnabled) && (this.cachedPT1))){
onPluginEvent("onDisable", this);
};
this.cachedPT1 = null;
_overwrittenProps = null;
_hasUpdate = (this.initted = (this.active = (_notifyPluginsOfEnabled = false)));
this.propTweenLookup = {};
}
override public function setEnabled(_arg1:Boolean, _arg2:Boolean=false):Boolean{
var _local3:Array;
if (_arg1 == this.gc){
if (_arg1){
_local3 = TweenLite.masterList[this.target];
if (!_local3){
TweenLite.masterList[this.target] = [this];
} else {
_local3[_local3.length] = this;
};
};
super.setEnabled(_arg1, _arg2);
if (((_notifyPluginsOfEnabled) && (this.cachedPT1))){
return (onPluginEvent((_arg1) ? "onEnable" : "onDisable", this));
};
};
return (false);
}
protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams)));
}
public static function initClass():void{
rootFrame = 0;
rootTimeline = new SimpleTimeline(null);
rootFramesTimeline = new SimpleTimeline(null);
rootTimeline.cachedStartTime = (getTimer() * 0.001);
rootFramesTimeline.cachedStartTime = rootFrame;
rootTimeline.autoRemoveChildren = true;
rootFramesTimeline.autoRemoveChildren = true;
_shape.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true);
if (overwriteManager == null){
overwriteManager = {mode:1, enabled:false};
};
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
return (new TweenLite(_arg1, _arg2, _arg3));
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
_arg3.runBackwards = true;
if (!("immediateRender" in _arg3)){
_arg3.immediateRender = true;
};
return (new TweenLite(_arg1, _arg2, _arg3));
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null, _arg4:Boolean=false):TweenLite{
return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, immediateRender:false, useFrames:_arg4, overwrite:0}));
}
protected static function updateAll(_arg1:Event=null):void{
var _local2:Dictionary;
var _local3:Object;
var _local4:Array;
var _local5:int;
rootTimeline.renderTime((((getTimer() * 0.001) - rootTimeline.cachedStartTime) * rootTimeline.cachedTimeScale), false, false);
rootFrame++;
rootFramesTimeline.renderTime(((rootFrame - rootFramesTimeline.cachedStartTime) * rootFramesTimeline.cachedTimeScale), false, false);
if (!(rootFrame % 60)){
_local2 = masterList;
for (_local3 in _local2) {
_local4 = _local2[_local3];
_local5 = _local4.length;
while (_local5--) {
if (TweenLite(_local4[_local5]).gc){
_local4.splice(_local5, 1);
};
};
if (_local4.length == 0){
delete _local2[_local3];
};
};
};
}
public static function killTweensOf(_arg1:Object, _arg2:Boolean=false):void{
var _local3:Array;
var _local4:int;
if ((_arg1 in masterList)){
_local3 = masterList[_arg1];
_local4 = _local3.length;
while (_local4--) {
if (!TweenLite(_local3[_local4]).gc){
if (_arg2){
TweenLite(_local3[_local4]).complete(false, false);
} else {
TweenLite(_local3[_local4]).setEnabled(false, false);
};
};
};
delete masterList[_arg1];
};
}
protected static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (1 - (_arg1 / _arg4));
return ((1 - (_arg1 * _arg1)));
}
}
}//package com.greensock
Section 15
//Application (com.preloader.Application)
package com.preloader {
import com.greensock.*;
import flash.events.*;
import fl.transitions.easing.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.net.*;
import com.greensock.easing.*;
public class Application extends MovieClip {
public var bt_bowGames:SimpleButton;
public var mc_intro:MovieClip;
public var bt_FreeGames:SimpleButton;
public var mc_gamePlay:MovieClip;
public var br_mainMenuMain:SimpleButton;
public var startPlayPos;
public var u;
public var d;
public var levelStart:Array;
public var level1:Array;
public var level2:Array;
public var level3:Array;
public var level4:Array;
public var level5:Array;
public var level6:Array;
public var level7:Array;
public var level8:Array;
public var level9:Array;
public var level10:Array;
public var allLevel:Array;
public var currentLevel;
public var caseMissed:Boolean;
public var disX;
public var mainDegrees;
public var maxDig;
public var minDig;
public var arrowStartX;
public var arrowStartY;
public var arrowStartRot;
public var arrSpeed;
public var flyMulti;
public var maxFlyX;
public var arrowHolder:Array;
public var objY;
public var objX;
public var arrConstantSpeed;
public var arrConstantRotation;
public var minWall;
public var minGround;
public var arrWidth;
public var a1;
public var b1;
public var mainRadians;
public var a2;
public var b2;
public var radians2;
public var degrees2;
public var a3;
public var b3;
public var radians3;
public var degrees3;
public var trueDig;
public var trueRadian;
public var scaleMeter;
public var arrowState:Boolean;
public var scaleFactor;
public var caseGirlLive:Boolean;
public var continiueFindTarget:Boolean;
public var posx:Number;
public var posy:Number;
public var corArr:Array;
public var flyArrow:Object;
public var currentArrow;
public var bloodSound:Blood;
public var myChannel:SoundChannel;
public var maxLife;
public var lifeLeft;
public var mouseDownState:Boolean;
public var mouseOffStage:Boolean;
public var targetArr:Array;
public var holderArr:Array;
public var wallArr:Array;
public var groundArr:Array;
public var allObjPosition:Array;
public var killPosition;
public var arrStoped:Boolean;
public var arrKillPosition:Array;
public function Application(){
addFrameScript(0, frame1, 1, frame2);
}
public function moreGames(_arg1:MouseEvent){
var _local2:URLRequest = new URLRequest("http://www.freegames.net/");
navigateToURL(_local2);
}
public function FreeGames(_arg1:MouseEvent){
var _local2:URLRequest = new URLRequest("http://www.freegames.net/");
navigateToURL(_local2);
}
public function bowGames(_arg1:MouseEvent){
var _local2:URLRequest = new URLRequest("http://www.freegames.net/tag/67/Bow-Games");
navigateToURL(_local2);
}
public function hit(_arg1:MouseEvent){
disX = (Math.random() * 0.2);
u.removeEventListener(MouseEvent.MOUSE_DOWN, hit);
u.addEventListener(MouseEvent.MOUSE_UP, relese);
addEventListener(Event.ENTER_FRAME, push);
addEventOutOfStage(true);
u.mc_man.mc_rHandRotation.mc_rHand.play();
u.mc_man.mc_rHandRotation.mc_rHand.mc_arrow.visible = true;
}
public function relese(_arg1:MouseEvent){
removeEventListener(Event.ENTER_FRAME, push);
u.removeEventListener(MouseEvent.MOUSE_UP, relese);
addEventOutOfStage(false);
arrowFly();
scaleMeter = 0;
d.mc_powerMeter.mc_meter.scaleX = (scaleMeter / 20);
u.mc_man.mc_rHandRotation.mc_rHand.gotoAndStop(1);
u.mc_man.mc_rHandRotation.mc_rHand.mc_arrow.visible = false;
arrowSoundFly();
}
public function addEventOutOfStage(_arg1){
if (_arg1){
stage.addEventListener(Event.MOUSE_LEAVE, mouseLeave);
} else {
stage.removeEventListener(Event.MOUSE_LEAVE, mouseLeave);
};
}
public function mouseLeave(_arg1:Event):void{
relese(new MouseEvent("MOUSE_DOWN"));
}
public function rotationArow(_arg1:MouseEvent){
a1 = (_arg1.target.mouseY - (u.mc_man.mc_rHandRotation.y + u.mc_man.y));
b1 = (_arg1.target.mouseX - (u.mc_man.mc_rHandRotation.x + u.mc_man.x));
mainRadians = Math.atan2(a1, b1);
mainDegrees = (mainRadians / (Math.PI / 180));
a2 = (_arg1.target.mouseY - (u.mc_man.mc_LHand.y + u.mc_man.y));
b2 = (_arg1.target.mouseX - (u.mc_man.mc_LHand.x + u.mc_man.x));
radians2 = Math.atan2(a2, b2);
degrees2 = (radians2 / (Math.PI / 180));
a3 = (_arg1.target.mouseY - ((u.mc_man.mc_Head.mc_HeadRot.y + u.mc_man.y) + u.mc_man.mc_Head.y));
b3 = (_arg1.target.mouseX - ((u.mc_man.mc_Head.mc_HeadRot.x + u.mc_man.x) + u.mc_man.mc_Head.x));
radians3 = Math.atan2(a3, b3);
degrees3 = (radians3 / (Math.PI / 180));
if ((((((((((((mainDegrees > minDig)) && ((mainDegrees < maxDig)))) && ((degrees2 > minDig)))) && ((degrees2 < maxDig)))) && ((degrees3 > minDig)))) && ((degrees3 < maxDig)))){
u.mc_man.mc_rHandRotation.rotation = mainDegrees;
u.mc_man.mc_LHand.rotation = mainDegrees;
u.mc_man.mc_Head.mc_HeadRot.rotation = mainDegrees;
mc_gamePlay.mc_powerMeter.mc_campus.mc_arrowCompus.rotation = mainDegrees;
trueDig = mainDegrees;
trueRadian = mainRadians;
};
}
public function traceStartMousePosition(){
arrWidth = ((10 + u.mc_man.mc_rHandRotation.mc_rHand.mc_arrow.x) + u.mc_man.mc_rHandRotation.mc_rHand.mc_arrow.width);
arrowStartX = ((((-10 + (arrWidth * Math.cos(trueRadian))) + u.mc_man.mc_rHandRotation.x) + u.mc_man.x) + u.mc_man.mc_rHandRotation.mc_rHand.y);
arrowStartY = ((((-10 + (arrWidth * Math.sin(trueRadian))) + u.mc_man.mc_rHandRotation.y) + u.mc_man.y) + u.mc_man.mc_rHandRotation.mc_rHand.y);
arrowStartRot = trueDig;
}
public function push(_arg1:Event){
powerM();
if (disX < 20){
disX++;
};
}
public function arrowFly(){
currentArrow++;
traceStartMousePosition();
var _local1:Arrow = new Arrow();
_local1.x = arrowStartX;
_local1.y = arrowStartY;
_local1.rotation = arrowStartRot;
_local1.startRot = arrowStartRot;
u.mc_ArrowConteiner.addChild(_local1);
arrowHolder.push(_local1);
arrowMoving(_local1);
}
public function arrowMoving(_arg1){
var arrowFrameUpdate:Function;
var obj = _arg1;
arrowFrameUpdate = function (_arg1:Event){
if (arrowState){
if (-(obj.startRot) > obj.rotation){
obj.rotation = (obj.rotation + arrConstantRotation);
} else {
if ((((-(obj.startRot) < obj.rotation)) && ((75 > obj.rotation)))){
obj.rotation = (obj.rotation + (arrConstantRotation / 3));
};
};
obj.x = (obj.x + (arrConstantSpeed * Math.cos((obj.startRot * (Math.PI / 180)))));
obj.y = (obj.y + (arrConstantSpeed * Math.sin((obj.rotation * (Math.PI / 180)))));
if (obj.x < -100){
scaleFactor = findScaleStage(obj.x);
};
if ((((scaleFactor > 1)) || ((currentLevel == 0)))){
scaleFactor = 1;
};
mc_gamePlay.mc_MainStage.scaleX = scaleFactor;
mc_gamePlay.mc_MainStage.scaleY = scaleFactor;
} else {
removeEventListener(Event.ENTER_FRAME, arrowFrameUpdate);
u.mc_man.mc_rHandRotation.mc_rHand.mc_arrow.visible = true;
};
arrowPenetration(obj);
};
continiueFindTarget = true;
caseMissed = true;
caseGirlLive = true;
arrowState = true;
arrStoped = false;
arrConstantSpeed = (8 + (disX * 2));
arrConstantRotation = ((100 - currentLevel) / (disX * 3));
maxFlyX = (disX * 30);
addEventListener(Event.ENTER_FRAME, arrowFrameUpdate);
}
public function arrowPenetration(_arg1){
var _local2:Array;
var _local4:*;
_local2 = new Array();
_local2 = new Array(new Array(_arg1.x, _arg1.y), new Array((_arg1.x - (20 * Math.cos((_arg1.rotation * (Math.PI / 180))))), (_arg1.y - (20 * Math.sin((_arg1.rotation * (Math.PI / 180)))))), new Array((_arg1.x - (35 * Math.cos((_arg1.rotation * (Math.PI / 180))))), (_arg1.y - (35 * Math.sin((_arg1.rotation * (Math.PI / 180)))))), new Array((_arg1.x - (50 * Math.cos((_arg1.rotation * (Math.PI / 180))))), (_arg1.y - (50 * Math.sin((_arg1.rotation * (Math.PI / 180)))))), new Array((_arg1.x - (65 * Math.cos((_arg1.rotation * (Math.PI / 180))))), (_arg1.y - (65 * Math.sin((_arg1.rotation * (Math.PI / 180)))))));
var _local3:* = 0;
while (_local3 < _local2.length) {
posx = _local2[_local3][0];
posy = _local2[_local3][1];
_local4 = 0;
while (_local4 < allObjPosition.length) {
if ((((((((((arrStoped == false)) && ((posx > allObjPosition[_local4][0])))) && ((posx < allObjPosition[_local4][1])))) && ((posy > allObjPosition[_local4][2])))) && ((posy < allObjPosition[_local4][3])))){
switch (allObjPosition[_local4][6]){
case "meta":
caseMissed = false;
u.mc_target.play();
break;
case "girl":
arrStoped = true;
caseGirlLive = false;
arrowStop(_arg1);
break;
case "zid":
arrStoped = true;
arrowStop(_arg1);
break;
case "zemlja":
arrStoped = true;
arrowStop(_arg1);
break;
};
if (arrowState){
arrowState = allObjPosition[_local4][5];
};
_local4 = allObjPosition.length;
_local3 = _local2.length;
};
_local4++;
};
_local3++;
};
}
public function findScaleStage(_arg1){
var _local2:* = Math.abs((700 / Math.abs((_arg1 - 150))));
return (_local2);
}
public function arrowStop(_arg1){
if ((((caseMissed == true)) && ((caseGirlLive == true)))){
missed();
};
if ((((caseMissed == false)) && ((caseGirlLive == true)))){
nextLevel();
};
if (caseGirlLive == false){
killGirl(_arg1);
};
}
public function removeHolder(){
d.mc_MainStage.mc_girlAniHolder.mc_standGirlFirst.visible = true;
var _local1:* = 0;
while (_local1 < arrKillPosition.length) {
arrKillPosition[_local1].visible = false;
arrKillPosition[_local1].gotoAndStop(1);
_local1++;
};
}
public function killGirl(_arg1){
var arrowMy:Object;
var minus:*;
var obj = _arg1;
try {
br_mainMenuMain.visible = false;
} catch(e) {
};
obj.visible = false;
d.mc_nextLevel.visible = false;
d.mc_nextLevel.mouseEnabled = false;
appleFal();
d.mc_MainStage.mc_girlAniHolder.mc_standGirlFirst.visible = false;
findWhereHit(obj);
if (disX > 15){
neckBreak();
scream();
myChannel = bloodSound.play();
switch (killPosition){
case "head":
d.mc_MainStage.mc_girlAniHolder.mc_headShot.visible = true;
d.mc_MainStage.mc_girlAniHolder.mc_headShot.play();
break;
case "beli":
d.mc_MainStage.mc_girlAniHolder.mc_holderBeli.visible = true;
d.mc_MainStage.mc_girlAniHolder.mc_holderBeli.play();
break;
case "leg":
d.mc_MainStage.mc_girlAniHolder.mc_holderLeg.visible = true;
d.mc_MainStage.mc_girlAniHolder.mc_holderLeg.play();
break;
case "neck":
d.mc_MainStage.mc_girlAniHolder.mc_holderNeck.visible = true;
d.mc_MainStage.mc_girlAniHolder.mc_holderNeck.play();
break;
};
} else {
arrowMy = d.mc_MainStage.mc_girlAniHolder.mc_angry.mc_arrAngry;
minus = 133.4;
arrowMy.rotation = obj.rotation;
arrowMy.y = (obj.y - minus);
if (arrowMy.y > -80){
arrowMy.x = 0;
} else {
arrowMy.x = -5;
};
d.mc_MainStage.mc_girlAniHolder.mc_angry.visible = true;
d.mc_MainStage.mc_girlAniHolder.mc_angry.play();
};
if (lifeLeft > 0){
lifeLeft--;
if (lifeLeft == 2){
mc_gamePlay.mc_girlsLives.life3.visible = false;
};
if (lifeLeft == 1){
mc_gamePlay.mc_girlsLives.life2.visible = false;
};
d.mc_girlDead.mc_bgKill.alpha = 0.5;
d.mc_girlDead.visible = true;
d.mc_girlDead.mouseEnabled = true;
d.mc_girlDead.bt_nextLevel.addEventListener(MouseEvent.CLICK, function ():void{
try {
br_mainMenuMain.visible = true;
} catch(e) {
};
d.mc_girlDead.visible = false;
d.mc_girlDead.mouseEnabled = false;
removeArrows();
});
d.mc_girlDead.bt_mainMenu.addEventListener(MouseEvent.CLICK, function ():void{
try {
br_mainMenuMain.visible = true;
} catch(e) {
};
try {
d.mc_girlDead.parent.parent.gotoAndStop(1);
} catch(e) {
};
});
} else {
currentLevel = 0;
lifeLeft = maxLife;
mc_gamePlay.mc_girlsLives.life1.visible = false;
d.mc_killGirl.mc_bgKill.alpha = 0.5;
d.mc_killGirl.visible = true;
d.mc_killGirl.mouseEnabled = true;
d.mc_killGirl.bt_nextLevel.addEventListener(MouseEvent.CLICK, function ():void{
try {
br_mainMenuMain.visible = true;
} catch(e) {
};
d.mc_killGirl.visible = false;
d.mc_killGirl.mouseEnabled = false;
mc_gamePlay.mc_girlsLives.life3.visible = true;
mc_gamePlay.mc_girlsLives.life2.visible = true;
mc_gamePlay.mc_girlsLives.life1.visible = true;
removeArrows();
});
d.mc_killGirl.bt_mainMenu.addEventListener(MouseEvent.CLICK, function ():void{
try {
br_mainMenuMain.visible = true;
} catch(e) {
};
try {
d.mc_killGirl.parent.parent.gotoAndStop(1);
} catch(e) {
};
});
};
}
public function missed(){
d.mc_miss.visible = true;
d.mc_miss.mouseEnabled = true;
d.mc_miss.mc_bg.alpha = 0.6;
d.mc_miss.bt_nextLevel.addEventListener(MouseEvent.CLICK, function ():void{
d.mc_miss.visible = false;
d.mc_miss.mouseEnabled = false;
});
setLevel();
}
public function nextLevel(){
var removeMcNextLevel:Function;
removeMcNextLevel = function (_arg1:MouseEvent){
removeNextLevel();
};
if (currentLevel == (allLevel.length - 1)){
currentLevel = 0;
finish();
} else {
currentLevel++;
};
d.mc_nextLevel.mc_bg.alpha = 0.6;
d.mc_nextLevel.visible = true;
d.mc_nextLevel.mouseEnabled = true;
d.mc_nextLevel.bt_nextLevel.addEventListener(MouseEvent.CLICK, removeMcNextLevel);
}
public function removeNextLevel(){
d.mc_nextLevel.visible = false;
d.mc_nextLevel.mouseEnabled = false;
removeArrows();
}
public function finish(){
d.mc_finish.visible = true;
d.mc_finish.mouseEnabled = true;
d.mc_finish.bt_nextLevel.addEventListener(MouseEvent.CLICK, function ():void{
d.mc_finish.visible = false;
setLevel();
});
}
public function removeArrows(){
var _local1:* = 0;
while (_local1 < arrowHolder.length) {
u.mc_ArrowConteiner.removeChild(arrowHolder[_local1]);
_local1++;
};
setLevel();
arrowHolder = new Array();
}
public function setLevel(){
d.mc_MainStage.mc_girlAniHolder.mc_holderBeli.gotoAndStop(1);
levelZoom(allLevel[currentLevel]);
stagePreparaton();
}
public function appleFal(){
var tar:*;
var plus:*;
var posx:*;
var rot:*;
var posy:*;
tar = u.mc_target;
plus = ((Math.random() < 0.5)) ? 1 : -1;
posx = (tar.x + ((plus * Math.random()) * 55));
rot = (Math.random() * 150);
posy = (125 + (Math.random() * 15));
TweenLite.to(tar, 1.1, {x:posx, y:posy, rotation:rot, ease:Bounce.easeOut, onComplete:function ():void{
TweenLite.to(tar, 5, {x:(posx + (plus * 50)), y:(posy + 10), rotation:(rot + (plus * 105)), ease:None.easeOut});
}});
}
public function possTarget(){
TweenLite.to(u.mc_target, 0.05, {x:-108.45, y:-17.45, rotation:0, ease:None.easeOut});
u.mc_target.gotoAndStop(1);
}
public function stagePreparaton(){
textPreparation();
removeHolder();
possTarget();
try {
myChannel.stop();
} catch(e) {
trace("nije uspjeo");
};
}
public function textPreparation(){
var _local1:* = (currentLevel + 1);
var _local2:* = (30 + (currentLevel * 5));
d.mc_powerMeter.dt_level.text = _local1.toString();
d.mc_powerMeter.dt_distance.text = (_local2.toString() + " ft");
}
public function levelZoom(_arg1){
var manMove:Function;
var arr = _arg1;
manMove = function (){
TweenLite.to(mc_gamePlay.mc_MainStage.mc_man, 0.5, {x:arr[2], ease:Regular.easeOut, onComplete:function ():void{
u.addEventListener(MouseEvent.MOUSE_DOWN, hit);
}});
};
var scale:* = findScaleStage((arr[2] + 100));
if (currentLevel == 0){
scale = 1;
};
TweenLite.to(mc_gamePlay.mc_MainStage, 0.5, {x:arr[1], scaleX:scale, scaleY:scale, ease:Regular.easeOut, onComplete:manMove});
mc_gamePlay.visible = true;
}
public function powerM(){
scaleMeter++;
if (scaleMeter < 20){
d.mc_powerMeter.mc_meter.scaleX = (scaleMeter / 20);
};
}
public function findWhereHit(_arg1){
if ((((-6 < _arg1.y)) && ((_arg1.y <= 10)))){
killPosition = "head";
};
if ((((10 < _arg1.y)) && ((_arg1.y <= 38)))){
killPosition = "neck";
};
if ((((38 < _arg1.y)) && ((_arg1.y <= 80)))){
killPosition = "beli";
};
if ((((80 < _arg1.y)) && ((_arg1.y <= 130)))){
killPosition = "leg";
};
}
public function arrowSoundFly(){
var _local1:ArrowSound = new ArrowSound();
_local1.play();
}
public function neckBreak(){
var _local1:Neck = new Neck();
_local1.play();
}
public function scream(){
var _local1:Scream = new Scream();
_local1.play();
}
function frame1(){
stop();
try {
} catch(e) {
};
mc_intro.bt_startGame.addEventListener(MouseEvent.CLICK, function ():void{
gotoAndStop(2);
});
}
function frame2(){
stop();
startPlayPos = 0;
u = mc_gamePlay.mc_MainStage;
d = mc_gamePlay;
mc_gamePlay.visible = false;
d.mc_nextLevel.visible = false;
d.mc_nextLevel.mouseEnabled = false;
d.mc_miss.visible = false;
d.mc_miss.mouseEnabled = false;
d.mc_killGirl.visible = false;
d.mc_killGirl.mouseEnabled = false;
d.mc_finish.visible = false;
d.mc_finish.mouseEnabled = false;
d.mc_girlDead.visible = false;
d.mc_girlDead.mouseEnabled = false;
levelStart = new Array(1, startPlayPos, u.mc_man.x);
level1 = new Array(1, startPlayPos, -680);
level2 = new Array(0.77, startPlayPos, -850);
level3 = new Array(0.66, startPlayPos, -1017);
level4 = new Array(0.57, startPlayPos, -1185);
level5 = new Array(0.5, startPlayPos, -1355);
level6 = new Array(0.44, startPlayPos, -1524);
level7 = new Array(0.39, startPlayPos, -1696);
level8 = new Array(0.35, startPlayPos, -1860);
level9 = new Array(0.32, startPlayPos, -2030);
level10 = new Array(0.3, startPlayPos, -2200);
allLevel = new Array(level1, level2, level3, level4, level5, level6, level7, level8, level9, level10);
currentLevel = 0;
caseMissed = true;
disX = 0;
maxDig = 40;
minDig = -70;
arrSpeed = 8;
flyMulti = 30;
arrowHolder = new Array();
trueDig = 1;
trueRadian = (trueDig * (Math.PI / 180));
scaleMeter = 0;
arrowState = true;
d.mc_powerMeter.mc_meter.scaleX = (scaleMeter / 20);
caseGirlLive = true;
continiueFindTarget = true;
corArr = new Array();
currentArrow = -1;
bloodSound = new Blood();
myChannel = new SoundChannel();
maxLife = 3;
lifeLeft = maxLife;
u.addEventListener(MouseEvent.MOUSE_MOVE, rotationArow);
br_mainMenuMain.addEventListener(MouseEvent.CLICK, function ():void{
gotoAndStop(1);
});
br_mainMenuMain.visible = true;
u.mouseChildren = false;
targetArr = new Array(-110, -50, -30, -5, false, true, "meta");
holderArr = new Array(-120, -90, -5, 130, false, false, "girl");
wallArr = new Array(-88, 47, -86, 40, false, false, "zid");
groundArr = new Array(-5000, 5000, 130, 5000, false, false, "zemlja");
allObjPosition = new Array(targetArr, holderArr, groundArr);
killPosition = "head";
arrKillPosition = new Array(d.mc_MainStage.mc_girlAniHolder.mc_headShot, d.mc_MainStage.mc_girlAniHolder.mc_holderBeli, d.mc_MainStage.mc_girlAniHolder.mc_angry, d.mc_MainStage.mc_girlAniHolder.mc_holderLeg, d.mc_MainStage.mc_girlAniHolder.mc_holderNeck);
mc_gamePlay.mc_killGirl.bt_moreGames.addEventListener(MouseEvent.CLICK, moreGames);
bt_FreeGames.addEventListener(MouseEvent.CLICK, FreeGames);
bt_bowGames.addEventListener(MouseEvent.CLICK, bowGames);
mc_gamePlay.mc_girlDead.bt_moreGames.addEventListener(MouseEvent.CLICK, moreGames);
setLevel();
}
}
}//package com.preloader
Section 16
//Main (com.preloader.Main)
package com.preloader {
import flash.events.*;
import flash.display.*;
public class Main extends MovieClip {
public var preloader:Preloader;
public function Main(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
preloader.addEventListener(Event.COMPLETE, onPreloaderComplete);
preloader.setLoaderInfo(loaderInfo);
}
private function onPreloaderComplete(_arg1:Event):void{
gotoAndStop(3);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
function frame3(){
stop();
}
}
}//package com.preloader
Section 17
//Preloader (com.preloader.Preloader)
package com.preloader {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
public class Preloader extends MovieClip {
public var mc_bgPreloader:MovieClip;
public var progressArea:MovieClip;
public var progressBar:MovieClip;
public var percentageText:TextField;
var seconde:int;// = 70
var mytimer:Timer;
var firstLoad:int;// = 30
var percent:int;
public function Preloader(){
mytimer = new Timer(100, seconde);
super();
mc_bgPreloader.addEventListener(MouseEvent.CLICK, goTo);
}
private function goTo(_arg1:MouseEvent){
var _local2:URLRequest = new URLRequest("http://www.freegames.net/");
navigateToURL(_local2);
}
public function setLoaderInfo(_arg1:LoaderInfo):void{
_arg1.addEventListener(ProgressEvent.PROGRESS, onProgress);
_arg1.addEventListener(Event.COMPLETE, onLoaded);
}
private function onProgress(_arg1:ProgressEvent):void{
var _local2:int = Math.round(((_arg1.bytesLoaded / _arg1.bytesTotal) * 100));
percent = ((firstLoad * _local2) / 100);
progressBar.scaleX = (percent / 100);
percentageText.text = (percent + "%");
}
private function onLoaded(_arg1:Event):void{
var a = _arg1;
mytimer.addEventListener(TimerEvent.TIMER_COMPLETE, function ():void{
onComplete(a);
});
mytimer.addEventListener(TimerEvent.TIMER, ProgresBar);
mytimer.start();
}
private function ProgresBar(_arg1:TimerEvent){
percent = (percent + 1);
progressBar.scaleX = (percent / 100);
percentageText.text = (percent + "%");
}
private function onComplete(_arg1:Event):void{
dispatchEvent(_arg1);
}
}
}//package com.preloader
Section 18
//PreloaderCatcher (com.preloader.PreloaderCatcher)
package com.preloader {
import flash.events.*;
import flash.display.*;
public class PreloaderCatcher extends Sprite {
public function PreloaderCatcher(){
addEventListener(Event.ADDED_TO_STAGE, onAdded);
}
private function onAdded(_arg1:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, onAdded);
var _local2:Sprite = (Sprite(parent).getChildByName("preloader") as Sprite);
MovieClip(parent).nextFrame();
}
}
}//package com.preloader
Section 19
//Bounce (fl.transitions.easing.Bounce)
package fl.transitions.easing {
public class Bounce {
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
if (_arg1 < (1 / 2.75)){
return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2));
};
if (_arg1 < (2 / 2.75)){
_arg1 = (_arg1 - (1.5 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2));
};
if (_arg1 < (2.5 / 2.75)){
_arg1 = (_arg1 - (2.25 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2));
};
_arg1 = (_arg1 - (2.625 / 2.75));
return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (((_arg3 - easeOut((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
if (_arg1 < (_arg4 / 2)){
return (((easeIn((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2));
};
return ((((easeOut(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _arg2));
}
}
}//package fl.transitions.easing
Section 20
//None (fl.transitions.easing.None)
package fl.transitions.easing {
public class None {
public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
public static function easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return ((((_arg3 * _arg1) / _arg4) + _arg2));
}
}
}//package fl.transitions.easing
Section 21
//Regular (fl.transitions.easing.Regular)
package fl.transitions.easing {
public class Regular {
public static function easeIn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((_arg3 * _arg1) * _arg1) + _arg2));
}
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 easeInOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / (_arg4 / 2));
if (_arg1 < 1){
return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2));
};
--_arg1;
return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2));
}
}
}//package fl.transitions.easing
Section 22
//Arrow (Arrow)
package {
import flash.display.*;
public dynamic class Arrow extends MovieClip {
}
}//package
Section 23
//ArrowSound (ArrowSound)
package {
import flash.media.*;
public dynamic class ArrowSound extends Sound {
}
}//package
Section 24
//Blood (Blood)
package {
import flash.media.*;
public dynamic class Blood extends Sound {
}
}//package
Section 25
//Neck (Neck)
package {
import flash.media.*;
public dynamic class Neck extends Sound {
}
}//package
Section 26
//Scream (Scream)
package {
import flash.media.*;
public dynamic class Scream extends Sound {
}
}//package