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

The Torture Chamber III.swf

This is the info page for
Flash #40792

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


Text
!

s

e

l

i

m

S

A

!

s

e

l

i

m

S

A

Enter The Chamber

Enter The Chamber

Scott Productions - 2008

Loading

99%

How to Play

The Object of the Torture Chamber is to cause as much pain as possible
to your victim before he dies. Doing so awards pain points, and unlocks
new forms of punishment.
Use the "Fillers" to damage/torture your victim to get them ripe for a
"Finisher." A Finisher ends the round with a particularly mean ending.
You can create custom Finishers by simply thinking of clever ways to
kill the victim. (Dropping from a very large height comes to mind.)
The game is about exploring new forms and strategies, so have at it!
PS: Sephiroth, don't sue me plz.

PLAY

All Smiles!

All Smiles!

Adrenaline Overload
(+1000 Pain Points)

Firing Squad

CHECKER

Cue the incredibly long
animation!

Wtf? Calculus?

That's Creative

Oh good, the meteor is hitting
the galaxy, this animatiom must
be over.

Sigh..nope, theres more.

Pluto isn't even a planet.

This better be worth like 40
million Pain Points.

ZOMG NO SATURN!

Sux lol.

Yeah I'm sure that is what would
happen.

Seriously how long is this shit.

...FUCKING END.

Ok seriously I just cut this short,
basically the world blows and
everyone takes 9999 damage.

Oh yeah, uh, forgot this is the
Torture Chamber.

This isn't the true Final Finisher
:)
GOOD JOB YOU CAN PRESS
PRINT SCREEN REALLY
QUICKLY

Temperature Control

Temperature Control

Gravity  Control

Gravity  Control

Room Size Control

Room Size Control

Firing Squad

Firing Squad

Temperature Finisher

Temperature Finisher

War-Axe

War-Axe

Get 2000 Pain Points

Adrenaline

Adrenaline

Get 5000 Pain Points

Bee Dispenser

Bee Dispenser

Get 3500 Pain Points

Scarabs

Scarabs

Get 15000 Pain Points

Chineese Water Torture

Chineese Water Torture

Get 25500 Pain Points

Supernova

Supernova

Your Idea!

www.spflash.net/forums/

Thought Cam = SHIFT

Health

Pain Points

Fillers

Fillers

Finishers

Finishers

0

88500

It's been such a long time, I think I should be going.

Temperature:
Gravity:

55

55

J

R

T

F

R

Bonus!

Crushed!
(+1250 Pain Points)

Shatter
(+1500 Pain Points)

War-Axe

+

RESET

RESET

RESET

Finisher

Verdict

Victim Report...

Total Pain Points

3500

24740

24740

New Unlockable!

Bonus Features are gay. I
just like the idea of having
a "Bonus Features" button
in my games.

Bonus Features are gay. I
just like the idea of having
a "Bonus Features" button
in my games.

I'm trying to finish up this game by 7:30 EST as of April 20th,
2008, so I'm going so fast I'm going to miss something.

Thanks to myself.
That's about it. Oh, thanks Sephiroth for having a
retarded spell. If you haven't unlocked the last
unlockable yet then sorry, I just spoiled something.
OH! Thanks to XxdeathpriestxX for inspiring me to
do the Chineese Water Torture. Unfortunately all of
the goals I had for this one didn't come to fruition.

BACK

ActionScript [AS1/AS2]

Instance of Symbol 47 MovieClip in Frame 1
onClipEvent (enterFrame) { if (_root.stopaction == false) { this._y = this._y + ((_root.control.gravity - 400) / 9.8); if (_root.control.gravity <= 400) { this._x = this._x + (-2 + random(4)); } if (this.hitTest(_root.room.floor.gfloor)) { this._y = this._y - ((_root.control.gravity - 400) / 9.8); } } }
Frame 2
percent = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (percent >= 100) { gotoAndStop (4); }
Frame 3
gotoAndPlay (1);
Frame 4
stop(); _root.bars.play(); _root.title2.play();
Frame 5
stop();
Frame 6
info = ""; stopaction = false; watertorture = 0; squadvary = 1; squadcounter = 0; health = 100; pp = 0; gameover = false; doNothing = true; adrenalinecounter = 0; beeno = 0; stop(); grav = function () { trace("lolol"); };
Instance of Symbol 402 MovieClip "victim" in Frame 6
onClipEvent (enterFrame) { if (_root.stopaction == false) { if (_root.control.temperature <= -1) { _root.health = _root.health - Math.abs(_root.control.temperature / 150); _root.pp = _root.pp + (0.75 + Math.abs(_root.control.temperature / 100)); } } } onClipEvent (enterFrame) { if (_root.stopaction == false) { this._y = this._y + ((_root.control.gravity - 400) / 9.8); if (this.hitTest(_root.room.floor.gfloor)) { this._y = this._y - ((_root.control.gravity - 400) / 9.8); } } } onClipEvent (enterFrame) { if (_root.stopaction == false) { if (this._y <= -1700) { if (_root.control.gravity >= 400) { _root.stopaction = true; this._x = 240.8; this._y = 79; _root.victim.gotoAndPlay("fall"); } } } }
Instance of Symbol 405 MovieClip in Frame 6
onClipEvent (enterFrame) { if (_level0.stopaction == false) { if (_level0.control.temperature <= -70) { _root.victim.gotoAndStop("cold3"); _root.doNothing = false; } if (_level0.room.floor._y <= -50) { _root.victim.gotoAndStop("diesquish"); _root.doNothing = false; } else if (_level0.room.floor._y <= 80) { _root.victim.gotoAndStop("squishavoid8"); _root.doNothing = false; } else if (_level0.room.floor._y <= 100) { _root.victim.gotoAndStop("squishavoid7"); _root.doNothing = false; } else if (_level0.room.floor._y <= 120) { _root.victim.gotoAndStop("squishavoid6"); _root.doNothing = false; } else if (_level0.room.floor._y <= 140) { _root.victim.gotoAndStop("squishavoid5"); _root.doNothing = false; } else if (_level0.room.floor._y <= 160) { _root.victim.gotoAndStop("squishavoid4"); _root.doNothing = false; } else if (_level0.room.floor._y <= 180) { _root.victim.gotoAndStop("squishavoid3"); _root.doNothing = false; } else if (_level0.room.floor._y <= 200) { _root.victim.gotoAndStop("squishavoid2"); _root.doNothing = false; } else if (_level0.room.floor._y <= 220) { _root.victim.gotoAndStop("squishavoid"); _root.doNothing = false; } else if (_level0.control.gravity >= 1500) { _root.victim.gotoAndStop("diesquish"); _root.doNothing = false; } else if (_level0.control.gravity >= 1200) { _root.victim.gotoAndStop("highgrav"); _root.doNothing = false; } else if (_level0.beeno >= 14) { _root.victim.gotoAndStop("bees2"); _root.doNothing = false; } else if (_level0.beeno >= 6) { _root.victim.gotoAndStop("bees1"); _root.doNothing = false; } else if (_level0.control.temperature >= 150) { _root.victim.gotoAndStop("hot"); _root.doNothing = false; } else if (_level0.control.temperature <= -10) { _root.victim.gotoAndStop("cold2"); _root.doNothing = false; } else if (_level0.control.temperature <= 40) { _root.victim.gotoAndStop("cold"); _root.doNothing = false; } else { _root.doNothing = true; } } }
Instance of Symbol 415 MovieClip "rain" in Frame 6
onClipEvent (enterFrame) { if (_root.watertorture == 1) { this._x = _root.victim._x + 25; this._y = this._y + ((_root.control.gravity - 400) / 9.8); if (this.hitTest(_root.victim)) { this._y = this._y - ((_root.control.gravity - 400) / 9.8); this.play(); } } }
Instance of Symbol 456 MovieClip "bee" in Frame 6
onClipEvent (load) { this.x = Math.random(400); }
Instance of Symbol 531 MovieClip "gui" in Frame 6
onClipEvent (load) { music = new Sound(); music.attachSound("floorsound"); } onClipEvent (enterFrame) { if (_level0.health <= 0) { if (_root.stopaction == false) { _root.gameover = true; } } if (_root.gameover == true) { _root.stopaction = true; } if (Key.isDown(88)) { if (_root.room.floor._y >= -50) { if (_root.stopaction == false) { _root.room.floor._y = _root.room.floor._y - 10; _root.topfloor._y = _root.topfloor._y + 10; _root.victim._y = _root.victim._y - 10; _root.victimreflection._y = _root.victimreflection._y - 10; music.start(0, 0); } } } if (Key.isDown(90)) { if (_root.room.floor._y <= 273) { if (_root.stopaction == false) { _root.room.floor._y = _root.room.floor._y + 10; _root.topfloor._y = _root.topfloor._y - 10; _root.victim._y = _root.victim._y + 10; _root.victimreflection._y = _root.victimreflection._y + 10; music.start(0, 0); } } } }
Instance of Symbol 546 MovieClip "control" in Frame 6
onClipEvent (load) { this.temperature = 75; this.gravity = 800; } onClipEvent (enterFrame) { if (_root.stopaction == false) { if (Key.isDown(81)) { this.temperature = this.temperature - 1; } if (Key.isDown(87)) { this.temperature = this.temperature + 1; } if (Key.isDown(65)) { this.gravity = this.gravity - 5; } if (Key.isDown(83)) { this.gravity = this.gravity + 5; } } }
Instance of Symbol 574 MovieClip "adren" in Frame 6
onClipEvent (enterFrame) { this._x = _root.victim._x - 340; this._y = _root.victim._y - 80; if (Key.isDown(16)) { if (_root.gui.twoK._currentframe == 2) { this.play(); } } }
Instance of Symbol 587 MovieClip in Frame 6
onClipEvent (enterFrame) { if (_root.stopaction == false) { if (Key.isDown(81)) { this.play(); } } }
Instance of Symbol 587 MovieClip in Frame 6
onClipEvent (enterFrame) { if (_root.stopaction == false) { if (Key.isDown(81)) { this.play(); } } }
Instance of Symbol 591 MovieClip in Frame 6
onClipEvent (enterFrame) { if (_root.stopaction == false) { if (Key.isDown(87)) { this.play(); } } }
Instance of Symbol 667 MovieClip in Frame 6
onClipEvent (enterFrame) { this._x = _root._xmouse; this._y = _root._ymouse; if (Key.isDown(16)) { Mouse.hide(); this._visible = true; } else { this._visible = false; Mouse.show(); } }
Instance of Symbol 693 MovieClip "gameovermenu" in Frame 6
onClipEvent (enterFrame) { if (_root.gameover == true) { if (this._currentframe == 1) { this.play(); _root.gameover == false; } } }
Symbol 12 MovieClip [VideoPlayer] Frame 1
#initclip 11 Object.registerClass("VideoPlayer", mx.video.VideoPlayer); #endinitclip
Symbol 16 MovieClip [FLVPlayback] Frame 1
#initclip 12 Object.registerClass("FLVPlayback", mx.video.FLVPlayback); #endinitclip stop();
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 78
stop();
Symbol 72 Button
on (release) { _root.play(); _level0.play(); }
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 60
stop();
Instance of Symbol 73 MovieClip in Symbol 74 MovieClip Frame 60
onClipEvent (enterFrame) { if (this._alpha <= 100) { this._alpha = this._alpha + 2.5; } }
Symbol 8 MovieClip [__Packages.mx.video.FLVPlayback] Frame 0
class mx.video.FLVPlayback extends MovieClip { var _autoPlay, _autoRewind, _autoSize, _bufferTime, _contentPath, _cuePoints, _idleTimeout, _isLive, _aspectRatio, _seekToPrevOffset, _playheadUpdateInterval, _progressInterval, _totalTime, _transform, _volume, _skinAutoHide, _bufferingBarHides, _origHeight, _prevHeight, __height, _height, _origWidth, _prevWidth, __width, _width, _scaleX, _scaleY, _xscale, _yscale, _preSeekTime, _firstStreamReady, _firstStreamShown, _activeVP, _visibleVP, _topVP, _vp, _vpState, _cpMgr, boundingBox_mc, preview_mc, dispatchEvent, _uiMgr, _bufferingBar, _backButton, __get__cuePoints, _forwardButton, _muteButton, _pauseButton, _playButton, _playPauseButton, _seekBar, _seekBarInterval, _seekBarScrubTolerance, _skin, _stopButton, _visible, _volumeBar, _volumeBarInterval, _volumeBarScrubTolerance, _x, _y, attachMovie, createEmptyMovieClip; function FLVPlayback () { super(); mx.events.EventDispatcher.initialize(this); if (_autoPlay == undefined) { _autoPlay = true; } if (_autoRewind == undefined) { _autoRewind = true; } if (_autoSize == undefined) { _autoSize = false; } if (_bufferTime == undefined) { _bufferTime = 0.1; } if (_contentPath == undefined) { _contentPath = ""; } if (_cuePoints == undefined) { _cuePoints = null; } if (_idleTimeout == undefined) { _idleTimeout = mx.video.VideoPlayer.DEFAULT_IDLE_TIMEOUT_INTERVAL; } if (_isLive == undefined) { _isLive = false; } if (_aspectRatio == undefined) { _aspectRatio = true; } if (_seekToPrevOffset == undefined) { _seekToPrevOffset = SEEK_TO_PREV_OFFSET_DEFAULT; } if (_playheadUpdateInterval == undefined) { _playheadUpdateInterval = mx.video.VideoPlayer.DEFAULT_UPDATE_PROGRESS_INTERVAL; } if (_progressInterval == undefined) { _progressInterval = mx.video.VideoPlayer.DEFAULT_UPDATE_TIME_INTERVAL; } if (_totalTime == undefined) { _totalTime = 0; } if (_transform == undefined) { _transform = null; } if (_volume == undefined) { _volume = 100; } if (_skinAutoHide == undefined) { _skinAutoHide = false; } if (_bufferingBarHides == undefined) { _bufferingBarHides = false; } _origHeight = (_prevHeight = (__height = _height)); _origWidth = (_prevWidth = (__width = _width)); _scaleX = 100; _scaleY = 100; _xscale = 100; _yscale = 100; _preSeekTime = -1; _firstStreamReady = false; _firstStreamShown = false; createUIManager(); _activeVP = 0; _visibleVP = 0; _topVP = 0; _vp = new Array(); _vpState = new Array(); _cpMgr = new Array(); createVideoPlayer(0); _vp[0].visible = false; _vp[0].volume = 0; boundingBox_mc._visible = false; boundingBox_mc.unloadMovie(); delete boundingBox_mc; if (_global.isLivePreview) { createLivePreviewMovieClip(); setSize(__width, __height); } _cpMgr[0].processCuePointsProperty(_cuePoints); delete _cuePoints; _cuePoints = null; } function setSize(w, h) { if (_global.isLivePreview) { if (preview_mc == undefined) { createLivePreviewMovieClip(); } preview_mc.box_mc._width = w; preview_mc.box_mc._height = h; if ((preview_mc.box_mc._width < preview_mc.icon_mc._width) || (preview_mc.box_mc._height < preview_mc.icon_mc._height)) { preview_mc.icon_mc._visible = false; } else { preview_mc.icon_mc._visible = true; preview_mc.icon_mc._x = (preview_mc.box_mc._width - preview_mc.icon_mc._width) / 2; preview_mc.icon_mc._y = (preview_mc.box_mc._height - preview_mc.icon_mc._height) / 2; } } if ((w == width) && (h == height)) { return(undefined); } _prevWidth = (__width = w); _prevHeight = (__height = h); var _local3 = 0; while (_local3 < _vp.length) { if (_vp[_local3] != undefined) { _vp[_local3].setSize(w, h); } _local3++; } dispatchEvent({type:"resize", x:x, y:y, width:w, height:h}); } function setScale(xs, ys) { if ((xs == scaleX) && (ys == scaleY)) { return(undefined); } _scaleX = xs; _scaleY = ys; var _local2 = 0; while (_local2 < _vp.length) { if (_vp[_local2] != undefined) { _vp[_local2].setSize((_origWidth * xs) / 100, (_origHeight * ys) / 100); } _local2++; } dispatchEvent({type:"resize", x:x, y:y, width:width, height:height}); } function handleEvent(e) { var _local3 = e.state; if (((e.state != undefined) && (e.target._name == _visibleVP)) && (scrubbing)) { _local3 = SEEKING; } if (e.type == "metadataReceived") { _cpMgr[e.target._name].processFLVCuePoints(e.info.cuePoints); dispatchEvent({type:e.type, info:e.info, vp:e.target._name}); } else if (e.type == "cuePoint") { if (_cpMgr[e.target._name].isFLVCuePointEnabled(e.info)) { dispatchEvent({type:e.type, info:e.info, vp:e.target._name}); } } else if (e.type == "rewind") { dispatchEvent({type:e.type, auto:true, state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); _cpMgr[e.target._name].resetASCuePointIndex(e.playheadTime); } else if (e.type == "resize") { dispatchEvent({type:e.type, x:x, y:y, width:width, height:height, auto:true, vp:e.target._name}); _prevWidth = __width; _prevHeight = __height; } else if (e.type == "playheadUpdate") { dispatchEvent({type:e.type, state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); if ((_preSeekTime >= 0) && (e.target.state != SEEKING)) { var _local5 = _preSeekTime; _preSeekTime = -1; _cpMgr[e.target._name].resetASCuePointIndex(e.playheadTime); dispatchEvent({type:"seek", state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); if (_local5 < e.playheadTime) { dispatchEvent({type:"fastForward", state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); } else if (_local5 > e.playheadTime) { dispatchEvent({type:"rewind", auto:false, state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); } } _cpMgr[e.target._name].dispatchASCuePoints(); } else if (e.type == "stateChange") { var _local4 = e.target._name; if ((_local4 == _visibleVP) && (scrubbing)) { return(undefined); } if (e.state == mx.video.VideoPlayer.RESIZING) { return(undefined); } if (((_vpState[_local4].prevState == LOADING) && (_vpState[_local4].autoPlay)) && (e.state == STOPPED)) { return(undefined); } _vpState[_local4].prevState = e.state; dispatchEvent({type:e.type, state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); if (_vp[e.target._name].state != _local3) { return(undefined); } switch (_local3) { case BUFFERING : dispatchEvent({type:"buffering", state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); break; case PAUSED : dispatchEvent({type:"paused", state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); break; case PLAYING : dispatchEvent({type:"playing", state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); break; case STOPPED : dispatchEvent({type:"stopped", state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); } } else if (e.type == "progress") { dispatchEvent({type:e.type, bytesLoaded:e.bytesLoaded, bytesTotal:e.bytesTotal, vp:e.target._name}); } else if (e.type == "ready") { var _local4 = e.target._name; if (!_firstStreamReady) { if (_local4 == _visibleVP) { _firstStreamReady = true; if (_uiMgr.__get__skinReady() && (!_firstStreamShown)) { _uiMgr.__set__visible(true); showFirstStream(); } } } else if ((_firstStreamShown && (_local3 == STOPPED)) && _vpState[_local4].autoPlay) { _vp[_local4].play(); } dispatchEvent({type:e.type, state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); } else if ((e.type == "close") || (e.type == "complete")) { dispatchEvent({type:e.type, state:_local3, playheadTime:e.playheadTime, vp:e.target._name}); } } function load(contentPath, totalTime, isLive) { if (_vp[_activeVP] == undefined) { return(undefined); } if (((contentPath == undefined) || (contentPath == null)) || (contentPath == "")) { return(undefined); } autoPlay = (false); if (totalTime != undefined) { this.totalTime = (totalTime); } if (isLive != undefined) { this.isLive = (isLive); } this.contentPath = (contentPath); } function play(contentPath, totalTime, isLive) { if (_vp[_activeVP] == undefined) { return(undefined); } if (contentPath == undefined) { _vp[_activeVP].play(); } else { autoPlay = (true); if (totalTime != undefined) { this.totalTime = (totalTime); } if (isLive != undefined) { this.isLive = (isLive); } this.contentPath = (contentPath); } } function pause() { if (_vp[_activeVP] == undefined) { return(undefined); } _vp[_activeVP].pause(); } function stop() { if (_vp[_activeVP] == undefined) { return(undefined); } _vp[_activeVP].stop(); } function seek(time) { if (_vp[_activeVP] == undefined) { return(undefined); } _preSeekTime = playheadTime; _vp[_activeVP].seek(time); } function seekSeconds(time) { seek(time); } function seekPercent(percent) { if (_vp[_activeVP] == undefined) { return(undefined); } if (((((percent < 0) || (percent > 100)) || (_vp[_activeVP].totalTime == undefined)) || (_vp[_activeVP].totalTime == null)) || (_vp[_activeVP].totalTime <= 0)) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_SEEK); } seek((_vp[_activeVP].totalTime * percent) / 100); } function get playheadPercentage() { if (((_vp[_activeVP].totalTime == undefined) || (_vp[_activeVP].totalTime == null)) || (_vp[_activeVP].totalTime <= 0)) { return(undefined); } return((_vp[_activeVP].playheadTime / _vp[_activeVP].totalTime) * 100); } function set playheadPercentage(percent) { seekPercent(percent); //return(playheadPercentage); } function seekToNavCuePoint(timeNameOrCuePoint) { var _local3; switch (typeof(timeNameOrCuePoint)) { case "string" : _local3 = {name:timeNameOrCuePoint}; break; case "number" : _local3 = {time:timeNameOrCuePoint}; break; case "object" : _local3 = timeNameOrCuePoint; } if (((_local3.name == null) || (_local3.name == undefined)) || (typeof(_local3.name) != "string")) { seekToNextNavCuePoint(_local3.time); return(undefined); } if (isNaN(_local3.time)) { _local3.time = 0; } var _local2 = findNearestCuePoint(timeNameOrCuePoint, NAVIGATION); while ((_local2 != null) && ((_local2.time < _local3.time) || (!isFLVCuePointEnabled(_local2)))) { _local2 = findNextCuePointWithName(_local2); } if (_local2 == null) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_SEEK); } seek(_local2.time); } function seekToNextNavCuePoint(time) { if (_vp[_activeVP] == undefined) { return(undefined); } if (isNaN(time) || (time < 0)) { time = _vp[_activeVP].playheadTime + 0.001; } var _local3; _local3 = findNearestCuePoint(time, NAVIGATION); if (_local3 == null) { seek(_vp[_activeVP].totalTime); return(undefined); } var _local2 = _local3.index; if (_local3.time < time) { _local2++; } while ((_local2 < _local3.array.length) && (!isFLVCuePointEnabled(_local3.array[_local2]))) { _local2++; } if (_local2 >= _local3.array.length) { var _local5 = _vp[_activeVP].totalTime; if (_local3.array[_local3.array.length - 1].time > _local5) { _local5 = _local3.array[_local3.array.length - 1]; } seek(_local5); } else { seek(_local3.array[_local2].time); } } function seekToPrevNavCuePoint(time) { if (_vp[_activeVP] == undefined) { return(undefined); } if (isNaN(time) || (time < 0)) { time = _vp[_activeVP].playheadTime; } var _local3 = findNearestCuePoint(time, NAVIGATION); if (_local3 == null) { seek(0); return(undefined); } var _local2 = _local3.index; while ((_local2 >= 0) && ((!isFLVCuePointEnabled(_local3.array[_local2])) || (_local3.array[_local2].time >= (time - _seekToPrevOffset)))) { _local2--; } if (_local2 < 0) { seek(0); } else { seek(_local3.array[_local2].time); } } function addASCuePoint(timeOrCuePoint, name, parameters) { return(_cpMgr[_activeVP].addASCuePoint(timeOrCuePoint, name, parameters)); } function removeASCuePoint(timeNameOrCuePoint) { return(_cpMgr[_activeVP].removeASCuePoint(timeNameOrCuePoint)); } function findCuePoint(timeNameOrCuePoint, type) { switch (type) { case "event" : return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].eventCuePoints, false, timeNameOrCuePoint)); case "navigation" : return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].navCuePoints, false, timeNameOrCuePoint)); case "flv" : return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].flvCuePoints, false, timeNameOrCuePoint)); case "actionscript" : return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].asCuePoints, false, timeNameOrCuePoint)); case "all" : } return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].allCuePoints, false, timeNameOrCuePoint)); } function findNearestCuePoint(timeNameOrCuePoint, type) { switch (type) { case "event" : return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].eventCuePoints, true, timeNameOrCuePoint)); case "navigation" : return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].navCuePoints, true, timeNameOrCuePoint)); case "flv" : return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].flvCuePoints, true, timeNameOrCuePoint)); case "actionscript" : return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].asCuePoints, true, timeNameOrCuePoint)); case "all" : } return(_cpMgr[_activeVP].getCuePoint(_cpMgr[_activeVP].allCuePoints, true, timeNameOrCuePoint)); } function findNextCuePointWithName(cuePoint) { return(_cpMgr[_activeVP].getNextCuePointWithName(cuePoint)); } function setFLVCuePointEnabled(enabled, timeNameOrCuePoint) { return(_cpMgr[_activeVP].setFLVCuePointEnabled(enabled, timeNameOrCuePoint)); } function isFLVCuePointEnabled(timeNameOrCuePoint) { return(_cpMgr[_activeVP].isFLVCuePointEnabled(timeNameOrCuePoint)); } function getNextHighestDepth() { var _local2 = super.getNextHighestDepth(); return(((_local2 < 1000) ? 1000 : (_local2))); } function bringVideoPlayerToFront(index) { if ((index == _topVP) || (_vp[index] == undefined)) { return(undefined); } _vp[_topVP].swapDepths(_vp[index].getDepth()); _topVP = index; } function getVideoPlayer(index) { return(_vp[index]); } function closeVideoPlayer(index) { if (_vp[index] == undefined) { return(undefined); } if (index == 0) { throw new mx.video.VideoError(mx.video.VideoError.DELETE_DEFAULT_PLAYER); } if (_visibleVP == index) { visibleVideoPlayerIndex = (0); } if (_activeVP == index) { activeVideoPlayerIndex = (0); } _vp[index].close(); _vp[index].unloadMovie(); delete _vp[index]; _vp[index] = undefined; } function get activeVideoPlayerIndex() { return(_activeVP); } function set activeVideoPlayerIndex(i) { if (_activeVP == i) { return; } if (_vp[_activeVP].onEnterFrame != undefined) { doContentPathConnect(); } _activeVP = i; if (_vp[_activeVP] == undefined) { createVideoPlayer(_activeVP); _vp[_activeVP].visible = false; _vp[_activeVP].volume = 0; } //return(activeVideoPlayerIndex); } function get autoPlay() { if (_vpState[_activeVP] == undefined) { return(_autoPlay); } return(_vpState[_activeVP].autoPlay); } function set autoPlay(flag) { if ((_activeVP == 0) || (_activeVP == undefined)) { _autoPlay = flag; } _vpState[_activeVP].autoPlay = flag; //return(autoPlay); } function get autoRewind() { if (_vp[_activeVP] == undefined) { return(_autoRewind); } return(_vp[_activeVP].autoRewind); } function set autoRewind(flag) { if ((_activeVP == 0) || (_activeVP == undefined)) { _autoRewind = flag; } _vp[_activeVP].autoRewind = flag; //return(autoRewind); } function get autoSize() { if (_vp[_activeVP] == undefined) { return(_autoSize); } return(_vp[_activeVP].autoSize); } function set autoSize(flag) { if ((_activeVP == 0) || (_activeVP == undefined)) { _autoSize = flag; } _vp[_activeVP].autoSize = flag; //return(autoSize); } function get bitrate() { return(ncMgr.getBitrate()); } function set bitrate(b) { ncMgr.setBitrate(b); //return(bitrate); } function get buffering() { if (_vp[_activeVP] == undefined) { return(false); } return(_vp[_activeVP].state == BUFFERING); } function get bufferingBar() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _bufferingBar = _uiMgr.getControl(mx.video.UIManager.BUFFERING_BAR); } return(_bufferingBar); } function set bufferingBar(s) { _bufferingBar = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.BUFFERING_BAR, s); } //return(bufferingBar); } function get bufferingBarHidesAndDisablesOthers() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _bufferingBarHides = _uiMgr.bufferingBarHidesAndDisablesOthers; } return(_bufferingBarHides); } function set bufferingBarHidesAndDisablesOthers(b) { _bufferingBarHides = b; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.__set__bufferingBarHidesAndDisablesOthers(b); } //return(bufferingBarHidesAndDisablesOthers); } function get backButton() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _backButton = _uiMgr.getControl(mx.video.UIManager.BACK_BUTTON); } return(_backButton); } function set backButton(s) { _backButton = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.BACK_BUTTON, s); } //return(backButton); } function get bufferTime() { if (_vp[_activeVP] == undefined) { return(_bufferTime); } return(_vp[_activeVP].bufferTime); } function set bufferTime(aTime) { if ((_activeVP == 0) || (_activeVP == undefined)) { _bufferTime = aTime; } _vp[_activeVP].bufferTime = aTime; //return(bufferTime); } function get bytesLoaded() { return(_vp[_activeVP].bytesLoaded); } function get bytesTotal() { return(_vp[_activeVP].bytesTotal); } function get contentPath() { if ((_vp[_activeVP] == undefined) || (_vp[_activeVP].onEnterFrame != undefined)) { return(_contentPath); } return(_vp[_activeVP].url); } function set contentPath(url) { if (_global.isLivePreview) { return; } if (_vp[_activeVP] == undefined) { if (url == _contentPath) { return; } _contentPath = url; } else { if (_vp[_activeVP].url == url) { return; } _vpState[_activeVP].minProgressPercent = undefined; if (_vp[_activeVP].onEnterFrame != undefined) { delete _vp[_activeVP].onEnterFrame; _vp[_activeVP].onEnterFrame = undefined; } _cpMgr[_activeVP].reset(); if (_vpState[_activeVP].autoPlay && (_firstStreamShown)) { _vp[_activeVP].play(url, _vpState[_activeVP].isLive, _vpState[_activeVP].totalTime); } else { _vp[_activeVP].load(url, _vpState[_activeVP].isLive, _vpState[_activeVP].totalTime); } _vpState[_activeVP].isLiveSet = false; _vpState[_activeVP].totalTimeSet = false; } //return(contentPath); } function set cuePoints(cp) { if (_cuePoints != undefined) { return; } _cuePoints = cp; //return(__get__cuePoints()); } function get forwardButton() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _forwardButton = _uiMgr.getControl(mx.video.UIManager.FORWARD_BUTTON); } return(_forwardButton); } function set forwardButton(s) { _forwardButton = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.FORWARD_BUTTON, s); } //return(forwardButton); } function get height() { if (_global.isLivePreview) { return(__height); } if (_vp[_visibleVP] != undefined) { __height = _vp[_visibleVP].height; } return(__height); } function set height(h) { setSize(width, h); //return(height); } function get idleTimeout() { if (_vp[_activeVP] == undefined) { return(_idleTimeout); } return(_vp[_activeVP].idleTimeout); } function set idleTimeout(aTime) { if ((_activeVP == 0) || (_activeVP == undefined)) { _idleTimeout = aTime; } _vp[_activeVP].idleTimeout = aTime; //return(idleTimeout); } function get isRTMP() { if (_global.isLivePreview) { return(true); } if (_vp[_activeVP] == undefined) { return(undefined); } return(_vp[_activeVP].isRTMP); } function get isLive() { if (_vp[_activeVP] == undefined) { return(_isLive); } if (_vpState[_activeVP].isLiveSet) { return(_vpState[_activeVP].isLive); } return(_vp[_activeVP].isLive); } function set isLive(flag) { if ((_activeVP == 0) || (_activeVP == undefined)) { _isLive = flag; } _vpState[_activeVP].isLive = flag; _vpState[_activeVP].isLiveSet = true; //return(isLive); } function get maintainAspectRatio() { if (_vp[_activeVP] == undefined) { return(_aspectRatio); } return(_vp[_activeVP].maintainAspectRatio); } function set maintainAspectRatio(flag) { if ((_activeVP == 0) || (_activeVP == undefined)) { _aspectRatio = flag; } _vp[_activeVP].maintainAspectRatio = flag; //return(maintainAspectRatio); } function get metadata() { if (_vp[_activeVP] == undefined) { return(null); } return(_vp[_activeVP].metadata); } function get metadataLoaded() { if (_vp[_activeVP] == undefined) { return(false); } return(_cpMgr[_activeVP].metadataLoaded); } function get muteButton() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _muteButton = _uiMgr.getControl(mx.video.UIManager.MUTE_BUTTON); } return(_muteButton); } function set muteButton(s) { _muteButton = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.MUTE_BUTTON, s); } //return(muteButton); } function get ncMgr() { if (_vp[_activeVP] == undefined) { return(null); } return(_vp[_activeVP].ncMgr); } function get pauseButton() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _pauseButton = _uiMgr.getControl(mx.video.UIManager.PAUSE_BUTTON); } return(_pauseButton); } function set pauseButton(s) { _pauseButton = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.PAUSE_BUTTON, s); } //return(pauseButton); } function get paused() { if (_vp[_activeVP] == undefined) { return(false); } return(_vp[_activeVP].state == PAUSED); } function get playButton() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _playButton = _uiMgr.getControl(mx.video.UIManager.PLAY_BUTTON); } return(_playButton); } function set playButton(s) { _playButton = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.PLAY_BUTTON, s); } //return(playButton); } function get playheadTime() { if (_vp[_activeVP] == undefined) { return(0); } return(_vp[_activeVP].playheadTime); } function set playheadTime(position) { seek(position); //return(playheadTime); } function get playheadUpdateInterval() { if (_vp[_activeVP] == undefined) { return(_playheadUpdateInterval); } return(_vp[_activeVP].playheadUpdateInterval); } function set playheadUpdateInterval(aTime) { if ((_activeVP == 0) || (_activeVP == undefined)) { _playheadUpdateInterval = aTime; } _cpMgr[_activeVP].playheadUpdateInterval = aTime; _vp[_activeVP].playheadUpdateInterval = aTime; //return(playheadUpdateInterval); } function get playing() { if (_vp[_activeVP] == undefined) { return(false); } return(_vp[_activeVP].state == PLAYING); } function get playPauseButton() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _playPauseButton = _uiMgr.getControl(mx.video.UIManager.PLAY_PAUSE_BUTTON); } return(_playPauseButton); } function set playPauseButton(s) { _playPauseButton = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.PLAY_PAUSE_BUTTON, s); } //return(playPauseButton); } function get preferredHeight() { if (_vp[_activeVP] == undefined) { return(0); } return(_vp[_activeVP].videoHeight); } function get preferredWidth() { if (_vp[_activeVP] == undefined) { return(0); } return(_vp[_activeVP].videoWidth); } function get progressInterval() { if (_vp[_activeVP] == undefined) { return(_progressInterval); } return(_vp[_activeVP].progressInterval); } function set progressInterval(aTime) { if ((_activeVP == 0) || (_activeVP == undefined)) { _progressInterval = aTime; } _vp[_activeVP].progressInterval = aTime; //return(progressInterval); } function get scaleX() { if (_vp[_visibleVP] != undefined) { _scaleX = (_vp[_visibleVP].width / _origWidth) * 100; } return(_scaleX); } function set scaleX(xs) { setScale(xs, scaleY); //return(scaleX); } function get scaleY() { if (_vp[_visibleVP] != undefined) { _scaleY = (_vp[_visibleVP].height / _origHeight) * 100; } return(_scaleY); } function set scaleY(ys) { setScale(scaleX, ys); //return(scaleY); } function get scrubbing() { var _local2 = seekBar; if ((_local2 == undefined) || (_local2.isDragging == undefined)) { return(false); } return(_local2.isDragging); } function get seekBar() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _seekBar = _uiMgr.getControl(mx.video.UIManager.SEEK_BAR); } return(_seekBar); } function set seekBar(s) { _seekBar = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.SEEK_BAR, s); } //return(seekBar); } function get seekBarInterval() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _seekBarInterval = _uiMgr.seekBarInterval; } return(_seekBarInterval); } function set seekBarInterval(s) { _seekBarInterval = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.__set__seekBarInterval(_seekBarInterval); } //return(seekBarInterval); } function get seekBarScrubTolerance() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _seekBarScrubTolerance = _uiMgr.seekBarScrubTolerance; } return(_seekBarScrubTolerance); } function set seekBarScrubTolerance(s) { _seekBarScrubTolerance = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.__set__seekBarScrubTolerance(_seekBarScrubTolerance); } //return(seekBarScrubTolerance); } function get seekToPrevOffset() { return(_seekToPrevOffset); } function set seekToPrevOffset(s) { _seekToPrevOffset = s; //return(seekToPrevOffset); } function get skin() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _skin = _uiMgr.skin; } return(_skin); } function set skin(s) { _skin = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.__set__skin(s); } //return(skin); } function get skinAutoHide() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _skinAutoHide = _uiMgr.skinAutoHide; } return(_skinAutoHide); } function set skinAutoHide(b) { if (_global.isLivePreview) { return; } _skinAutoHide = b; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.__set__skinAutoHide(b); } //return(skinAutoHide); } function get transform() { return(_transform); } function set transform(s) { _transform = s; if (_vp[_activeVP] != undefined) { _vp[_activeVP].transform = _transform; } //return(transform); } function get state() { if (_global.isLivePreview) { return(STOPPED); } if (_vp[_activeVP] == undefined) { return(DISCONNECTED); } if ((_activeVP == _visibleVP) && (scrubbing)) { return(SEEKING); } var _local3 = _vp[_activeVP].state; if (_local3 == mx.video.VideoPlayer.RESIZING) { return(LOADING); } if (((_vpState[_activeVP].prevState == LOADING) && (_vpState[_activeVP].autoPlay)) && (_local3 == STOPPED)) { return(LOADING); } return(_local3); } function get stateResponsive() { if (_vp[_activeVP] == undefined) { return(false); } return(_vp[_activeVP].stateResponsive); } function get stopButton() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _stopButton = _uiMgr.getControl(mx.video.UIManager.STOP_BUTTON); } return(_stopButton); } function set stopButton(s) { _stopButton = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.STOP_BUTTON, s); } //return(stopButton); } function get stopped() { if (_vp[_activeVP] == undefined) { return(false); } return(_vp[_activeVP].state == STOPPED); } function get totalTime() { if (_global.isLivePreview) { return(1); } if (_vp[_activeVP] == undefined) { return(_totalTime); } if (_vpState[_activeVP].totalTimeSet) { return(_vpState[_activeVP].totalTime); } return(_vp[_activeVP].totalTime); } function set totalTime(aTime) { if ((_activeVP == 0) || (_activeVP == undefined)) { _totalTime = aTime; } _vpState[_activeVP].totalTime = aTime; _vpState[_activeVP].totalTimeSet = true; //return(totalTime); } function get visible() { return(_visible); } function set visible(v) { _visible = v; //return(visible); } function get visibleVideoPlayerIndex() { return(_visibleVP); } function set visibleVideoPlayerIndex(i) { if (_visibleVP == i) { return; } var _local2 = _visibleVP; if (_vp[i] == undefined) { createVideoPlayer(i); } var _local5 = (_vp[i].height != _vp[_visibleVP].height) || (_vp[i].width != _vp[_visibleVP].width); _vp[_visibleVP].visible = false; _vp[_visibleVP].volume = 0; _visibleVP = i; if (_firstStreamShown) { _uiMgr.setupSkinAutoHide(_local2); _vp[_visibleVP].visible = true; if (!scrubbing) { _vp[_visibleVP].volume = _volume; } } else if ((_vp[_visibleVP].stateResponsive && (_vp[_visibleVP].state != DISCONNECTED)) && (_uiMgr.__get__skinReady())) { _uiMgr.__set__visible(true); _uiMgr.setupSkinAutoHide(_local2); _firstStreamReady = true; showFirstStream(); } if ((_vp[_local2].height != _vp[_visibleVP].height) || (_vp[_local2].width != _vp[_visibleVP].width)) { dispatchEvent({type:"resize", x:x, y:y, width:width, height:height, auto:false, vp:_visibleVP}); } _uiMgr.handleEvent({type:"stateChange", state:_vp[_visibleVP].state, vp:_visibleVP}); _uiMgr.handleEvent({type:"playheadUpdate", playheadTime:_vp[_visibleVP].playheadTime, vp:_visibleVP}); if (_vp[_visibleVP].isRTMP) { _uiMgr.handleEvent({type:"ready", vp:_visibleVP}); } else { _uiMgr.handleEvent({type:"progress", bytesLoaded:_vp[_visibleVP].bytesLoaded, bytesTotal:_vp[_visibleVP].bytesTotal, vp:_visibleVP}); } //return(visibleVideoPlayerIndex); } function get volume() { return(_volume); } function set volume(aVol) { if (_volume == aVol) { return; } _volume = aVol; if (!scrubbing) { _vp[_visibleVP].volume = _volume; } dispatchEvent({type:"volumeUpdate", volume:aVol}); //return(volume); } function get volumeBar() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _volumeBar = _uiMgr.getControl(mx.video.UIManager.VOLUME_BAR); } return(_volumeBar); } function set volumeBar(s) { _volumeBar = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.setControl(mx.video.UIManager.VOLUME_BAR, s); } //return(volumeBar); } function get volumeBarInterval() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _volumeBarInterval = _uiMgr.volumeBarInterval; } return(_volumeBarInterval); } function set volumeBarInterval(s) { _volumeBarInterval = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.__set__volumeBarInterval(_volumeBarInterval); } //return(volumeBarInterval); } function get volumeBarScrubTolerance() { if ((_uiMgr != null) && (_uiMgr != undefined)) { _volumeBarScrubTolerance = _uiMgr.volumeBarScrubTolerance; } return(_volumeBarScrubTolerance); } function set volumeBarScrubTolerance(s) { _volumeBarScrubTolerance = s; if ((_uiMgr != null) && (_uiMgr != undefined)) { _uiMgr.__set__volumeBarScrubTolerance(_volumeBarScrubTolerance); } //return(volumeBarScrubTolerance); } function get width() { if (_global.isLivePreview) { return(__width); } if (_vp[_visibleVP] != undefined) { __width = _vp[_visibleVP].width; } return(__width); } function set width(w) { setSize(w, height); //return(width); } function get x() { return(_x); } function set x(xpos) { _x = xpos; //return(x); } function get y() { return(_y); } function set y(ypos) { _y = ypos; //return(y); } function createVideoPlayer(index) { if (_global.isLivePreview) { return(undefined); } var _local4 = width; var _local5 = height; _vp[index] = mx.video.VideoPlayer(attachMovie("VideoPlayer", String(index), VP_DEPTH_OFFSET + index)); _vp[index].setSize(_local4, _local5); _topVP = index; _vp[index].autoRewind = _autoRewind; _vp[index].autoSize = _autoSize; _vp[index].bufferTime = _bufferTime; _vp[index].idleTimeout = _idleTimeout; _vp[index].maintainAspectRatio = _aspectRatio; _vp[index].playheadUpdateInterval = _playheadUpdateInterval; _vp[index].progressInterval = _progressInterval; _vp[index].transform = _transform; _vp[index].volume = _volume; if (index == 0) { _vpState[index] = {id:index, isLive:_isLive, isLiveSet:true, totalTime:_totalTime, totalTimeSet:true, autoPlay:_autoPlay}; if (((_contentPath != null) && (_contentPath != undefined)) && (_contentPath != "")) { _vp[index].onEnterFrame = mx.utils.Delegate.create(this, doContentPathConnect); } } else { _vpState[index] = {id:index, isLive:false, isLiveSet:true, totalTime:0, totalTimeSet:true, autoPlay:false}; } _vp[index].addEventListener("resize", this); _vp[index].addEventListener("close", this); _vp[index].addEventListener("complete", this); _vp[index].addEventListener("cuePoint", this); _vp[index].addEventListener("playheadUpdate", this); _vp[index].addEventListener("progress", this); _vp[index].addEventListener("metadataReceived", this); _vp[index].addEventListener("stateChange", this); _vp[index].addEventListener("ready", this); _vp[index].addEventListener("rewind", this); _cpMgr[index] = new mx.video.CuePointManager(this, index); _cpMgr[index].playheadUpdateInterval = _playheadUpdateInterval; } function createUIManager() { _uiMgr = new mx.video.UIManager(this); _uiMgr.__set__visible(false); if ((_backButton != undefined) && (_backButton != null)) { _uiMgr.setControl(mx.video.UIManager.BACK_BUTTON, _backButton); } if ((_bufferingBar != undefined) && (_bufferingBar != null)) { _uiMgr.setControl(mx.video.UIManager.BUFFERING_BAR, _bufferingBar); } _uiMgr.__set__bufferingBarHidesAndDisablesOthers(_bufferingBarHides); if ((_forwardButton != undefined) && (_forwardButton != null)) { _uiMgr.setControl(mx.video.UIManager.FORWARD_BUTTON, _forwardButton); } if ((_pauseButton != undefined) && (_pauseButton != null)) { _uiMgr.setControl(mx.video.UIManager.PAUSE_BUTTON, _pauseButton); } if ((_playButton != undefined) && (_playButton != null)) { _uiMgr.setControl(mx.video.UIManager.PLAY_BUTTON, _playButton); } if ((_playPauseButton != undefined) && (_playPauseButton != null)) { _uiMgr.setControl(mx.video.UIManager.PLAY_PAUSE_BUTTON, _playPauseButton); } if ((_stopButton != undefined) && (_stopButton != null)) { _uiMgr.setControl(mx.video.UIManager.STOP_BUTTON, _stopButton); } if ((_seekBar != undefined) && (_seekBar != null)) { _uiMgr.setControl(mx.video.UIManager.SEEK_BAR, _seekBar); } if ((_seekBarInterval != undefined) && (_seekBarInterval != null)) { _uiMgr.__set__seekBarInterval(_seekBarInterval); } if ((_seekBarScrubTolerance != undefined) && (_seekBarScrubTolerance != null)) { _uiMgr.__set__seekBarScrubTolerance(_seekBarScrubTolerance); } if ((_skin != undefined) && (_skin != null)) { _uiMgr.__set__skin(_skin); } if ((_skinAutoHide != undefined) && (_skinAutoHide != null)) { _uiMgr.__set__skinAutoHide(_skinAutoHide); } if ((_muteButton != undefined) && (_muteButton != null)) { _uiMgr.setControl(mx.video.UIManager.MUTE_BUTTON, _muteButton); } if ((_volumeBar != undefined) && (_volumeBar != null)) { _uiMgr.setControl(mx.video.UIManager.VOLUME_BAR, _volumeBar); } if ((_volumeBarInterval != undefined) && (_volumeBarInterval != null)) { _uiMgr.__set__volumeBarInterval(_volumeBarInterval); } if ((_volumeBarScrubTolerance != undefined) && (_volumeBarScrubTolerance != null)) { _uiMgr.__set__volumeBarScrubTolerance(_volumeBarScrubTolerance); } } function createLivePreviewMovieClip() { preview_mc = createEmptyMovieClip("preview_mc", 10); preview_mc.createEmptyMovieClip("box_mc", 10); preview_mc.box_mc.beginFill(0); preview_mc.box_mc.moveTo(0, 0); preview_mc.box_mc.lineTo(0, 100); preview_mc.box_mc.lineTo(100, 100); preview_mc.box_mc.lineTo(100, 0); preview_mc.box_mc.lineTo(0, 0); preview_mc.box_mc.endFill(); preview_mc.attachMovie("Icon", "icon_mc", 20); } function doContentPathConnect() { delete _vp[0].onEnterFrame; _vp[0].onEnterFrame = undefined; if (_global.isLivePreview) { return(undefined); } if (_vpState[0].autoPlay && (_firstStreamShown)) { _vp[0].play(_contentPath, _isLive, _totalTime); } else { _vp[0].load(_contentPath, _isLive, _totalTime); } _vpState[0].isLiveSet = false; _vpState[0].totalTimeSet = false; } function showFirstStream() { _firstStreamShown = true; _vp[_visibleVP].visible = true; if (!scrubbing) { _vp[_visibleVP].volume = _volume; } var _local2 = 0; while (_local2 < _vp.length) { if (((_vp[_local2] != undefined) && (_vp[_local2].state == STOPPED)) && (_vpState[_local2].autoPlay)) { _vp[_local2].play(); } _local2++; } } function _scrubStart() { var _local2 = playheadTime; _vp[_visibleVP].volume = 0; dispatchEvent({type:"stateChange", state:SEEKING, playheadTime:_local2, vp:_visibleVP}); dispatchEvent({type:"scrubStart", state:SEEKING, playheadTime:_local2}); } function _scrubFinish() { var _local3 = playheadTime; var _local2 = state; _vp[_visibleVP].volume = _volume; if (_local2 != SEEKING) { dispatchEvent({type:"stateChange", state:_local2, playheadTime:_local3, vp:_visibleVP}); } dispatchEvent({type:"scrubFinish", state:_local2, playheadTime:_local3}); } function skinError(message) { if (_firstStreamReady && (!_firstStreamShown)) { showFirstStream(); } dispatchEvent({type:"skinError", message:message}); } function skinLoaded() { if (_firstStreamReady) { _uiMgr.__set__visible(true); if (!_firstStreamShown) { showFirstStream(); } } else if (((_contentPath == undefined) || (_contentPath == null)) || (_contentPath == "")) { _uiMgr.__set__visible(true); } dispatchEvent({type:"skinLoaded"}); } static var version = "1.0.0.103"; static var DISCONNECTED = "disconnected"; static var STOPPED = "stopped"; static var PLAYING = "playing"; static var PAUSED = "paused"; static var BUFFERING = "buffering"; static var LOADING = "loading"; static var CONNECTION_ERROR = "connectionError"; static var REWINDING = "rewinding"; static var SEEKING = "seeking"; static var ALL = "all"; static var EVENT = "event"; static var NAVIGATION = "navigation"; static var FLV = "flv"; static var ACTIONSCRIPT = "actionscript"; static var VP_DEPTH_OFFSET = 100; static var SEEK_TO_PREV_OFFSET_DEFAULT = 1; }
Symbol 17 MovieClip [__Packages.mx.video.VideoPlayer] Frame 0
class mx.video.VideoPlayer extends MovieClip { var _state, _cachedState, _bufferState, _cachedPlayheadTime, _metadata, _startingPlay, _invalidSeekTime, _invalidSeekRecovery, _currentPos, _atEnd, _cmdQueue, _readyDispatched, _autoResizeDone, _lastUpdateTime, _sawSeekNotify, _updateTimeIntervalID, _updateTimeInterval, _updateProgressIntervalID, _updateProgressInterval, _idleTimeoutIntervalID, _idleTimeoutInterval, _autoResizeIntervalID, _rtmpDoStopAtEndIntervalID, _rtmpDoSeekIntervalID, _httpDoSeekIntervalID, _httpDoSeekCount, _finishAutoResizeIntervalID, _delayedBufferingIntervalID, _delayedBufferingInterval, _isLive, _autoSize, _aspectRatio, _autoPlay, _autoRewind, _bufferTime, _volume, _sound, __visible, _hiddenForResize, _hiddenForResizeMetadataDelay, _contentPath, _video, _ncMgr, _ns, attachAudio, _prevVideoWidth, _prevVideoHeight, _streamLength, _videoWidth, _videoHeight, dispatchEvent, _x, _y, _visible, _hiddenRewindPlayheadTime, ncMgrClassName, _height, _width; function VideoPlayer () { super(); mx.events.EventDispatcher.initialize(this); _state = DISCONNECTED; _cachedState = _state; _bufferState = BUFFER_EMPTY; _cachedPlayheadTime = 0; _metadata = null; _startingPlay = false; _invalidSeekTime = false; _invalidSeekRecovery = false; _currentPos = 0; _atEnd = false; _cmdQueue = new Array(); _readyDispatched = false; _autoResizeDone = false; _lastUpdateTime = -1; _sawSeekNotify = false; _updateTimeIntervalID = 0; _updateTimeInterval = DEFAULT_UPDATE_TIME_INTERVAL; _updateProgressIntervalID = 0; _updateProgressInterval = DEFAULT_UPDATE_PROGRESS_INTERVAL; _idleTimeoutIntervalID = 0; _idleTimeoutInterval = DEFAULT_IDLE_TIMEOUT_INTERVAL; _autoResizeIntervalID = 0; _rtmpDoStopAtEndIntervalID = 0; _rtmpDoSeekIntervalID = 0; _httpDoSeekIntervalID = 0; _httpDoSeekCount = 0; _finishAutoResizeIntervalID = 0; _delayedBufferingIntervalID = 0; _delayedBufferingInterval = HTTP_DELAYED_BUFFERING_INTERVAL; if (_isLive == undefined) { _isLive = false; } if (_autoSize == undefined) { _autoSize = false; } if (_aspectRatio == undefined) { _aspectRatio = true; } if (_autoPlay == undefined) { _autoPlay = true; } if (_autoRewind == undefined) { _autoRewind = true; } if (_bufferTime == undefined) { _bufferTime = 0.1; } if (_volume == undefined) { _volume = 100; } _sound = new Sound(this); _sound.setVolume(_volume); __visible = true; _hiddenForResize = false; _hiddenForResizeMetadataDelay = 0; _contentPath = ""; } function setSize(w, h) { if (((w == _video._width) && (h == _video._height)) || (_autoSize)) { return(undefined); } _video._width = w; _video._height = h; if (_aspectRatio) { startAutoResize(); } } function setScale(xs, ys) { if (((xs == _video._xscale) && (ys == _video._yscale)) || (_autoSize)) { return(undefined); } _video._xscale = xs; _video._yscale = ys; if (_aspectRatio) { startAutoResize(); } } function play(url, isLive, totalTime) { if ((url != null) && (url != undefined)) { if (_state == EXEC_QUEUED_CMD) { _state = _cachedState; } else { if (!stateResponsive) { queueCmd(PLAY, url, isLive, totalTime); return(undefined); } execQueuedCmds(); } _autoPlay = true; _load(url, isLive, totalTime); return(undefined); } if (!isXnOK()) { if (((((_state == CONNECTION_ERROR) || (_ncMgr == null)) || (_ncMgr == undefined)) || (_ncMgr.getNetConnection() == null)) || (_ncMgr.getNetConnection() == undefined)) { throw new mx.video.VideoError(mx.video.VideoError.NO_CONNECTION); // unexpected jump } flushQueuedCmds(); queueCmd(PLAY); setState(LOADING); _cachedState = LOADING; _ncMgr.reconnect(); return(undefined); } if (_state == EXEC_QUEUED_CMD) { _state = _cachedState; } else { if (!stateResponsive) { queueCmd(PLAY); return(undefined); } execQueuedCmds(); } if ((_ns == null) || (_ns == undefined)) { _createStream(); _video.attachVideo(_ns); attachAudio(_ns); } switch (_state) { case BUFFERING : if (_ncMgr.isRTMP()) { _play(0); if (_atEnd) { _atEnd = false; _currentPos = 0; setState(REWINDING); } else if (_currentPos > 0) { _seek(_currentPos); _currentPos = 0; } } case PLAYING : return(undefined); case STOPPED : if (_ncMgr.isRTMP()) { if (_isLive) { _play(-1); setState(BUFFERING); } else { _play(0); if (_atEnd) { _atEnd = false; _currentPos = 0; _state = BUFFERING; setState(REWINDING); } else if (_currentPos > 0) { _seek(_currentPos); _currentPos = 0; setState(BUFFERING); } else { setState(BUFFERING); } } } else { _pause(false); if (_atEnd) { _atEnd = false; _seek(0); _state = BUFFERING; setState(REWINDING); } else if (_bufferState == BUFFER_EMPTY) { setState(BUFFERING); } else { setState(PLAYING); } } break; case PAUSED : _pause(false); if (!_ncMgr.isRTMP()) { if (_bufferState == BUFFER_EMPTY) { setState(BUFFERING); } else { setState(PLAYING); } } else { setState(BUFFERING); } } } function load(url, isLive, totalTime) { if ((url == null) || (url == undefined)) { throw new Error("null url sent to VideoPlayer.load"); } if (_state == EXEC_QUEUED_CMD) { _state = _cachedState; } else { if (!stateResponsive) { queueCmd(LOAD, url, isLive, totalTime); return(undefined); } execQueuedCmds(); } _autoPlay = false; _load(url, isLive, totalTime); } function _load(url, isLive, totalTime) { _prevVideoWidth = videoWidth; if (_prevVideoWidth == undefined) { _prevVideoWidth = _video.width; if (_prevVideoWidth == undefined) { _prevVideoWidth = 0; } } _prevVideoHeight = videoHeight; if (_prevVideoHeight == undefined) { _prevVideoHeight = _video.height; if (_prevVideoHeight == undefined) { _prevVideoHeight = 0; } } _autoResizeDone = false; _cachedPlayheadTime = 0; _bufferState = BUFFER_EMPTY; _metadata = null; _startingPlay = false; _invalidSeekTime = false; _invalidSeekRecovery = false; _isLive = ((isLive == undefined) ? false : (isLive)); _contentPath = url; _currentPos = 0; _streamLength = totalTime; _atEnd = false; _videoWidth = undefined; _videoHeight = undefined; _readyDispatched = false; _lastUpdateTime = -1; _sawSeekNotify = false; clearInterval(_updateTimeIntervalID); _updateTimeIntervalID = 0; clearInterval(_updateProgressIntervalID); _updateProgressIntervalID = 0; clearInterval(_idleTimeoutIntervalID); _idleTimeoutIntervalID = 0; clearInterval(_autoResizeIntervalID); _autoResizeIntervalID = 0; clearInterval(_rtmpDoStopAtEndIntervalID); _rtmpDoStopAtEndIntervalID = 0; clearInterval(_rtmpDoSeekIntervalID); _rtmpDoSeekIntervalID = 0; clearInterval(_httpDoSeekIntervalID); _httpDoSeekIntervalID = 0; clearInterval(_finishAutoResizeIntervalID); _finishAutoResizeIntervalID = 0; clearInterval(_delayedBufferingIntervalID); _delayedBufferingIntervalID = 0; closeNS(false); if ((_ncMgr == null) || (_ncMgr == undefined)) { createINCManager(); } var _local2 = _ncMgr.connectToURL(_contentPath); setState(LOADING); _cachedState = LOADING; if (_local2) { _createStream(); _setUpStream(); } if (!_ncMgr.isRTMP()) { clearInterval(_updateProgressIntervalID); _updateProgressIntervalID = setInterval(this, "doUpdateProgress", _updateProgressInterval); } } function pause() { if (!isXnOK()) { if (((((_state == CONNECTION_ERROR) || (_ncMgr == null)) || (_ncMgr == undefined)) || (_ncMgr.getNetConnection() == null)) || (_ncMgr.getNetConnection() == undefined)) { throw new mx.video.VideoError(mx.video.VideoError.NO_CONNECTION); // unexpected jump } return(undefined); } if (_state == EXEC_QUEUED_CMD) { _state = _cachedState; } else { if (!stateResponsive) { queueCmd(PAUSE); return(undefined); } execQueuedCmds(); } if ((((_state == PAUSED) || (_state == STOPPED)) || (_ns == null)) || (_ns == undefined)) { return(undefined); } _pause(true); setState(PAUSED); } function stop() { if (!isXnOK()) { if (((((_state == CONNECTION_ERROR) || (_ncMgr == null)) || (_ncMgr == undefined)) || (_ncMgr.getNetConnection() == null)) || (_ncMgr.getNetConnection() == undefined)) { throw new mx.video.VideoError(mx.video.VideoError.NO_CONNECTION); // unexpected jump } return(undefined); } if (_state == EXEC_QUEUED_CMD) { _state = _cachedState; } else { if (!stateResponsive) { queueCmd(STOP); return(undefined); } execQueuedCmds(); } if (((_state == STOPPED) || (_ns == null)) || (_ns == undefined)) { return(undefined); } if (_ncMgr.isRTMP()) { if (_autoRewind && (!_isLive)) { _currentPos = 0; _play(0, 0); _state = STOPPED; setState(REWINDING); } else { closeNS(true); setState(STOPPED); } } else { _pause(true); if (_autoRewind) { _seek(0); _state = STOPPED; setState(REWINDING); } else { setState(STOPPED); } } } function seek(time) { if (_invalidSeekTime) { return(undefined); } if (isNaN(time) || (time < 0)) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_SEEK); } if (!isXnOK()) { if (((((_state == CONNECTION_ERROR) || (_ncMgr == null)) || (_ncMgr == undefined)) || (_ncMgr.getNetConnection() == null)) || (_ncMgr.getNetConnection() == undefined)) { throw new mx.video.VideoError(mx.video.VideoError.NO_CONNECTION); // unexpected jump } flushQueuedCmds(); queueCmd(SEEK, null, false, time); setState(LOADING); _cachedState = LOADING; _ncMgr.reconnect(); return(undefined); } if (_state == EXEC_QUEUED_CMD) { _state = _cachedState; } else { if (!stateResponsive) { queueCmd(SEEK, null, false, time); return(undefined); } execQueuedCmds(); } if ((_ns == null) || (_ns == undefined)) { _createStream(); _video.attachVideo(_ns); attachAudio(_ns); } if (_atEnd && (time < playheadTime)) { _atEnd = false; } switch (_state) { case PLAYING : _state = BUFFERING; case BUFFERING : case PAUSED : _seek(time); setState(SEEKING); break; case STOPPED : if (_ncMgr.isRTMP()) { _play(0); _pause(true); } _seek(time); _state = PAUSED; setState(SEEKING); } } function close() { closeNS(true); if (((_ncMgr != null) && (_ncMgr != undefined)) && (_ncMgr.isRTMP())) { _ncMgr.close(); } setState(DISCONNECTED); dispatchEvent({type:"close", state:_state, playheadTime:playheadTime}); } function get x() { return(_x); } function set x(xpos) { _x = xpos; //return(x); } function get y() { return(_y); } function set y(ypos) { _y = ypos; //return(y); } function get scaleX() { return(_video._xscale); } function set scaleX(xs) { setScale(xs, scaleY); //return(scaleX); } function get scaleY() { return(_video._yscale); } function set scaleY(ys) { setScale(scaleX, ys); //return(scaleY); } function get width() { return(_video._width); } function set width(w) { setSize(w, _video._height); //return(width); } function get height() { return(_video._height); } function set height(h) { setSize(_video._width, h); //return(height); } function get videoWidth() { if (_readyDispatched) { _videoWidth = _video.width; } return(_videoWidth); } function get videoHeight() { if (_readyDispatched) { _videoHeight = _video.height; } return(_videoHeight); } function get visible() { if (!_hiddenForResize) { __visible = _visible; } return(__visible); } function set visible(v) { __visible = v; if (!_hiddenForResize) { _visible = __visible; } //return(visible); } function get autoSize() { return(_autoSize); } function set autoSize(flag) { if (_autoSize != flag) { _autoSize = flag; if (_autoSize) { startAutoResize(); } } //return(autoSize); } function get maintainAspectRatio() { return(_aspectRatio); } function set maintainAspectRatio(flag) { if (_aspectRatio != flag) { _aspectRatio = flag; if (_aspectRatio && (!_autoSize)) { startAutoResize(); } } //return(maintainAspectRatio); } function get autoRewind() { return(_autoRewind); } function set autoRewind(flag) { _autoRewind = flag; //return(autoRewind); } function get playheadTime() { var _local2 = (((_ns == null) || (_ns == undefined)) ? (_currentPos) : (_ns.time)); if (_metadata.audiodelay != undefined) { _local2 = _local2 - _metadata.audiodelay; if (_local2 < 0) { _local2 = 0; } } return(_local2); } function set playheadTime(position) { seek(position); //return(playheadTime); } function get url() { return(_contentPath); } function get volume() { return(_volume); } function set volume(aVol) { _volume = aVol; if (!_hiddenForResize) { _sound.setVolume(_volume); } //return(volume); } function get transform() { return(_sound.getTransform()); } function set transform(s) { _sound.setTransform(s); //return(transform); } function get isRTMP() { if ((_ncMgr == null) || (_ncMgr == undefined)) { return(undefined); } return(_ncMgr.isRTMP()); } function get isLive() { return(_isLive); } function get state() { return(_state); } function get stateResponsive() { switch (_state) { case DISCONNECTED : case STOPPED : case PLAYING : case PAUSED : case BUFFERING : return(true); } return(false); } function get bytesLoaded() { if (((_ns == null) || (_ns == undefined)) || (_ncMgr.isRTMP())) { return(-1); } return(_ns.bytesLoaded); } function get bytesTotal() { if (((_ns == null) || (_ns == undefined)) || (_ncMgr.isRTMP())) { return(-1); } return(_ns.bytesTotal); } function get totalTime() { return(_streamLength); } function get bufferTime() { return(_bufferTime); } function set bufferTime(aTime) { _bufferTime = aTime; if ((_ns != null) && (_ns != undefined)) { _ns.setBufferTime(_bufferTime); } //return(bufferTime); } function get idleTimeout() { return(_idleTimeoutInterval); } function set idleTimeout(aTime) { _idleTimeoutInterval = aTime; if (_idleTimeoutIntervalID > 0) { clearInterval(_idleTimeoutIntervalID); _idleTimeoutIntervalID = setInterval(this, "doIdleTimeout", _idleTimeoutInterval); } //return(idleTimeout); } function get playheadUpdateInterval() { return(_updateTimeInterval); } function set playheadUpdateInterval(aTime) { _updateTimeInterval = aTime; if (_updateTimeIntervalID > 0) { clearInterval(_updateTimeIntervalID); _updateTimeIntervalID = setInterval(this, "doUpdateTime", _updateTimeInterval); } //return(playheadUpdateInterval); } function get progressInterval() { return(_updateProgressInterval); } function set progressInterval(aTime) { _updateProgressInterval = aTime; if (_updateProgressIntervalID > 0) { clearInterval(_updateProgressIntervalID); _updateProgressIntervalID = setInterval(this, "doUpdateProgress", _updateProgressInterval); } //return(progressInterval); } function get ncMgr() { if ((_ncMgr == null) || (_ncMgr == undefined)) { createINCManager(); } return(_ncMgr); } function get metadata() { return(_metadata); } function doUpdateTime() { var _local2 = playheadTime; switch (_state) { case STOPPED : case PAUSED : case DISCONNECTED : case CONNECTION_ERROR : clearInterval(_updateTimeIntervalID); _updateTimeIntervalID = 0; } if (_lastUpdateTime != _local2) { dispatchEvent({type:"playheadUpdate", state:_state, playheadTime:_local2}); _lastUpdateTime = _local2; } } function doUpdateProgress() { if ((_ns == null) || (_ns == undefined)) { return(undefined); } if ((_ns.bytesTotal >= 0) && (_ns.bytesTotal >= 0)) { dispatchEvent({type:"progress", bytesLoaded:_ns.bytesLoaded, bytesTotal:_ns.bytesTotal}); } if (((_state == DISCONNECTED) || (_state == CONNECTION_ERROR)) || (_ns.bytesLoaded == _ns.bytesTotal)) { clearInterval(_updateProgressIntervalID); _updateProgressIntervalID = 0; } } function rtmpOnStatus(info) { if (_state == CONNECTION_ERROR) { return(undefined); } switch (info.code) { case "NetStream.Play.Stop" : if (_startingPlay) { return(undefined); } switch (_state) { case RESIZING : if (_hiddenForResize) { finishAutoResize(); } break; case LOADING : case STOPPED : case PAUSED : break; default : if ((_bufferState == BUFFER_EMPTY) || (_bufferTime <= 0.1)) { _cachedPlayheadTime = playheadTime; clearInterval(_rtmpDoStopAtEndIntervalID); _rtmpDoStopAtEndIntervalID = setInterval(this, "rtmpDoStopAtEnd", RTMP_DO_STOP_AT_END_INTERVAL); } else { if (_bufferState != BUFFER_FULL) { break; } _bufferState = BUFFER_FULL_SAW_PLAY_STOP; } } break; case "NetStream.Buffer.Empty" : switch (_bufferState) { case BUFFER_FULL_SAW_PLAY_STOP : rtmpDoStopAtEnd(true); break; case BUFFER_FULL : if (_state == PLAYING) { setState(BUFFERING); } break; } _bufferState = BUFFER_EMPTY; break; case "NetStream.Buffer.Flush" : case "NetStream.Buffer.Full" : if (_sawSeekNotify && (_state == SEEKING)) { _bufferState = BUFFER_EMPTY; setStateFromCachedState(); doUpdateTime(); } switch (_bufferState) { case BUFFER_EMPTY : if (!_hiddenForResize) { if (((_state == LOADING) && (_cachedState == PLAYING)) || (_state == BUFFERING)) { setState(PLAYING); } else if (_cachedState == BUFFERING) { _cachedState = PLAYING; } } _bufferState = BUFFER_FULL; break; default : } break; case "NetStream.Pause.Notify" : if ((_state == RESIZING) && (_hiddenForResize)) { finishAutoResize(); } break; case "NetStream.Play.Start" : clearInterval(_rtmpDoStopAtEndIntervalID); _rtmpDoStopAtEndIntervalID = 0; _bufferState = BUFFER_EMPTY; if (_startingPlay) { _startingPlay = false; _cachedPlayheadTime = playheadTime; } else if (_state == PLAYING) { setState(BUFFERING); } break; case "NetStream.Play.Reset" : clearInterval(_rtmpDoStopAtEndIntervalID); _rtmpDoStopAtEndIntervalID = 0; if (_state == REWINDING) { clearInterval(_rtmpDoSeekIntervalID); _rtmpDoSeekIntervalID = 0; if ((playheadTime == 0) || (playheadTime < _cachedPlayheadTime)) { setStateFromCachedState(); } else { _cachedPlayheadTime = playheadTime; _rtmpDoSeekIntervalID = setInterval(this, "rtmpDoSeek", RTMP_DO_SEEK_INTERVAL); } } break; case "NetStream.Seek.Notify" : if (playheadTime != _cachedPlayheadTime) { setStateFromCachedState(); doUpdateTime(); } else { _sawSeekNotify = true; if (_rtmpDoSeekIntervalID == 0) { _rtmpDoSeekIntervalID = setInterval(this, "rtmpDoSeek", RTMP_DO_SEEK_INTERVAL); } } break; case "Netstream.Play.UnpublishNotify" : break; case "Netstream.Play.PublishNotify" : break; case "NetStream.Play.StreamNotFound" : if (!_ncMgr.connectAgain()) { setState(CONNECTION_ERROR); } break; case "NetStream.Play.Failed" : case "NetStream.Failed" : setState(CONNECTION_ERROR); } } function httpOnStatus(info) { switch (info.code) { case "NetStream.Play.Stop" : clearInterval(_delayedBufferingIntervalID); _delayedBufferingIntervalID = 0; if (_invalidSeekTime) { _invalidSeekTime = false; _invalidSeekRecovery = true; setState(_cachedState); seek(playheadTime); } else { switch (_state) { case PLAYING : case BUFFERING : case SEEKING : httpDoStopAtEnd(); } } break; case "NetStream.Seek.InvalidTime" : if (_invalidSeekRecovery) { _invalidSeekTime = false; _invalidSeekRecovery = false; setState(_cachedState); seek(0); } else { _invalidSeekTime = true; } break; case "NetStream.Buffer.Empty" : _bufferState = BUFFER_EMPTY; if (_state == PLAYING) { clearInterval(_delayedBufferingIntervalID); _delayedBufferingIntervalID = setInterval(this, "doDelayedBuffering", _delayedBufferingInterval); } break; case "NetStream.Buffer.Full" : case "NetStream.Buffer.Flush" : clearInterval(_delayedBufferingIntervalID); _delayedBufferingIntervalID = 0; _bufferState = BUFFER_FULL; if (!_hiddenForResize) { if (((_state == LOADING) && (_cachedState == PLAYING)) || (_state == BUFFERING)) { setState(PLAYING); } else if (_cachedState == BUFFERING) { _cachedState = PLAYING; } } break; case "NetStream.Seek.Notify" : _invalidSeekRecovery = false; switch (_state) { case SEEKING : case REWINDING : if (_httpDoSeekIntervalID != 0) { break; } _httpDoSeekCount = 0; _httpDoSeekIntervalID = setInterval(this, "httpDoSeek", HTTP_DO_SEEK_INTERVAL); } break; case "NetStream.Play.StreamNotFound" : setState(CONNECTION_ERROR); } } function ncConnected() { if ((((_ncMgr == null) || (_ncMgr == undefined)) || (_ncMgr.getNetConnection() == null)) || (_ncMgr.getNetConnection() == undefined)) { setState(CONNECTION_ERROR); } else { _createStream(); _setUpStream(); } } function ncReconnected() { if ((((_ncMgr == null) || (_ncMgr == undefined)) || (_ncMgr.getNetConnection() == null)) || (_ncMgr.getNetConnection() == undefined)) { setState(CONNECTION_ERROR); } else { _ns = null; _state = STOPPED; execQueuedCmds(); } } function onMetaData(info) { if (_metadata != null) { return(undefined); } _metadata = info; if (((_streamLength == undefined) || (_streamLength == null)) || (_streamLength <= 0)) { _streamLength = info.duration; } if (isNaN(_videoWidth) || (_videoWidth <= 0)) { _videoWidth = info.width; } if (isNaN(_videoHeight) || (_videoHeight <= 0)) { _videoHeight = info.height; } dispatchEvent({type:"metadataReceived", info:info}); } function onCuePoint(info) { if ((!_hiddenForResize) || ((!isNaN(_hiddenRewindPlayheadTime)) && (playheadTime < _hiddenRewindPlayheadTime))) { dispatchEvent({type:"cuePoint", info:info}); } } function setState(s) { if (s == _state) { return(undefined); } _hiddenRewindPlayheadTime = undefined; _cachedState = _state; _cachedPlayheadTime = playheadTime; _state = s; var _local2 = _state; dispatchEvent({type:"stateChange", state:_local2, playheadTime:playheadTime}); if (!_readyDispatched) { switch (_local2) { case STOPPED : case PLAYING : case PAUSED : case BUFFERING : _readyDispatched = true; dispatchEvent({type:"ready", state:_local2, playheadTime:playheadTime}); } } if (!(_cachedState === REWINDING)) { } else { dispatchEvent({type:"rewind", state:_local2, playheadTime:playheadTime}); if (_ncMgr.isRTMP() && (_local2 == STOPPED)) { closeNS(); } } switch (_local2) { case STOPPED : case PAUSED : if (_ncMgr.isRTMP() && (_idleTimeoutIntervalID == 0)) { _idleTimeoutIntervalID = setInterval(this, "doIdleTimeout", _idleTimeoutInterval); } break; case SEEKING : case REWINDING : _bufferState = BUFFER_EMPTY; case PLAYING : case BUFFERING : if (_updateTimeIntervalID == 0) { _updateTimeIntervalID = setInterval(this, "doUpdateTime", _updateTimeInterval); } case LOADING : case RESIZING : clearInterval(_idleTimeoutIntervalID); _idleTimeoutIntervalID = 0; } execQueuedCmds(); } function setStateFromCachedState() { switch (_cachedState) { case PLAYING : case PAUSED : setState(_cachedState); break; case BUFFERING : if (_bufferState == BUFFER_EMPTY) { setState(BUFFERING); } else { setState(_cachedState); } break; default : setState(STOPPED); } } function createINCManager() { if ((ncMgrClassName == null) || (ncMgrClassName == undefined)) { ncMgrClassName = DEFAULT_INCMANAGER; } var ncMgrConstructor = eval (this.ncMgrClassName); _ncMgr = new ncMgrConstructor(); _ncMgr.setVideoPlayer(this); } function rtmpDoStopAtEnd(force) { if (_rtmpDoStopAtEndIntervalID > 0) { switch (_state) { case DISCONNECTED : case CONNECTION_ERROR : clearInterval(_rtmpDoStopAtEndIntervalID); _rtmpDoStopAtEndIntervalID = 0; return(undefined); } if (force || (_cachedPlayheadTime == playheadTime)) { clearInterval(_rtmpDoStopAtEndIntervalID); _rtmpDoStopAtEndIntervalID = 0; } else { _cachedPlayheadTime = playheadTime; return(undefined); } } _bufferState = BUFFER_EMPTY; _atEnd = true; setState(STOPPED); if (_state != STOPPED) { return(undefined); } doUpdateTime(); if (_state != STOPPED) { return(undefined); } dispatchEvent({type:"complete", state:_state, playheadTime:playheadTime}); if (_state != STOPPED) { return(undefined); } if ((_autoRewind && (!_isLive)) && (playheadTime != 0)) { _atEnd = false; _currentPos = 0; _play(0, 0); setState(REWINDING); } else { closeNS(); } } function rtmpDoSeek() { if ((_state != REWINDING) && (_state != SEEKING)) { clearInterval(_rtmpDoSeekIntervalID); _rtmpDoSeekIntervalID = 0; _sawSeekNotify = false; } else if (playheadTime != _cachedPlayheadTime) { clearInterval(_rtmpDoSeekIntervalID); _rtmpDoSeekIntervalID = 0; _sawSeekNotify = false; setStateFromCachedState(); doUpdateTime(); } } function httpDoStopAtEnd() { _atEnd = true; if (((_streamLength == undefined) || (_streamLength == null)) || (_streamLength <= 0)) { _streamLength = _ns.time; } _pause(true); setState(STOPPED); if (_state != STOPPED) { return(undefined); } doUpdateTime(); if (_state != STOPPED) { return(undefined); } dispatchEvent({type:"complete", state:_state, playheadTime:playheadTime}); if (_state != STOPPED) { return(undefined); } if (_autoRewind) { _atEnd = false; _pause(true); _seek(0); setState(REWINDING); } } function httpDoSeek() { var _local2 = (_state == REWINDING) || (_state == SEEKING); if ((_local2 && (_httpDoSeekCount < HTTP_DO_SEEK_MAX_COUNT)) && ((_cachedPlayheadTime == playheadTime) || (_invalidSeekTime))) { _httpDoSeekCount++; return(undefined); } _httpDoSeekCount = 0; clearInterval(_httpDoSeekIntervalID); _httpDoSeekIntervalID = 0; if (!_local2) { return(undefined); } setStateFromCachedState(); if (_invalidSeekTime) { _invalidSeekTime = false; _invalidSeekRecovery = true; seek(playheadTime); } else { doUpdateTime(); } } function closeNS(updateCurrentPos) { if ((_ns != null) && (_ns != undefined)) { if (updateCurrentPos) { clearInterval(_updateTimeIntervalID); _updateTimeIntervalID = 0; doUpdateTime(); _currentPos = _ns.time; } delete _ns.onStatus; _ns.onStatus = null; _ns.close(); _ns = null; } } function doDelayedBuffering() { switch (_state) { case LOADING : case RESIZING : break; case PLAYING : clearInterval(_delayedBufferingIntervalID); _delayedBufferingIntervalID = 0; setState(BUFFERING); break; default : clearInterval(_delayedBufferingIntervalID); _delayedBufferingIntervalID = 0; } } function _pause(doPause) { _ns.pause(doPause); } function _play() { _startingPlay = true; switch (arguments.length) { case 0 : _ns.play(_ncMgr.getStreamName(), (_isLive ? -1 : 0), -1); break; case 1 : _ns.play(_ncMgr.getStreamName(), (_isLive ? -1 : (arguments[0])), -1); break; case 2 : _ns.play(_ncMgr.getStreamName(), (_isLive ? -1 : (arguments[0])), arguments[1]); break; default : throw new Error("bad args to _play"); } } function _seek(time) { if ((_metadata.audiodelay != undefined) && ((time + _metadata.audiodelay) < _streamLength)) { time = time + _metadata.audiodelay; } _ns.seek(time); _invalidSeekTime = false; _bufferState = BUFFER_EMPTY; _sawSeekNotify = false; } function isXnOK() { if (_state == LOADING) { return(true); } if (_state == CONNECTION_ERROR) { return(false); } if (_state != DISCONNECTED) { if (((((_ncMgr == null) || (_ncMgr == undefined)) || (_ncMgr.getNetConnection() == null)) || (_ncMgr.getNetConnection() == undefined)) || (!_ncMgr.getNetConnection().isConnected)) { setState(DISCONNECTED); return(false); } return(true); } return(false); } function startAutoResize() { switch (_state) { case DISCONNECTED : case CONNECTION_ERROR : return(undefined); } _autoResizeDone = false; if ((stateResponsive && (_videoWidth != undefined)) && (_videoHeight != undefined)) { doAutoResize(); } else { clearInterval(_autoResizeIntervalID); _autoResizeIntervalID = setInterval(this, "doAutoResize", AUTO_RESIZE_INTERVAL); } } function doAutoResize() { if (_autoResizeIntervalID > 0) { switch (_state) { case RESIZING : case LOADING : break; case DISCONNECTED : case CONNECTION_ERROR : clearInterval(_autoResizeIntervalID); _autoResizeIntervalID = 0; return(undefined); default : if (stateResponsive) { break; } return(undefined); } if ((((_video.width != _prevVideoWidth) || (_video.height != _prevVideoHeight)) || (_bufferState >= BUFFER_FULL)) || (_ns.time > AUTO_RESIZE_PLAYHEAD_TIMEOUT)) { if ((_hiddenForResize && (_metadata == null)) && (_hiddenForResizeMetadataDelay < AUTO_RESIZE_METADATA_DELAY_MAX)) { _hiddenForResizeMetadataDelay++; return(undefined); } _videoWidth = _video.width; _videoHeight = _video.height; clearInterval(_autoResizeIntervalID); _autoResizeIntervalID = 0; } else { return(undefined); } } if (((!_autoSize) && (!_aspectRatio)) || (_autoResizeDone)) { setState(_cachedState); return(undefined); } _autoResizeDone = true; if (_autoSize) { _video._width = _videoWidth; _video._height = _videoHeight; } else if (_aspectRatio) { var _local3 = (_videoWidth * height) / _videoHeight; var _local2 = (_videoHeight * width) / _videoWidth; if (_local2 < height) { _video._height = _local2; } else if (_local3 < width) { _video._width = _local3; } } if (_hiddenForResize) { _hiddenRewindPlayheadTime = playheadTime; if (_state == LOADING) { _cachedState = PLAYING; } if (!_ncMgr.isRTMP()) { _pause(true); _seek(0); clearInterval(_finishAutoResizeIntervalID); _finishAutoResizeIntervalID = setInterval(this, "finishAutoResize", FINISH_AUTO_RESIZE_INTERVAL); } else if (!_isLive) { _currentPos = 0; _play(0, 0); setState(RESIZING); } else if (_autoPlay) { clearInterval(_finishAutoResizeIntervalID); _finishAutoResizeIntervalID = setInterval(this, "finishAutoResize", FINISH_AUTO_RESIZE_INTERVAL); } else { finishAutoResize(); } } else { dispatchEvent({type:"resize", x:_x, y:_y, width:_width, height:_height}); } } function finishAutoResize() { clearInterval(_finishAutoResizeIntervalID); _finishAutoResizeIntervalID = 0; if (stateResponsive) { return(undefined); } _visible = __visible; _sound.setVolume(_volume); _hiddenForResize = false; dispatchEvent({type:"resize", x:_x, y:_y, width:_width, height:_height}); if (_autoPlay) { if (_ncMgr.isRTMP()) { if (!_isLive) { _currentPos = 0; _play(0); } if (_state == RESIZING) { setState(LOADING); _cachedState = PLAYING; } } else { _pause(false); _cachedState = PLAYING; } } else { setState(STOPPED); } } function _createStream() { _ns = new NetStream(_ncMgr.getNetConnection()); _ns.mc = this; if (_ncMgr.isRTMP()) { _ns.onStatus = function (info) { this.mc.rtmpOnStatus(info); }; } else { _ns.onStatus = function (info) { this.mc.httpOnStatus(info); }; } _ns.onMetaData = function (info) { this.mc.onMetaData(info); }; _ns.onCuePoint = function (info) { this.mc.onCuePoint(info); }; _ns.setBufferTime(_bufferTime); } function _setUpStream() { _video.attachVideo(_ns); attachAudio(_ns); if ((!isNaN(_ncMgr.getStreamLength())) && (_ncMgr.getStreamLength() >= 0)) { _streamLength = _ncMgr.getStreamLength(); } if ((!isNaN(_ncMgr.getStreamWidth())) && (_ncMgr.getStreamWidth() >= 0)) { _videoWidth = _ncMgr.getStreamWidth(); } else { _videoWidth = undefined; } if ((!isNaN(_ncMgr.getStreamHeight())) && (_ncMgr.getStreamHeight() >= 0)) { _videoHeight = _ncMgr.getStreamHeight(); } else { _videoHeight = undefined; } if (((_autoSize || (_aspectRatio)) && (_videoWidth != undefined)) && (_videoHeight != undefined)) { _prevVideoWidth = undefined; _prevVideoHeight = undefined; doAutoResize(); } if (((!_autoSize) && (!_aspectRatio)) || ((_videoWidth != undefined) && (_videoHeight != undefined))) { if (_autoPlay) { if (!_ncMgr.isRTMP()) { _cachedState = BUFFERING; _play(); } else if (_isLive) { _cachedState = BUFFERING; _play(-1); } else { _cachedState = BUFFERING; _play(0); } } else { _cachedState = STOPPED; if (_ncMgr.isRTMP()) { _play(0, 0); } else { _play(); _pause(true); _seek(0); } } } else { _hiddenForResize = true; _hiddenForResizeMetadataDelay = 0; __visible = _visible; _visible = false; _volume = _sound.getVolume(); _sound.setVolume(0); _play(0); if (_currentPos > 0) { _seek(_currentPos); _currentPos = 0; } } clearInterval(_autoResizeIntervalID); _autoResizeIntervalID = setInterval(this, "doAutoResize", AUTO_RESIZE_INTERVAL); } function doIdleTimeout() { clearInterval(_idleTimeoutIntervalID); _idleTimeoutIntervalID = 0; close(); } function flushQueuedCmds() { while (_cmdQueue.length > 0) { _cmdQueue.pop(); } } function execQueuedCmds() { while (((_cmdQueue.length > 0) && (stateResponsive || (_state == CONNECTION_ERROR))) && (((_cmdQueue[0].url != null) && (_cmdQueue[0].url != undefined)) || ((_state != DISCONNECTED) && (_state != CONNECTION_ERROR)))) { var _local2 = _cmdQueue.shift(); _cachedState = _state; _state = EXEC_QUEUED_CMD; switch (_local2.type) { case PLAY : play(_local2.url, _local2.isLive, _local2.time); break; case LOAD : load(_local2.url, _local2.isLive, _local2.time); break; case PAUSE : pause(); break; case STOP : stop(); break; case SEEK : seek(_local2.time); } } } function queueCmd(type, url, isLive, time) { _cmdQueue.push({type:type, url:url, isLive:false, time:time}); } static var version = "1.0.0.103"; static var DISCONNECTED = "disconnected"; static var STOPPED = "stopped"; static var PLAYING = "playing"; static var PAUSED = "paused"; static var BUFFERING = "buffering"; static var LOADING = "loading"; static var CONNECTION_ERROR = "connectionError"; static var REWINDING = "rewinding"; static var SEEKING = "seeking"; static var RESIZING = "resizing"; static var EXEC_QUEUED_CMD = "execQueuedCmd"; static var BUFFER_EMPTY = "bufferEmpty"; static var BUFFER_FULL = "bufferFull"; static var BUFFER_FULL_SAW_PLAY_STOP = "bufferFullSawPlayStop"; static var DEFAULT_INCMANAGER = "mx.video.NCManager"; static var DEFAULT_UPDATE_TIME_INTERVAL = 250; static var DEFAULT_UPDATE_PROGRESS_INTERVAL = 250; static var DEFAULT_IDLE_TIMEOUT_INTERVAL = 300000; static var AUTO_RESIZE_INTERVAL = 100; static var AUTO_RESIZE_PLAYHEAD_TIMEOUT = 0.5; static var AUTO_RESIZE_METADATA_DELAY_MAX = 5; static var FINISH_AUTO_RESIZE_INTERVAL = 250; static var RTMP_DO_STOP_AT_END_INTERVAL = 500; static var RTMP_DO_SEEK_INTERVAL = 100; static var HTTP_DO_SEEK_INTERVAL = 250; static var HTTP_DO_SEEK_MAX_COUNT = 4; static var CLOSE_NS_INTERVAL = 0.25; static var HTTP_DELAYED_BUFFERING_INTERVAL = 100; static var PLAY = 0; static var LOAD = 1; static var PAUSE = 2; static var STOP = 3; static var SEEK = 4; }
Symbol 18 MovieClip [__Packages.mx.video.INCManager] Frame 0
interface mx.video.INCManager { }
Symbol 19 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher { function EventDispatcher () { } static function _removeEventListener(queue, event, handler) { if (queue != undefined) { var _local4 = queue.length; var _local1; _local1 = 0; while (_local1 < _local4) { var _local2 = queue[_local1]; if (_local2 == handler) { queue.splice(_local1, 1); return(undefined); } _local1++; } } } static function initialize(object) { if (_fEventDispatcher == undefined) { _fEventDispatcher = new mx.events.EventDispatcher(); } object.addEventListener = _fEventDispatcher.addEventListener; object.removeEventListener = _fEventDispatcher.removeEventListener; object.dispatchEvent = _fEventDispatcher.dispatchEvent; object.dispatchQueue = _fEventDispatcher.dispatchQueue; } function dispatchQueue(queueObj, eventObj) { var _local7 = "__q_" + eventObj.type; var _local4 = queueObj[_local7]; if (_local4 != undefined) { var _local5; for (_local5 in _local4) { var _local1 = _local4[_local5]; var _local3 = typeof(_local1); if ((_local3 == "object") || (_local3 == "movieclip")) { if (_local1.handleEvent != undefined) { _local1.handleEvent(eventObj); } if (_local1[eventObj.type] != undefined) { if (exceptions[eventObj.type] == undefined) { _local1[eventObj.type](eventObj); } } } else { _local1.apply(queueObj, [eventObj]); } } } } function dispatchEvent(eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + "Handler"](eventObj); dispatchQueue(this, eventObj); } function addEventListener(event, handler) { var _local3 = "__q_" + event; if (this[_local3] == undefined) { this[_local3] = new Array(); } _global.ASSetPropFlags(this, _local3, 1); _removeEventListener(this[_local3], event, handler); this[_local3].push(handler); } function removeEventListener(event, handler) { var _local2 = "__q_" + event; _removeEventListener(this[_local2], event, handler); } static var _fEventDispatcher = undefined; static var exceptions = {move:1, draw:1, load:1}; }
Symbol 20 MovieClip [__Packages.mx.video.VideoError] Frame 0
class mx.video.VideoError extends Error { var _code, message, name; function VideoError (errCode, msg) { super(); _code = errCode; message = ((("" + errCode) + ": ") + ERROR_MSG[errCode - BASE_ERROR_CODE]) + ((msg == undefined) ? "" : (": " + msg)); name = "VideoError"; } function get code() { return(_code); } static var version = "1.0.0.103"; static var BASE_ERROR_CODE = 1000; static var NO_CONNECTION = 1000; static var NO_CUE_POINT_MATCH = 1001; static var ILLEGAL_CUE_POINT = 1002; static var INVALID_SEEK = 1003; static var INVALID_CONTENT_PATH = 1004; static var INVALID_XML = 1005; static var NO_BITRATE_MATCH = 1006; static var DELETE_DEFAULT_PLAYER = 1007; static var ERROR_MSG = ["Unable to make connection to server or to find FLV on server", "No matching cue point found", "Illegal cue point", "Invalid seek", "Invalid contentPath", "Invalid xml", "No bitrate match, must be no default flv", "Cannot delete default VideoPlayer"]; }
Symbol 21 MovieClip [__Packages.mx.video.UIManager] Frame 0
class mx.video.UIManager { var _vc, _skin, _skinAutoHide, _skinReady, __visible, _bufferingBarHides, _controlsEnabled, _lastScrubPos, _lastVolumePos, cachedSoundLevel, _isMuted, controls, customClips, skin_mc, skinLoader, layout_mc, border_mc, _seekBarIntervalID, _seekBarInterval, _seekBarScrubTolerance, _volumeBarIntervalID, _volumeBarInterval, _volumeBarScrubTolerance, _bufferingDelayIntervalID, _bufferingDelayInterval, _bufferingOn, _skinAutoHideIntervalID, _progressPercent, placeholderLeft, placeholderRight, placeholderTop, placeholderBottom, videoLeft, videoRight, videoTop, videoBottom, _playAfterScrub; function UIManager (vc) { _vc = vc; _skin = undefined; _skinAutoHide = false; _skinReady = true; __visible = true; _bufferingBarHides = false; _controlsEnabled = true; _lastScrubPos = 0; _lastVolumePos = 0; cachedSoundLevel = _vc.volume; _isMuted = false; controls = new Array(); customClips = undefined; skin_mc = undefined; skinLoader = undefined; layout_mc = undefined; border_mc = undefined; _seekBarIntervalID = 0; _seekBarInterval = SEEK_BAR_INTERVAL_DEFAULT; _seekBarScrubTolerance = SEEK_BAR_SCRUB_TOLERANCE_DEFAULT; _volumeBarIntervalID = 0; _volumeBarInterval = VOLUME_BAR_INTERVAL_DEFAULT; _volumeBarScrubTolerance = VOLUME_BAR_SCRUB_TOLERANCE_DEFAULT; _bufferingDelayIntervalID = 0; _bufferingDelayInterval = BUFFERING_DELAY_INTERVAL_DEFAULT; _bufferingOn = false; _skinAutoHideIntervalID = 0; _vc.addEventListener("metadataReceived", this); _vc.addEventListener("playheadUpdate", this); _vc.addEventListener("progress", this); _vc.addEventListener("stateChange", this); _vc.addEventListener("ready", this); _vc.addEventListener("resize", this); _vc.addEventListener("volumeUpdate", this); } function handleEvent(e) { if ((e.vp != undefined) && (e.vp != _vc.__get__visibleVideoPlayerIndex())) { return(undefined); } var _local9 = _vc.__get__activeVideoPlayerIndex(); _vc.__set__activeVideoPlayerIndex(_vc.visibleVideoPlayerIndex); if (e.type == "stateChange") { if (e.state == mx.video.FLVPlayback.BUFFERING) { if (!_bufferingOn) { clearInterval(_bufferingDelayIntervalID); _bufferingDelayIntervalID = setInterval(this, "doBufferingDelay", _bufferingDelayInterval); } } else { clearInterval(_bufferingDelayIntervalID); _bufferingDelayIntervalID = 0; _bufferingOn = false; } if (e.state == mx.video.FLVPlayback.LOADING) { _progressPercent = (_vc.getVideoPlayer(e.vp).__get__isRTMP() ? 100 : 0); var _local2 = SEEK_BAR; while (_local2 <= VOLUME_BAR) { var _local4 = controls[_local2]; if (_local4.progress_mc != undefined) { positionBar(_local4, "progress", _progressPercent); } _local2++; } } var _local2 = 0; while (_local2 < NUM_CONTROLS) { if (controls[_local2] == undefined) { } else { setEnabledAndVisibleForState(_local2, e.state); if (_local2 < NUM_BUTTONS) { skinButtonControl(controls[_local2]); } } _local2++; } } else if ((e.type == "ready") || (e.type == "metadataReceived")) { var _local2 = 0; while (_local2 < NUM_CONTROLS) { if (controls[_local2] == undefined) { } else { setEnabledAndVisibleForState(_local2, _vc.__get__state()); if (_local2 < NUM_BUTTONS) { skinButtonControl(controls[_local2]); } } _local2++; } if (_vc.getVideoPlayer(e.vp).__get__isRTMP()) { _progressPercent = 100; _local2 = SEEK_BAR; while (_local2 <= VOLUME_BAR) { var _local4 = controls[_local2]; if (_local4.progress_mc != undefined) { positionBar(_local4, "progress", _progressPercent); } _local2++; } } } else if (e.type == "resize") { layoutSkin(); setupSkinAutoHide(); } else if (e.type == "volumeUpdate") { if (_isMuted && (e.volume > 0)) { _isMuted = false; setEnabledAndVisibleForState(MUTE_OFF_BUTTON, mx.video.FLVPlayback.PLAYING); skinButtonControl(controls[MUTE_OFF_BUTTON]); setEnabledAndVisibleForState(MUTE_ON_BUTTON, mx.video.FLVPlayback.PLAYING); skinButtonControl(controls[MUTE_ON_BUTTON]); } var _local5 = controls[VOLUME_BAR]; _local5.percentage = (_isMuted ? (cachedSoundLevel) : (e.volume)); if (_local5.percentage < 0) { _local5.percentage = 0; } else if (_local5.percentage > 100) { _local5.percentage = 100; } positionHandle(VOLUME_BAR); } else if ((e.type == "playheadUpdate") && (controls[SEEK_BAR] != undefined)) { if ((!_vc.__get__isLive()) && (_vc.__get__totalTime() > 0)) { var _local6 = (e.playheadTime / _vc.__get__totalTime()) * 100; if (_local6 < 0) { _local6 = 0; } else if (_local6 > 100) { _local6 = 100; } var _local10 = controls[SEEK_BAR]; _local10.percentage = _local6; positionHandle(SEEK_BAR); } } else if (e.type == "progress") { _progressPercent = ((e.bytesTotal <= 0) ? 100 : ((e.bytesLoaded / e.bytesTotal) * 100)); var _local7 = _vc._vpState[e.vp].minProgressPercent; if ((!isNaN(_local7)) && (_local7 > _progressPercent)) { _progressPercent = _local7; } if (_vc.__get__totalTime() > 0) { var _local8 = (_vc.__get__playheadTime() / _vc.__get__totalTime()) * 100; if (_local8 > _progressPercent) { _progressPercent = _local8; _vc._vpState[e.vp].minProgressPercent = _progressPercent; } } var _local2 = SEEK_BAR; while (_local2 <= VOLUME_BAR) { var _local4 = controls[_local2]; if (_local4.progress_mc != undefined) { positionBar(_local4, "progress", _progressPercent); } _local2++; } } _vc.__set__activeVideoPlayerIndex(_local9); } function get bufferingBarHidesAndDisablesOthers() { return(_bufferingBarHides); } function set bufferingBarHidesAndDisablesOthers(b) { _bufferingBarHides = b; //return(bufferingBarHidesAndDisablesOthers); } function get controlsEnabled() { return(_controlsEnabled); } function set controlsEnabled(flag) { if (_controlsEnabled == flag) { return; } _controlsEnabled = flag; var _local2 = 0; while (_local2 < NUM_BUTTONS) { if (controls[_local2] == undefined) { } else { controls[_local2].releaseCapture(); controls[_local2].enabled = _controlsEnabled && (controls[_local2].myEnabled); skinButtonControl(controls[_local2]); } _local2++; } //return(controlsEnabled); } function get skin() { return(_skin); } function set skin(s) { if (s == _skin) { return; } if (_skin != undefined) { removeSkin(); } _skin = s; _skinReady = ((_skin == undefined) || (_skin == null)) || (_skin == ""); if (!_skinReady) { downloadSkin(); } //return(skin); } function get skinAutoHide() { return(_skinAutoHide); } function set skinAutoHide(b) { if (b == _skinAutoHide) { return; } _skinAutoHide = b; setupSkinAutoHide(); //return(skinAutoHide); } function get skinReady() { return(_skinReady); } function get seekBarInterval() { return(_seekBarInterval); } function set seekBarInterval(s) { if (_seekBarInterval == s) { return; } _seekBarInterval = s; if (_seekBarIntervalID > 0) { clearInterval(_seekBarIntervalID); _seekBarIntervalID = setInterval(this, "seekBarListener", _seekBarInterval, false); } //return(seekBarInterval); } function get volumeBarInterval() { return(_volumeBarInterval); } function set volumeBarInterval(s) { if (_volumeBarInterval == s) { return; } _volumeBarInterval = s; if (_volumeBarIntervalID > 0) { clearInterval(_volumeBarIntervalID); _volumeBarIntervalID = setInterval(this, "volumeBarListener", _volumeBarInterval, false); } //return(volumeBarInterval); } function get bufferingDelayInterval() { return(_bufferingDelayInterval); } function set bufferingDelayInterval(s) { if (_bufferingDelayInterval == s) { return; } _bufferingDelayInterval = s; if (_bufferingDelayIntervalID > 0) { clearInterval(_bufferingDelayIntervalID); _bufferingDelayIntervalID = setInterval(this, "doBufferingDelay", _bufferingDelayIntervalID); } //return(bufferingDelayInterval); } function get volumeBarScrubTolerance() { return(_volumeBarScrubTolerance); } function set volumeBarScrubTolerance(s) { _volumeBarScrubTolerance = s; //return(volumeBarScrubTolerance); } function get seekBarScrubTolerance() { return(_seekBarScrubTolerance); } function set seekBarScrubTolerance(s) { _seekBarScrubTolerance = s; //return(seekBarScrubTolerance); } function get visible() { return(__visible); } function set visible(v) { if (__visible == v) { return; } __visible = v; if (!__visible) { skin_mc._visible = false; } else { setupSkinAutoHide(); } //return(visible); } function getControl(index) { return(controls[index]); } function setControl(index, s) { if (s == null) { s = undefined; } if (s == controls[index]) { return(undefined); } switch (index) { case PAUSE_BUTTON : case PLAY_BUTTON : resetPlayPause(); break; case PLAY_PAUSE_BUTTON : if (s._parent != layout_mc) { resetPlayPause(); setControl(PAUSE_BUTTON, s.pause_mc); setControl(PLAY_BUTTON, s.play_mc); } break; case MUTE_BUTTON : if (s._parent == layout_mc) { break; } setControl(MUTE_ON_BUTTON, s.on_mc); setControl(MUTE_OFF_BUTTON, s.off_mc); } if (index >= NUM_BUTTONS) { controls[index] = s; switch (index) { case SEEK_BAR : addBarControl(SEEK_BAR); break; case VOLUME_BAR : addBarControl(VOLUME_BAR); controls[VOLUME_BAR].percentage = _vc.volume; break; case BUFFERING_BAR : controls[BUFFERING_BAR].uiMgr = this; controls[BUFFERING_BAR].controlIndex = BUFFERING_BAR; if (controls[BUFFERING_BAR]._parent == skin_mc) { finishAddBufferingBar(); } else { controls[BUFFERING_BAR].onEnterFrame = function () { this.uiMgr.finishAddBufferingBar(); }; } } setEnabledAndVisibleForState(index, _vc.__get__state()); } else { removeButtonControl(index); controls[index] = s; addButtonControl(index); } } function resetPlayPause() { if (controls[PLAY_PAUSE_BUTTON] == undefined) { return(undefined); } var _local2 = PAUSE_BUTTON; while (_local2 <= PLAY_BUTTON) { removeButtonControl(_local2); _local2++; } controls[PLAY_PAUSE_BUTTON] = undefined; } function addButtonControl(index) { var _local3 = controls[index]; if (_local3 == undefined) { return(undefined); } var _local5 = _vc.__get__activeVideoPlayerIndex(); _vc.__set__activeVideoPlayerIndex(_vc.visibleVideoPlayerIndex); _local3.id = index; _local3.state = UP_STATE; _local3.uiMgr = this; setEnabledAndVisibleForState(index, _vc.__get__state()); _local3.onRollOver = function () { this.state = mx.video.UIManager.OVER_STATE; this.uiMgr.skinButtonControl(this); }; _local3.onRollOut = function () { this.state = mx.video.UIManager.UP_STATE; this.uiMgr.skinButtonControl(this); }; if ((index == SEEK_BAR_HANDLE) || (index == VOLUME_BAR_HANDLE)) { _local3.onPress = function () { if (_root.focusManager) { this._focusrect = false; Selection.setFocus(this); } this.state = mx.video.UIManager.DOWN_STATE; this.uiMgr.dispatchMessage(this); this.uiMgr.skinButtonControl(this); }; _local3.onRelease = function () { this.state = mx.video.UIManager.OVER_STATE; this.uiMgr.handleRelease(this.controlIndex); this.uiMgr.skinButtonControl(this); }; _local3.onReleaseOutside = function () { this.state = mx.video.UIManager.UP_STATE; this.uiMgr.handleRelease(this.controlIndex); this.uiMgr.skinButtonControl(this); }; } else { _local3.onPress = function () { if (_root.focusManager) { this._focusrect = false; Selection.setFocus(this); } this.state = mx.video.UIManager.DOWN_STATE; this.uiMgr.skinButtonControl(this); }; _local3.onRelease = function () { this.state = mx.video.UIManager.OVER_STATE; this.uiMgr.dispatchMessage(this); this.uiMgr.skinButtonControl(this); }; _local3.onReleaseOutside = function () { this.state = mx.video.UIManager.UP_STATE; this.uiMgr.skinButtonControl(this); }; } if (_local3._parent == skin_mc) { skinButtonControl(_local3); } else { _local3.onEnterFrame = function () { this.uiMgr.skinButtonControl(this); }; } _vc.__set__activeVideoPlayerIndex(_local5); } function removeButtonControl(index) { if (controls[index] == undefined) { return(undefined); } controls[index].uiMgr = undefined; controls[index].onRollOver = undefined; controls[index].onRollOut = undefined; controls[index].onPress = undefined; controls[index].onRelease = undefined; controls[index].onReleaseOutside = undefined; controls[index] = undefined; } function downloadSkin() { if (skinLoader == undefined) { skinLoader = new MovieClipLoader(); skinLoader.addListener(this); } if (skin_mc == undefined) { skin_mc = _vc.createEmptyMovieClip("skin_mc", _vc.getNextHighestDepth()); } skin_mc._visible = false; skin_mc._x = Stage.width + 100; skin_mc._y = Stage.height + 100; skinLoader.loadClip(_skin, skin_mc); } function onLoadError(target_mc, errorCode) { _skinReady = true; _vc.skinError("Unable to load skin swf"); } function onLoadInit() { try { skin_mc._visible = false; skin_mc._x = 0; skin_mc._y = 0; layout_mc = skin_mc.layout_mc; if (layout_mc == undefined) { throw new Error("No layout_mc"); } layout_mc._visible = false; customClips = new Array(); setCustomClips("bg"); if (layout_mc.playpause_mc != undefined) { setSkin(PLAY_PAUSE_BUTTON, layout_mc.playpause_mc); } else { setSkin(PAUSE_BUTTON, layout_mc.pause_mc); setSkin(PLAY_BUTTON, layout_mc.play_mc); } setSkin(STOP_BUTTON, layout_mc.stop_mc); setSkin(BACK_BUTTON, layout_mc.back_mc); setSkin(FORWARD_BUTTON, layout_mc.forward_mc); setSkin(MUTE_BUTTON, layout_mc.volumeMute_mc); setSkin(SEEK_BAR, layout_mc.seekBar_mc); setSkin(VOLUME_BAR, layout_mc.volumeBar_mc); setSkin(BUFFERING_BAR, layout_mc.bufferingBar_mc); setCustomClips("fg"); layoutSkin(); setupSkinAutoHide(); skin_mc._visible = __visible; _skinReady = true; _vc.skinLoaded(); var _local4 = _vc.__get__activeVideoPlayerIndex(); _vc.__set__activeVideoPlayerIndex(_vc.visibleVideoPlayerIndex); var _local3 = _vc.__get__state(); var _local2 = 0; while (_local2 < NUM_CONTROLS) { if (controls[_local2] == undefined) { } else { setEnabledAndVisibleForState(_local2, _local3); if (_local2 < NUM_BUTTONS) { skinButtonControl(controls[_local2]); } } _local2++; } _vc.__set__activeVideoPlayerIndex(_local4); } catch(err:Error) { _vc.skinError(err.message); removeSkin(); } } function layoutSkin() { if (layout_mc == undefined) { return(undefined); } var _local3 = layout_mc.video_mc; if (_local3 == undefined) { throw new Error("No layout_mc.video_mc"); } placeholderLeft = _local3._x; placeholderRight = _local3._x + _local3._width; placeholderTop = _local3._y; placeholderBottom = _local3._y + _local3._height; videoLeft = 0; videoRight = _vc.width; videoTop = 0; videoBottom = _vc.height; if (((!isNaN(layout_mc.minWidth)) && (layout_mc.minWidth > 0)) && (layout_mc.minWidth > videoRight)) { videoLeft = videoLeft - ((layout_mc.minWidth - videoRight) / 2); videoRight = layout_mc.minWidth + videoLeft; } if (((!isNaN(layout_mc.minHeight)) && (layout_mc.minHeight > 0)) && (layout_mc.minHeight > videoBottom)) { videoTop = videoTop - ((layout_mc.minHeight - videoBottom) / 2); videoBottom = layout_mc.minHeight + videoTop; } var _local2; _local2 = 0; while (_local2 < customClips.length) { layoutControl(customClips[_local2]); _local2++; } _local2 = 0; while (_local2 < NUM_CONTROLS) { layoutControl(controls[_local2]); _local2++; } } function layoutControl(ctrl) { if (ctrl == undefined) { return(undefined); } if (ctrl.skin.anchorRight) { if (ctrl.skin.anchorLeft) { ctrl._x = (ctrl.skin._x - placeholderLeft) + videoLeft; ctrl._width = (((ctrl.skin._x + ctrl.skin._width) - placeholderRight) + videoRight) - ctrl._x; if (ctrl.origWidth != undefined) { ctrl.origWidth = undefined; } } else { ctrl._x = (ctrl.skin._x - placeholderRight) + videoRight; } } else { ctrl._x = (ctrl.skin._x - placeholderLeft) + videoLeft; } if (ctrl.skin.anchorTop) { if (ctrl.skin.anchorBottom) { ctrl._y = (ctrl.skin._y - placeholderTop) + videoTop; ctrl._height = (((ctrl.skin._y + ctrl.skin._height) - placeholderBottom) + videoBottom) - ctrl._y; if (ctrl.origHeight != undefined) { ctrl.origHeight = undefined; } } else { ctrl._y = (ctrl.skin._y - placeholderTop) + videoTop; } } else { ctrl._y = (ctrl.skin._y - placeholderBottom) + videoBottom; } switch (ctrl.controlIndex) { case SEEK_BAR : case VOLUME_BAR : if (ctrl.progress_mc != undefined) { if (_progressPercent == undefined) { _progressPercent = (_vc.__get__isRTMP() ? 100 : 0); } positionBar(ctrl, "progress", _progressPercent); } positionHandle(ctrl.controlIndex); break; case BUFFERING_BAR : if (ctrl.fill_mc == undefined) { break; } positionMaskedFill(ctrl, ctrl.fill_mc, 100); } if (ctrl.layoutSelf != undefined) { ctrl.layoutSelf(); } } function removeSkin() { if (skin_mc != undefined) { var _local2 = 0; while (_local2 < NUM_BUTTONS) { removeButtonControl(_local2); _local2++; } _local2 = NUM_BUTTONS; while (_local2 < NUM_CONTROLS) { controls[_local2] = undefined; _local2++; } skin_mc.unloadMovie(); layout_mc = undefined; border_mc = undefined; } } function setCustomClips(prefix) { var _local4 = 1; while (true) { var _local2 = layout_mc[(prefix + (_local4++)) + "_mc"]; if (_local2 == undefined) { break; } var _local3 = _local2.mc; if (_local3 == undefined) { _local3 = _local2._parent._parent[_local2._name]; } if (_local3 == undefined) { throw new Error("Bad clip in skin: " + _local2); } _local3.skin = _local2; customClips.push(_local3); if ((prefix == "bg") && (_local4 == 2)) { border_mc = _local3; } } } function setSkin(index, s) { if (s == undefined) { return(undefined); } var _local2 = s.mc; if (_local2 == undefined) { _local2 = s._parent._parent[s._name]; } if (_local2 == undefined) { throw new Error("Bad clip in skin: " + s); } _local2.skin = s; if (index < NUM_BUTTONS) { setupSkinStates(_local2); } else { switch (index) { case PLAY_PAUSE_BUTTON : setupSkinStates(_local2.play_mc); setupSkinStates(_local2.pause_mc); break; case MUTE_BUTTON : setupSkinStates(_local2.on_mc); setupSkinStates(_local2.off_mc); break; case SEEK_BAR : case VOLUME_BAR : var _local4 = ((index == SEEK_BAR) ? "seekBar" : "volumeBar"); if (_local2.handle_mc == undefined) { _local2.handle_mc = _local2.skin.seekBarHandle_mc; if (_local2.handle_mc == undefined) { _local2.handle_mc = _local2.skin._parent._parent[_local4 + "Handle_mc"]; } } if (_local2.progress_mc == undefined) { _local2.progress_mc = _local2.skin.progress_mc; if (_local2.progress_mc == undefined) { _local2.progress_mc = _local2.skin._parent._parent[_local4 + "Progress_mc"]; } } if (_local2.fullness_mc == undefined) { _local2.fullness_mc = _local2.skin.fullness_mc; if (_local2.fullness_mc == undefined) { _local2.fullness_mc = _local2.skin._parent._parent[_local4 + "Fullness_mc"]; } } break; case BUFFERING_BAR : if (_local2.fill_mc != undefined) { break; } _local2.fill_mc = _local2.skin.fill_mc; if (_local2.fill_mc != undefined) { break; } _local2.fill_mc = _local2.skin._parent._parent.bufferingBarFill_mc; } } setControl(index, _local2); } function setupSkinStates(ctrl) { if (ctrl.up_mc == undefined) { ctrl.up_mc = ctrl; ctrl.over_mc = ctrl; ctrl.down_mc = ctrl; ctrl.disabled_mc = ctrl; } else { ctrl._x = 0; ctrl._y = 0; ctrl.up_mc._x = 0; ctrl.up_mc._y = 0; ctrl.up_mc._visible = true; if (ctrl.over_mc == undefined) { ctrl.over_mc = ctrl.up_mc; } else { ctrl.over_mc._x = 0; ctrl.over_mc._y = 0; ctrl.over_mc._visible = false; } if (ctrl.down_mc == undefined) { ctrl.down_mc = ctrl.up_mc; } else { ctrl.down_mc._x = 0; ctrl.down_mc._y = 0; ctrl.down_mc._visible = false; } if (ctrl.disabled_mc == undefined) { ctrl.disabled_mc_mc = ctrl.up_mc; } else { ctrl.disabled_mc._x = 0; ctrl.disabled_mc._y = 0; ctrl.disabled_mc._visible = false; } } } function skinButtonControl(ctrl) { if (ctrl.onEnterFrame != undefined) { delete ctrl.onEnterFrame; ctrl.onEnterFrame = undefined; } if (ctrl.enabled) { switch (ctrl.state) { case UP_STATE : if (ctrl.up_mc == undefined) { ctrl.up_mc = ctrl.attachMovie(ctrl.upLinkageID, "up_mc", ctrl.getNextHighestDepth()); } applySkinState(ctrl, ctrl.up_mc); break; case OVER_STATE : if (ctrl.over_mc == undefined) { if (ctrl.overLinkageID == undefined) { ctrl.over_mc = ctrl.up_mc; } else { ctrl.over_mc = ctrl.attachMovie(ctrl.overLinkageID, "over_mc", ctrl.getNextHighestDepth()); } } applySkinState(ctrl, ctrl.over_mc); break; case DOWN_STATE : if (ctrl.down_mc == undefined) { if (ctrl.downLinkageID == undefined) { ctrl.down_mc = ctrl.up_mc; } else { ctrl.down_mc = ctrl.attachMovie(ctrl.downLinkageID, "down_mc", ctrl.getNextHighestDepth()); } } applySkinState(ctrl, ctrl.down_mc); } } else { ctrl.state = UP_STATE; if (ctrl.disabled_mc == undefined) { if (ctrl.disabledLinkageID == undefined) { ctrl.disabled_mc = ctrl.up_mc; } else { ctrl.disabled_mc = ctrl.attachMovie(ctrl.disabledLinkageID, "disabled_mc", ctrl.getNextHighestDepth()); } } applySkinState(ctrl, ctrl.disabled_mc); } if (ctrl.placeholder_mc != undefined) { ctrl.placeholder_mc.unloadMovie(); delete ctrl.placeholder_mc; ctrl.placeholder_mc = undefined; } } function applySkinState(ctrl, state) { if (state != ctrl.currentState_mc) { if (state != undefined) { state._visible = true; } if (ctrl.currentState_mc != undefined) { ctrl.currentState_mc._visible = false; } ctrl.currentState_mc = state; } } function addBarControl(controlIndex) { var _local2 = controls[controlIndex]; _local2.isDragging = false; _local2.percentage = 0; _local2.uiMgr = this; _local2.controlIndex = controlIndex; if (_local2._parent == skin_mc) { finishAddBarControl(controlIndex); } else { _local2.onEnterFrame = function () { this.uiMgr.finishAddBarControl(this.controlIndex); }; } } function finishAddBarControl(controlIndex) { var _local2 = controls[controlIndex]; delete _local2.onEnterFrame; _local2.onEnterFrame = undefined; if (_local2.addBarControl != undefined) { _local2.addBarControl(); } calcBarMargins(_local2, "handle", true); calcBarMargins(_local2, "progress", false); calcBarMargins(_local2.progress_mc, "fill", false); calcBarMargins(_local2.progress_mc, "mask", false); calcBarMargins(_local2, "fullness", false); calcBarMargins(_local2.fullness_mc, "fill", false); calcBarMargins(_local2.fullness_mc, "mask", false); _local2.origWidth = _local2._width; _local2.origHeight = _local2._height; fixUpBar(_local2, "progress"); if (_local2.progress_mc != undefined) { fixUpBar(_local2, "progressBarFill"); if (_progressPercent == undefined) { _progressPercent = (_vc.__get__isRTMP() ? 100 : 0); } positionBar(_local2, "progress", _progressPercent); } fixUpBar(_local2, "fullness"); if (_local2.fullness_mc != undefined) { fixUpBar(_local2, "fullnessBarFill"); } fixUpBar(_local2, "handle"); _local2.handle_mc.controlIndex = controlIndex; switch (controlIndex) { case SEEK_BAR : setControl(SEEK_BAR_HANDLE, _local2.handle_mc); break; case VOLUME_BAR : setControl(VOLUME_BAR_HANDLE, _local2.handle_mc); } positionHandle(controlIndex); } function fixUpBar(ctrl, type) { if ((ctrl[type + "LinkageID"] != undefined) && (ctrl[type + "LinkageID"].length > 0)) { var _local1; if (ctrl[type + "Below"]) { _local1 = -1; while (ctrl._parent.getInstanceAtDepth(_local1) != undefined) { _local1--; } } else { ctrl[type + "Below"] = false; _local1 = ctrl._parent.getNextHighestDepth(); } ctrl[type + "_mc"] = ctrl._parent.attachMovie(ctrl[type + "LinkageID"], type + "_mc", _local1); } } function calcBarMargins(ctrl, type, symmetricMargins) { var _local2 = ctrl[type + "_mc"]; if (_local2 == undefined) { return(undefined); } if ((ctrl[type + "LeftMargin"] == undefined) && (_local2._parent == ctrl._parent)) { ctrl[type + "LeftMargin"] = _local2._x - ctrl._x; } if (ctrl[type + "RightMargin"] == undefined) { if (symmetricMargins) { ctrl[type + "RightMargin"] = ctrl[type + "LeftMargin"]; } else if (_local2._parent == ctrl._parent) { ctrl[type + "RightMargin"] = ((ctrl._width - _local2._width) - _local2._x) + ctrl._x; } } if ((ctrl[type + "TopMargin"] == undefined) && (_local2._parent == ctrl._parent)) { ctrl[type + "TopMargin"] = _local2._y - ctrl._y; } if (ctrl[type + "BottomMargin"] == undefined) { if (symmetricMargins) { ctrl[type + "BottomMargin"] = ctrl[type + "TopMargin"]; } else if (_local2._parent == ctrl._parent) { ctrl[type + "BottomMargin"] = ((ctrl._height - _local2._height) - _local2._y) + ctrl._y; } } if (ctrl[type + "X"] == undefined) { if (_local2._parent == ctrl._parent) { ctrl[type + "X"] = _local2._x - ctrl._x; } else if (_local2._parent == ctrl) { ctrl[type + "X"] = _local2._x; } } if (ctrl[type + "Y"] == undefined) { if (_local2._parent == ctrl._parent) { ctrl[type + "Y"] = _local2._y - ctrl._y; } else if (_local2._parent == ctrl) { ctrl[type + "Y"] = _local2._y; } } ctrl[type + "XScale"] = _local2._xscale; ctrl[type + "YScale"] = _local2._yscale; ctrl[type + "Width"] = _local2._width; ctrl[type + "Height"] = _local2._height; } function finishAddBufferingBar() { var _local2 = controls[BUFFERING_BAR]; delete _local2.onEnterFrame; _local2.onEnterFrame = undefined; calcBarMargins(_local2, "fill", true); fixUpBar(_local2, "fill"); if (_local2.fill_mc != undefined) { positionMaskedFill(_local2, _local2.fill_mc, 100); } } function positionMaskedFill(ctrl, fill, percent) { var _local5 = fill._parent; var _local3 = ctrl.mask_mc; if (_local3 == undefined) { _local3 = _local5.createEmptyMovieClip(ctrl._name + "Mask_mc", _local5.getNextHighestDepth()); ctrl.mask_mc = _local3; _local3.beginFill(16777215); _local3.lineTo(0, 0); _local3.lineTo(1, 0); _local3.lineTo(1, 1); _local3.lineTo(0, 1); _local3.lineTo(0, 0); _local3.endFill(); fill.setMask(_local3); _local3._x = ctrl.fillX; _local3._y = ctrl.fillY; _local3._width = ctrl.fillWidth; _local3._height = ctrl.fillHeight; _local3._visible = false; calcBarMargins(ctrl, "mask", true); } if (_local5 == ctrl) { if (fill.slideReveal) { fill._x = (ctrl.maskX - ctrl.fillWidth) + ((ctrl.fillWidth * percent) / 100); } else { _local3._width = (ctrl.fillWidth * percent) / 100; } } else if (_local5 == ctrl._parent) { if (fill.slideReveal) { _local3._x = ctrl._x + ctrl.maskLeftMargin; _local3._y = ctrl._y + ctrl.maskTopMargin; _local3._width = (ctrl._width - ctrl.maskRightMargin) - ctrl.maskLeftMargin; _local3._height = (ctrl._height - ctrl.maskTopMargin) - ctrl.maskBottomMargin; fill._x = (_local3._x - ctrl.fillWidth) + ((ctrl.maskWidth * percent) / 100); fill._y = ctrl._y + ctrl.fillTopMargin; } else { fill._x = ctrl._x + ctrl.fillLeftMargin; fill._y = ctrl._y + ctrl.fillTopMargin; _local3._x = fill._x; _local3._y = fill._y; _local3._width = (((ctrl._width - ctrl.fillRightMargin) - ctrl.fillLeftMargin) * percent) / 100; _local3._height = (ctrl._height - ctrl.fillTopMargin) - ctrl.fillBottomMargin; } } } function startHandleDrag(controlIndex) { var _local2 = controls[controlIndex]; var _local5 = _local2.handle_mc; if ((_local2.startHandleDrag == undefined) || (!_local2.startHandleDrag())) { var _local3 = _local2._y + _local2.handleY; var _local4 = ((_local2.origWidth == undefined) ? (_local2._width) : (_local2.origWidth)); _local5.startDrag(false, _local2._x + _local2.handleLeftMargin, _local3, (_local2._x + _local4) - _local2.handleRightMargin, _local3); } _local2.isDragging = true; } function stopHandleDrag(controlIndex) { var _local2 = controls[controlIndex]; var _local3 = _local2.handle_mc; if ((_local2.stopHandleDrag == undefined) || (!_local2.stopHandleDrag())) { _local3.stopDrag(); } _local2.isDragging = false; } function positionHandle(controlIndex) { var _local2 = controls[controlIndex]; var _local3 = _local2.handle_mc; if (_local3 == undefined) { return(undefined); } if ((_local2.positionHandle != undefined) && (_local2.positionHandle())) { return(undefined); } var _local4 = ((_local2.origWidth == undefined) ? (_local2._width) : (_local2.origWidth)); var _local5 = (_local4 - _local2.handleRightMargin) - _local2.handleLeftMargin; _local3._x = (_local2._x + _local2.handleLeftMargin) + ((_local5 * _local2.percentage) / 100); _local3._y = _local2._y + _local2.handleY; if (_local2.fullness_mc != undefined) { positionBar(_local2, "fullness", _local2.percentage); } } function positionBar(ctrl, type, percent) { if ((ctrl.positionBar != undefined) && (ctrl.positionBar(type, percent))) { return(undefined); } var _local2 = ctrl[type + "_mc"]; if (_local2._parent == ctrl) { if (_local2.fill_mc == undefined) { _local2._xscale = (ctrl[type + "XScale"] * percent) / 100; } else { positionMaskedFill(_local2, _local2.fill_mc, percent); } } else { _local2._x = ctrl._x + ctrl[type + "LeftMargin"]; _local2._y = ctrl._y + ctrl[type + "Y"]; if (_local2.fill_mc == undefined) { _local2._width = (((ctrl._width - ctrl[type + "LeftMargin"]) - ctrl[type + "RightMargin"]) * percent) / 100; } else { positionMaskedFill(_local2, _local2.fill_mc, percent); } } } function calcPercentageFromHandle(controlIndex) { var _local2 = controls[controlIndex]; var _local5 = _local2.handle_mc; if ((_local2.calcPercentageFromHandle == undefined) || (!_local2.calcPercentageFromHandle())) { var _local3 = ((_local2.origWidth == undefined) ? (_local2._width) : (_local2.origWidth)); var _local6 = (_local3 - _local2.handleRightMargin) - _local2.handleLeftMargin; var _local4 = _local5._x - (_local2._x + _local2.handleLeftMargin); _local2.percentage = (_local4 / _local6) * 100; if (_local2.fullness_mc != undefined) { positionBar(_local2, "fullness", _local2.percentage); } } if (_local2.percentage < 0) { _local2.percentage = 0; } if (_local2.percentage > 100) { _local2.percentage = 100; } } function handleRelease(controlIndex) { var _local3 = _vc.__get__activeVideoPlayerIndex(); _vc.__set__activeVideoPlayerIndex(_vc.visibleVideoPlayerIndex); if (controlIndex == SEEK_BAR) { seekBarListener(true); } else if (controlIndex == VOLUME_BAR) { volumeBarListener(true); } stopHandleDrag(controlIndex); _vc.__set__activeVideoPlayerIndex(_local3); if (controlIndex == SEEK_BAR) { _vc._scrubFinish(); } } function seekBarListener(finish) { var _local3 = _vc.__get__activeVideoPlayerIndex(); _vc.__set__activeVideoPlayerIndex(_vc.visibleVideoPlayerIndex); var _local4 = controls[SEEK_BAR]; calcPercentageFromHandle(SEEK_BAR); var _local2 = _local4.percentage; if (finish) { clearInterval(_seekBarIntervalID); _seekBarIntervalID = 0; if (_local2 != _lastScrubPos) { _vc.seekPercent(_local2); } _vc.addEventListener("playheadUpdate", this); if (_playAfterScrub) { _vc.play(); } } else if (_vc.getVideoPlayer(_vc.__get__visibleVideoPlayerIndex()).__get__state() == mx.video.VideoPlayer.SEEKING) { } else if ((((_seekBarScrubTolerance <= 0) || (Math.abs(_local2 - _lastScrubPos) > _seekBarScrubTolerance)) || (_local2 < _seekBarScrubTolerance)) || (_local2 > (100 - _seekBarScrubTolerance))) { if (_local2 != _lastScrubPos) { _lastScrubPos = _local2; _vc.seekPercent(_local2); } } _vc.__set__activeVideoPlayerIndex(_local3); } function volumeBarListener(finish) { var _local3 = controls[VOLUME_BAR]; calcPercentageFromHandle(VOLUME_BAR); var _local2 = _local3.percentage; if (finish) { clearInterval(_volumeBarIntervalID); _volumeBarIntervalID = 0; _vc.addEventListener("volumeUpdate", this); } if ((((finish || (_volumeBarScrubTolerance <= 0)) || (Math.abs(_local2 - _lastVolumePos) > _volumeBarScrubTolerance)) || (_local2 < _volumeBarScrubTolerance)) || (_local2 > (100 - _volumeBarScrubTolerance))) { if (_local2 != _lastVolumePos) { if (_isMuted) { cachedSoundLevel = _local2; } else { _vc.__set__volume(_local2); } } } } function doBufferingDelay() { clearInterval(_bufferingDelayIntervalID); _bufferingDelayIntervalID = 0; var _local2 = _vc.__get__activeVideoPlayerIndex(); _vc.__set__activeVideoPlayerIndex(_vc.visibleVideoPlayerIndex); if (_vc.__get__state() == mx.video.FLVPlayback.BUFFERING) { _bufferingOn = true; handleEvent({type:"stateChange", state:mx.video.FLVPlayback.BUFFERING, vp:_vc.__get__visibleVideoPlayerIndex()}); } _vc.__set__activeVideoPlayerIndex(_local2); } function dispatchMessage(ctrl) { if (ctrl.id == SEEK_BAR_HANDLE) { _vc._scrubStart(); } var _local2 = _vc.__get__activeVideoPlayerIndex(); _vc.__set__activeVideoPlayerIndex(_vc.visibleVideoPlayerIndex); switch (ctrl.id) { case PAUSE_BUTTON : _vc.pause(); break; case PLAY_BUTTON : _vc.play(); break; case STOP_BUTTON : _vc.stop(); break; case SEEK_BAR_HANDLE : calcPercentageFromHandle(SEEK_BAR); _lastScrubPos = controls[SEEK_BAR].percentage; _vc.removeEventListener("playheadUpdate", this); if (_vc.__get__playing() || (_vc.__get__buffering())) { _playAfterScrub = true; } else if (_vc.__get__state() != mx.video.VideoPlayer.SEEKING) { _playAfterScrub = false; } _seekBarIntervalID = setInterval(this, "seekBarListener", _seekBarInterval, false); startHandleDrag(SEEK_BAR, SEEK_BAR_HANDLE); _vc.pause(); break; case VOLUME_BAR_HANDLE : calcPercentageFromHandle(VOLUME_BAR); _lastVolumePos = controls[VOLUME_BAR].percentage; _vc.removeEventListener("volumeUpdate", this); _volumeBarIntervalID = setInterval(this, "volumeBarListener", _volumeBarInterval, false); startHandleDrag(VOLUME_BAR, VOLUME_BAR_HANDLE); break; case BACK_BUTTON : _vc.seekToPrevNavCuePoint(); break; case FORWARD_BUTTON : _vc.seekToNextNavCuePoint(); break; case MUTE_ON_BUTTON : case MUTE_OFF_BUTTON : if (!_isMuted) { _isMuted = true; cachedSoundLevel = _vc.volume; _vc.__set__volume(0); } else { _isMuted = false; _vc.__set__volume(cachedSoundLevel); } setEnabledAndVisibleForState(MUTE_OFF_BUTTON, mx.video.FLVPlayback.PLAYING); skinButtonControl(controls[MUTE_OFF_BUTTON]); setEnabledAndVisibleForState(MUTE_ON_BUTTON, mx.video.FLVPlayback.PLAYING); skinButtonControl(controls[MUTE_ON_BUTTON]); break; default : throw new Error("Unknown ButtonControl"); } _vc.__set__activeVideoPlayerIndex(_local2); } function setEnabledAndVisibleForState(index, state) { var _local5 = _vc.__get__activeVideoPlayerIndex(); _vc.__set__activeVideoPlayerIndex(_vc.visibleVideoPlayerIndex); var _local3 = state; if ((_local3 == mx.video.FLVPlayback.BUFFERING) && (!_bufferingOn)) { _local3 = mx.video.FLVPlayback.PLAYING; } switch (index) { case VOLUME_BAR : case VOLUME_BAR_HANDLE : controls[index].myEnabled = true; controls[index].enabled = _controlsEnabled; break; case MUTE_ON_BUTTON : controls[index].myEnabled = !_isMuted; if (controls[MUTE_BUTTON] != undefined) { controls[index]._visible = controls[index].myEnabled; } break; case MUTE_OFF_BUTTON : controls[index].myEnabled = _isMuted; if (controls[MUTE_BUTTON] != undefined) { controls[index]._visible = controls[index].myEnabled; } break; default : switch (_local3) { case mx.video.FLVPlayback.LOADING : case mx.video.FLVPlayback.CONNECTION_ERROR : controls[index].myEnabled = false; break; case mx.video.FLVPlayback.DISCONNECTED : controls[index].myEnabled = _vc.__get__contentPath() != undefined; break; case mx.video.FLVPlayback.SEEKING : break; default : controls[index].myEnabled = true; } } switch (index) { case SEEK_BAR : switch (_local3) { case mx.video.FLVPlayback.STOPPED : case mx.video.FLVPlayback.PLAYING : case mx.video.FLVPlayback.PAUSED : case mx.video.FLVPlayback.REWINDING : case mx.video.FLVPlayback.SEEKING : controls[index].myEnabled = true; break; case mx.video.FLVPlayback.BUFFERING : controls[index].myEnabled = (!_bufferingBarHides) || (controls[BUFFERING_BAR] == undefined); break; default : controls[index].myEnabled = false; } if (controls[index].myEnabled) { controls[index].myEnabled = (!isNaN(_vc.__get__totalTime())) && (_vc.__get__totalTime() > 0); } controls[index].handle_mc.myEnabled = controls[index].myEnabled; controls[index].handle_mc.enabled = controls[index].handle_mc.myEnabled; controls[index].handle_mc._visible = controls[index].myEnabled; var _local4 = (((!_bufferingBarHides) || (controls[index].myEnabled)) || (controls[BUFFERING_BAR] == undefined)) || (!controls[BUFFERING_BAR]._visible); controls[index]._visible = _local4; controls[index].progress_mc._visible = _local4; controls[index].progress_mc.fill_mc._visible = _local4; controls[index].fullness_mc._visible = _local4; controls[index].progress_mc.fill_mc._visible = _local4; break; case BUFFERING_BAR : switch (_local3) { case mx.video.FLVPlayback.STOPPED : case mx.video.FLVPlayback.PLAYING : case mx.video.FLVPlayback.PAUSED : case mx.video.FLVPlayback.REWINDING : case mx.video.FLVPlayback.SEEKING : controls[index].myEnabled = false; break; default : controls[index].myEnabled = true; } controls[index]._visible = controls[index].myEnabled; controls[index].fill_mc._visible = controls[index].myEnabled; break; case PAUSE_BUTTON : switch (_local3) { case mx.video.FLVPlayback.DISCONNECTED : case mx.video.FLVPlayback.STOPPED : case mx.video.FLVPlayback.PAUSED : case mx.video.FLVPlayback.REWINDING : controls[index].myEnabled = false; break; case mx.video.FLVPlayback.PLAYING : controls[index].myEnabled = true; break; case mx.video.FLVPlayback.BUFFERING : controls[index].myEnabled = (!_bufferingBarHides) || (controls[BUFFERING_BAR] == undefined); } if (controls[PLAY_PAUSE_BUTTON] != undefined) { controls[index]._visible = controls[index].myEnabled; } break; case PLAY_BUTTON : switch (_local3) { case mx.video.FLVPlayback.PLAYING : controls[index].myEnabled = false; break; case mx.video.FLVPlayback.STOPPED : case mx.video.FLVPlayback.PAUSED : controls[index].myEnabled = true; break; case mx.video.FLVPlayback.BUFFERING : controls[index].myEnabled = (!_bufferingBarHides) || (controls[BUFFERING_BAR] == undefined); } if (controls[PLAY_PAUSE_BUTTON] != undefined) { controls[index]._visible = !controls[PAUSE_BUTTON]._visible; } break; case STOP_BUTTON : switch (_local3) { case mx.video.FLVPlayback.DISCONNECTED : case mx.video.FLVPlayback.STOPPED : controls[index].myEnabled = false; break; case mx.video.FLVPlayback.PAUSED : case mx.video.FLVPlayback.PLAYING : case mx.video.FLVPlayback.BUFFERING : controls[index].myEnabled = true; } break; case BACK_BUTTON : case FORWARD_BUTTON : if (!(_local3 === mx.video.FLVPlayback.BUFFERING)) { } else { controls[index].myEnabled = (!_bufferingBarHides) || (controls[BUFFERING_BAR] == undefined); } } controls[index].enabled = _controlsEnabled && (controls[index].myEnabled); _vc.__set__activeVideoPlayerIndex(_local5); } function setupSkinAutoHide() { var _local2 = _vc.getVideoPlayer(_vc.__get__visibleVideoPlayerIndex()); if (_skinAutoHide && (skin_mc != undefined)) { skinAutoHideHitTest(); if (_skinAutoHideIntervalID == 0) { _skinAutoHideIntervalID = setInterval(this, "skinAutoHideHitTest", SKIN_AUTO_HIDE_INTERVAL); } } else { skin_mc._visible = __visible; clearInterval(_skinAutoHideIntervalID); _skinAutoHideIntervalID = 0; } } function skinAutoHideHitTest() { if (!__visible) { skin_mc._visible = false; } else { var _local4 = _vc.getVideoPlayer(_vc.__get__visibleVideoPlayerIndex()); var _local3 = _local4.hitTest(_root._xmouse, _root._ymouse, true); if ((!_local3) && (border_mc != undefined)) { _local3 = border_mc.hitTest(_root._xmouse, _root._ymouse, true); } skin_mc._visible = _local3; } } static var version = "1.0.0.103"; static var PAUSE_BUTTON = 0; static var PLAY_BUTTON = 1; static var STOP_BUTTON = 2; static var SEEK_BAR_HANDLE = 3; static var BACK_BUTTON = 4; static var FORWARD_BUTTON = 5; static var MUTE_ON_BUTTON = 6; static var MUTE_OFF_BUTTON = 7; static var VOLUME_BAR_HANDLE = 8; static var NUM_BUTTONS = 9; static var PLAY_PAUSE_BUTTON = 9; static var MUTE_BUTTON = 10; static var BUFFERING_BAR = 11; static var SEEK_BAR = 12; static var VOLUME_BAR = 13; static var NUM_CONTROLS = 14; static var UP_STATE = 0; static var OVER_STATE = 1; static var DOWN_STATE = 2; static var SKIN_AUTO_HIDE_INTERVAL = 200; static var VOLUME_BAR_INTERVAL_DEFAULT = 250; static var VOLUME_BAR_SCRUB_TOLERANCE_DEFAULT = 0; static var SEEK_BAR_INTERVAL_DEFAULT = 250; static var SEEK_BAR_SCRUB_TOLERANCE_DEFAULT = 5; static var BUFFERING_DELAY_INTERVAL_DEFAULT = 1000; }
Symbol 22 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object { var func; function Delegate (f) { super(); func = f; } static function create(obj, func) { var _local2 = function () { var _local2 = arguments.callee.target; var _local3 = arguments.callee.func; return(_local3.apply(_local2, arguments)); }; _local2.target = obj; _local2.func = func; return(_local2); } function createDelegate(obj) { return(create(obj, func)); } }
Symbol 23 MovieClip [__Packages.mx.video.SMILManager] Frame 0
class mx.video.SMILManager { var _owner, _url, xml, baseURLAttr, videoTags, width, height; function SMILManager (owner) { _owner = owner; } function connectXML(url) { _url = url; xml = new XML(); xml.onLoad = mx.utils.Delegate.create(this, xmlOnLoad); xml.load(url); return(false); } function xmlOnLoad(success) { try { if (!success) { _owner.helperDone(this, false); } else { baseURLAttr = new Array(); videoTags = new Array(); var _local4 = xml.firstChild; if (_local4.nodeName == null) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ("URL: \"" + _url) + "\" No root node found; if file is an flv it must have .flv extension"); } else if (_local4.nodeName.toLowerCase() != "smil") { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, (("URL: \"" + _url) + "\" Root node not smil: ") + _local4.nodeName); } var _local5 = false; var _local3 = 0; while (_local3 < _local4.childNodes.length) { var _local2 = _local4.childNodes[_local3]; if (_local2.nodeType != ELEMENT_NODE) { } else if (_local2.nodeName.toLowerCase() == "head") { parseHead(_local2); } else if (_local2.nodeName.toLowerCase() == "body") { _local5 = true; parseBody(_local2); } else { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ((((("URL: \"" + _url) + "\" Tag ") + _local2.nodeName) + " not supported in ") + _local4.nodeName) + " tag."); } _local3++; } if (!_local5) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ("URL: \"" + _url) + "\" Tag body is required."); } _owner.helperDone(this, true); } } catch(err:Error) { _owner.helperDone(this, false); throw err; } } function parseHead(parentNode) { var _local4 = false; var _local3 = 0; while (_local3 < parentNode.childNodes.length) { var _local2 = parentNode.childNodes[_local3]; if (_local2.nodeType != ELEMENT_NODE) { } else if (_local2.nodeName.toLowerCase() == "meta") { for (var _local6 in _local2.attributes) { if (_local6.toLowerCase() == "base") { baseURLAttr.push(_local2.attributes[_local6]); } else { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ((((("URL: \"" + _url) + "\" Attribute ") + _local6) + " not supported in ") + _local2.nodeName) + " tag."); } } } else if (_local2.nodeName.toLowerCase() == "layout") { if (!_local4) { parseLayout(_local2); _local4 = true; } } _local3++; } } function parseLayout(parentNode) { var _local3 = 0; while (_local3 < parentNode.childNodes.length) { var _local2 = parentNode.childNodes[_local3]; if (_local2.nodeType != ELEMENT_NODE) { } else if (_local2.nodeName.toLowerCase() == "root-layout") { for (var _local5 in _local2.attributes) { if (_local5.toLowerCase() == "width") { width = Number(_local2.attributes[_local5]); } else if (_local5.toLowerCase() == "height") { height = Number(_local2.attributes[_local5]); } } if (((isNaN(width) || (width < 0)) || (isNaN(height))) || (height < 0)) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ((("URL: \"" + _url) + "\" Tag ") + _local2.nodeName) + " requires attributes id, width and height. Width and height must be numbers greater than or equal to 0."); } width = Math.round(width); height = Math.round(height); return(undefined); } _local3++; } } function parseBody(parentNode) { var _local6 = 0; var _local3 = 0; while (_local3 < parentNode.childNodes.length) { var _local2 = parentNode.childNodes[_local3]; if (_local2.nodeType != ELEMENT_NODE) { } else { _local6++; if (_local6 > 1) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ((("URL: \"" + _url) + "\" Tag ") + parentNode.nodeName) + " is required to contain exactly one tag."); } if (_local2.nodeName.toLowerCase() == "switch") { parseSwitch(_local2); } else if ((_local2.nodeName.toLowerCase() == "video") || (_local2.nodeName.toLowerCase() == "ref")) { var _local5 = parseVideo(_local2); videoTags.push(_local5); } } _local3++; } if (videoTags.length < 1) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ("URL: \"" + _url) + "\" At least one video of ref tag is required."); } } function parseSwitch(parentNode) { var _local4 = 0; while (_local4 < parentNode.childNodes.length) { var _local5 = parentNode.childNodes[_local4]; if (_local5.nodeType != ELEMENT_NODE) { } else if ((_local5.nodeName.toLowerCase() == "video") || (_local5.nodeName.toLowerCase() == "ref")) { var _local3 = parseVideo(_local5); if (_local3.bitrate == undefined) { videoTags.push(_local3); } else { var _local6 = false; var _local2 = 0; while (_local2 < videoTags.length) { if ((videoTags[_local2].bitrate == undefined) || (_local3.bitrate < videoTags[_local4].bitrate)) { _local6 = true; videoTags.splice(_local2, 0, videoTags); break; } _local2++; } if (!_local6) { videoTags.push(_local3); } } } _local4++; } } function parseVideo(node) { var _local3 = new Object(); for (var _local4 in node.attributes) { if (_local4.toLowerCase() == "src") { _local3.src = node.attributes[_local4]; } else if (_local4.toLowerCase() == "system-bitrate") { _local3.bitrate = Number(node.attributes[_local4]); } else if (_local4.toLowerCase() == "dur") { _local3.dur = Number(node.attributes[_local4]); } } if (_local3.src == undefined) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, ((("URL: \"" + _url) + "\" Attribute src is required in ") + node.nodeName) + " tag."); } return(_local3); } static var version = "1.0.0.103"; static var ELEMENT_NODE = 1; }
Symbol 24 MovieClip [__Packages.mx.video.NCManager] Frame 0
class mx.video.NCManager implements mx.video.INCManager { var _timeoutIntervalId, _tryNCIntervalId, _timeout, _isRTMP, _serverName, _wrappedURL, _portNumber, _appName, _contentPath, _streamName, _streamLength, _streamWidth, _streamHeight, _streams, _autoSenseBW, _payload, _connTypeCounter, _bitrate, _owner, _nc, _protocol, _smilMgr, _ncUri, fallbackServerName, _tryNC; function NCManager () { initNCInfo(); initOtherInfo(); _timeoutIntervalId = 0; _tryNCIntervalId = 0; _timeout = DEFAULT_TIMEOUT; } function initNCInfo() { _isRTMP = undefined; _serverName = undefined; _wrappedURL = undefined; _portNumber = undefined; _appName = undefined; } function initOtherInfo() { _contentPath = undefined; _streamName = undefined; _streamLength = undefined; _streamWidth = undefined; _streamHeight = undefined; _streams = undefined; _autoSenseBW = false; _payload = 0; _connTypeCounter = 0; cleanConns(); } function getTimeout() { return(_timeout); } function setTimeout(t) { _timeout = t; if (_timeoutIntervalId != 0) { clearInterval(_timeoutIntervalId); _timeoutIntervalId = setInterval(this, "_onFCSConnectTimeOut", _timeout); } } function getBitrate() { return(_bitrate); } function setBitrate(b) { if ((_isRTMP == undefined) || (!_isRTMP)) { _bitrate = b; } } function getVideoPlayer() { return(_owner); } function setVideoPlayer(v) { _owner = v; } function getNetConnection() { return(_nc); } function getStreamName() { return(_streamName); } function isRTMP() { return(_isRTMP); } function getStreamLength() { return(_streamLength); } function getStreamWidth() { return(_streamWidth); } function getStreamHeight() { return(_streamHeight); } function connectToURL(url) { initOtherInfo(); _contentPath = url; if (((_contentPath == null) || (_contentPath == undefined)) || (_contentPath == "")) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_CONTENT_PATH); } var _local2 = parseURL(_contentPath); if ((_local2.streamName == undefined) || (_local2.streamName == "")) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_CONTENT_PATH, url); } if (_local2.isRTMP) { var _local3 = canReuseOldConnection(_local2); _isRTMP = true; _protocol = _local2.protocol; _streamName = _local2.streamName; _serverName = _local2.serverName; _wrappedURL = _local2.wrappedURL; _portNumber = _local2.portNumber; _appName = _local2.appName; if ((((_appName == undefined) || (_appName == "")) || (_streamName == undefined)) || (_streamName == "")) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_CONTENT_PATH, url); } _autoSenseBW = _streamName.indexOf(",") != -1; return(_local3 || (connectRTMP())); } if (_local2.streamName.slice(-4).toLowerCase() == ".flv") { var _local3 = canReuseOldConnection(_local2); _isRTMP = false; _streamName = _local2.streamName; return(_local3 || (connectHTTP())); } _smilMgr = new mx.video.SMILManager(this); return(_smilMgr.connectXML(_local2.streamName)); } function connectAgain() { var _local2 = _appName.indexOf("/"); if (_local2 < 0) { _local2 = _streamName.indexOf("/"); if (_local2 >= 0) { _appName = _appName + "/"; _appName = _appName + _streamName.slice(0, _local2); _streamName = _streamName.slice(_local2 + 1); } return(false); } var _local3 = _appName.slice(_local2 + 1); _local3 = _local3 + "/"; _local3 = _local3 + _streamName; _streamName = _local3; _appName = _appName.slice(0, _local2); close(); _payload = 0; _connTypeCounter = 0; cleanConns(); connectRTMP(); return(true); } function reconnect() { if (!_isRTMP) { throw new Error("Cannot call reconnect on an http connection"); } _nc.onStatus = function (info) { this.mc.reconnectOnStatus(this, info); }; _nc.onBWDone = function () { this.mc.onReconnected(); }; _nc.connect(_ncUri, false); } function onReconnected() { delete _nc.onStatus; delete _nc.onBWDone; _owner.ncReconnected(); } function close() { if (_nc) { _nc.close(); } } function helperDone(helper, success) { if (helper != _smilMgr) { return(undefined); } if (!success) { _nc = undefined; _owner.ncConnected(); delete _smilMgr; return(undefined); } _streamWidth = _smilMgr.width; _streamHeight = _smilMgr.height; var _local2; var _local4 = _smilMgr.baseURLAttr[0]; if ((_local4 != undefined) && (_local4 != "")) { _local2 = parseURL(_local4); _isRTMP = _local2.isRTMP; _streamName = _local2.streamName; if (_isRTMP) { _protocol = _local2.protocol; _serverName = _local2.serverName; _portNumber = _local2.portNumber; _wrappedURL = _local2.wrappedURL; _appName = _local2.appName; if ((_appName == undefined) || (_appName == "")) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, "Base RTMP URL must include application name: " + _local4); } if (_smilMgr.baseURLAttr.length > 1) { _local2 = parseURL(_smilMgr.baseURLAttr[1]); if (_local2.serverName != undefined) { fallbackServerName = _local2.serverName; } } } } _streams = _smilMgr.videoTags; var _local3 = 0; while (_local3 < _streams.length) { _local4 = _streams[_local3].src; _local2 = parseURL(_local4); if (_isRTMP == undefined) { _isRTMP = _local2.isRTMP; if (_isRTMP) { _protocol = _local2.protocol; if (_streams.length > 1) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, "Cannot switch between multiple absolute RTMP URLs, must use meta tag base attribute."); } _serverName = _local2.serverName; _portNumber = _local2.portNumber; _wrappedURL = _local2.wrappedURL; _appName = _local2.appName; if ((_appName == undefined) || (_appName == "")) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, "Base RTMP URL must include application name: " + _local4); } } } else if ((((_streamName != undefined) && (_streamName != "")) && (!_local2.isRelative)) && (_streams.length > 1)) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_XML, "When using meta tag base attribute, cannot use absolute URLs for video or ref tag src attributes."); } _streams[_local3].parseResults = _local2; _local3++; } _autoSenseBW = _streams.length > 1; if (!_autoSenseBW) { if (_streamName != undefined) { _streamName = _streamName + _streams[0].parseResults.streamName; } else { _streamName = _streams[0].parseResults.streamName; } _streamLength = _streams[0].dur; } if (_isRTMP) { connectRTMP(); } else { if (_autoSenseBW) { bitrateMatch(); } connectHTTP(); _owner.ncConnected(); } } function bitrateMatch() { var _local3; if (isNaN(_bitrate)) { _local3 = 0; } else { var _local2 = 0; while (_local2 < _streams.length) { if (isNaN(_streams[_local2].bitrate) || (_bitrate <= _streams[_local2].bitrate)) { _local3 = _local2; break; } _local2++; } } if (isNaN(_local3)) { throw new mx.video.VideoError(mx.video.VideoError.NO_BITRATE_MATCH); } if (_streamName != undefined) { _streamName = _streamName + _streams[_local3].src; } else { _streamName = _streams[_local3].src; } _streamLength = _streams[_local3].dur; } function parseURL(url) { var _local2 = new Object(); var _local3 = 0; var _local4 = url.indexOf(":/", _local3); if (_local4 >= 0) { _local4 = _local4 + 2; _local2.protocol = url.slice(_local3, _local4); _local2.isRelative = false; } else { _local2.isRelative = true; } if ((_local2.protocol != undefined) && (((_local2.protocol == "rtmp:/") || (_local2.protocol == "rtmpt:/")) || (_local2.protocol == "rtmps:/"))) { _local2.isRTMP = true; _local3 = _local4; if (url.charAt(_local3) == "/") { _local3++; var _local7 = url.indexOf(":", _local3); var _local8 = url.indexOf("/", _local3); if (_local8 < 0) { if (_local7 < 0) { _local2.serverName = url.slice(_local3); } else { _local4 = _local7; _local2.portNumber = url.slice(_local3, _local4); _local3 = _local4 + 1; _local2.serverName = url.slice(_local3); } return(_local2); } if ((_local7 >= 0) && (_local7 < _local8)) { _local4 = _local7; _local2.serverName = url.slice(_local3, _local4); _local3 = _local4 + 1; _local4 = _local8; _local2.portNumber = url.slice(_local3, _local4); } else { _local4 = _local8; _local2.serverName = url.slice(_local3, _local4); } _local3 = _local4 + 1; } if (url.charAt(_local3) == "?") { var _local9 = url.slice(_local3 + 1); var _local6 = parseURL(_local9); if ((_local6.protocol == undefined) || (!_local6.isRTMP)) { throw new mx.video.VideoError(mx.video.VideoError.INVALID_CONTENT_PATH, url); } _local2.wrappedURL = "?"; _local2.wrappedURL = _local2.wrappedURL + _local6.protocol; if (_local6.server != undefined) { _local2.wrappedURL = _local2.wrappedURL + "/"; _local2.wrappedURL = _local2.wrappedURL + _local6.server; } if (_local6.wrappedURL != undefined) { _local2.wrappedURL = _local2.wrappedURL + "/?"; _local2.wrappedURL = _local2.wrappedURL + _local6.wrappedURL; } _local2.appName = _local6.appName; _local2.streamName = _local6.streamName; return(_local2); } _local4 = url.indexOf("/", _local3); if (_local4 < 0) { _local2.appName = url.slice(_local3); return(_local2); } _local2.appName = url.slice(_local3, _local4); _local3 = _local4 + 1; _local4 = url.indexOf("/", _local3); if (_local4 < 0) { _local2.streamName = url.slice(_local3); return(_local2); } _local2.appName = _local2.appName + "/"; _local2.appName = _local2.appName + url.slice(_local3, _local4); _local3 = _local4 + 1; _local2.streamName = url.slice(_local3); } else { _local2.isRTMP = false; _local2.streamName = url; } return(_local2); } function canReuseOldConnection(parseResults) { if ((_nc == undefined) || (_nc == null)) { return(false); } if (!parseResults.isRTMP) { if (!_isRTMP) { return(true); } _owner.close(); _nc = null; initNCInfo(); return(false); } if (_isRTMP) { if (((((parseResults.serverName == _serverName) && (parseResults.appName == _appName)) && (parseResults.protocol == _protocol)) && (parseResults.portNumber == _portNumber)) && (parseResults.wrappedURL == _wrappedURL)) { return(true); } _owner.close(); _nc = null; } initNCInfo(); return(false); } function connectHTTP() { _nc = new NetConnection(); _nc.connect(null); return(true); } function connectRTMP() { clearInterval(_timeoutIntervalId); _timeoutIntervalId = setInterval(this, "_onFCSConnectTimeOut", _timeout); _tryNC = new Array(); var _local2 = 0; while (_local2 < RTMP_CONN.length) { _tryNC[_local2] = new NetConnection(); _tryNC[_local2].mc = this; _tryNC[_local2].pending = false; _tryNC[_local2].connIndex = _local2; _tryNC[_local2].onBWDone = function (p_bw) { this.mc.onConnected(this, p_bw); }; _tryNC[_local2].onBWCheck = function () { return(++this.mc._payload); }; _tryNC[_local2].onStatus = function (info) { this.mc.connectOnStatus(this, info); }; _local2++; } nextConnect(); return(false); } function nextConnect() { clearInterval(_tryNCIntervalId); _tryNCIntervalId = 0; var _local4; var _local3; if (_connTypeCounter == 0) { _local4 = _protocol; if (_portNumber != undefined) { _local3 = _portNumber; } else { var _local2 = 0; while (_local2 < RTMP_CONN.length) { if (_local4 == RTMP_CONN[_local2].protocol) { _local3 = RTMP_CONN[_local2].port; break; } _local2++; } } } else { _local4 = RTMP_CONN[_connTypeCounter].protocol; _local3 = RTMP_CONN[_connTypeCounter].port; } var _local5 = ((_local4 + ((_serverName == undefined) ? "" : (((("/" + _serverName) + ":") + _local3) + "/"))) + ((_wrappedURL == undefined) ? "" : (_wrappedURL + "/"))) + _appName; _tryNC[_connTypeCounter].pending = true; _tryNC[_connTypeCounter].connect(_local5, _autoSenseBW); if (_connTypeCounter < (RTMP_CONN.length - 1)) { _connTypeCounter++; _tryNCIntervalId = setInterval(this, "nextConnect", 1500); } } function cleanConns() { clearInterval(_tryNCIntervalId); _tryNCIntervalId = 0; if (_tryNC != undefined) { var _local2 = 0; while (_local2 < _tryNC.length) { if (_tryNC[_local2] != undefined) { delete _tryNC[_local2].onStatus; if (_tryNC[_local2].pending) { _tryNC[_local2].onStatus = function (info) { this.mc.disconnectOnStatus(this, info); }; } else { delete _tryNC[_local2].onStatus; _tryNC[_local2].close(); } } delete _tryNC[_local2]; _local2++; } delete _tryNC; } } function tryFallBack() { if (((_serverName == fallbackServerName) || (fallbackServerName == undefined)) || (fallbackServerName == null)) { delete _nc; _nc = undefined; _owner.ncConnected(); } else { _connTypeCounter = 0; cleanConns(); _serverName = fallbackServerName; connectRTMP(); } } function onConnected(p_nc, p_bw) { clearInterval(_timeoutIntervalId); _timeoutIntervalId = 0; delete p_nc.onBWDone; delete p_nc.onBWCheck; delete p_nc.onStatus; _nc = p_nc; _ncUri = _nc.uri; if (_autoSenseBW) { _bitrate = p_bw * 1024; if (_streams != undefined) { bitrateMatch(); } else if (_streamName.indexOf(",") != -1) { var _local3 = _streamName.split(","); var _local2 = 0; while (_local2 < _local3.length) { var _local4 = stripFrontAndBackWhiteSpace(_local3[_local2]); if ((_local2 + 1) < _local3.length) { if (p_bw <= Number(_local3[_local2 + 1])) { _streamName = _local4; break; } } else { _streamName = _local4; break; } _local2 = _local2 + 2; } } } if (_streamName.slice(-4).toLowerCase() == ".flv") { _streamName = _streamName.slice(0, -4); } if ((!_owner.__get__isLive()) && (_streamLength == undefined)) { var _local6 = new Object(); _local6.mc = this; _local6.onResult = function (length) { this.mc.getStreamLengthResult(length); }; _nc.call("getStreamLength", _local6, _streamName); } else { _owner.ncConnected(); } } function connectOnStatus(target, info) { target.pending = false; if (info.code == "NetConnection.Connect.Success") { _nc = _tryNC[target.connIndex]; _tryNC[target.connIndex] = undefined; cleanConns(); } else if (((info.code == "NetConnection.Connect.Failed") || (info.code == "NetConnection.Connect.Rejected")) && (target.connIndex == (RTMP_CONN.length - 1))) { if (!connectAgain()) { tryFallBack(); } } } function reconnectOnStatus(target, info) { if ((info.code == "NetConnection.Connect.Failed") || (info.code == "NetConnection.Connect.Rejected")) { delete _nc; _nc = undefined; _owner.ncReconnected(); } } function disconnectOnStatus(target, info) { if (info.code == "NetConnection.Connect.Success") { delete target.onStatus; target.close(); } } function getStreamLengthResult(length) { _streamLength = length; _owner.ncConnected(); } function _onFCSConnectTimeOut() { cleanConns(); _nc = undefined; if (!connectAgain()) { _owner.ncConnected(); } } static function stripFrontAndBackWhiteSpace(p_str) { var _local1; var _local2 = p_str.length; var _local4 = 0; var _local5 = _local2; _local1 = 0; while (_local1 < _local2) { switch (p_str.charCodeAt(_local1)) { case 9 : case 10 : case 13 : case 32 : break; default : _local4 = _local1; break;!//outer level } _local1++; } _local1 = _local2; while (_local1 >= 0) { switch (p_str.charCodeAt(_local1)) { case 9 : case 10 : case 13 : case 32 : break; default : _local5 = _local1 + 1; break;!//outer level } _local1--; } if (_local5 <= _local4) { return(""); } return(p_str.slice(_local4, _local5)); } static var version = "1.0.0.103"; var DEFAULT_TIMEOUT = 60000; static var RTMP_CONN = [{protocol:"rtmp:/", port:"1935"}, {protocol:"rtmp:/", port:"443"}, {protocol:"rtmpt:/", port:"80"}, {protocol:"rtmps:/", port:"443"}]; }
Symbol 25 MovieClip [__Packages.mx.video.CuePointManager] Frame 0
class mx.video.CuePointManager { var _owner, _id, _asCuePointTolerance, _linearSearchTolerance, _metadataLoaded, allCuePoints, asCuePoints, _disabledCuePoints, flvCuePoints, navCuePoints, eventCuePoints, _asCuePointIndex, __get__playheadUpdateInterval, _disabledCuePointsByNameOnly; function CuePointManager (owner, id) { _owner = owner; _id = id; reset(); _asCuePointTolerance = _owner.getVideoPlayer(_id).__get__playheadUpdateInterval() / 2000; _linearSearchTolerance = DEFAULT_LINEAR_SEARCH_TOLERANCE; } function reset() { _metadataLoaded = false; allCuePoints = null; asCuePoints = null; _disabledCuePoints = null; flvCuePoints = null; navCuePoints = null; eventCuePoints = null; _asCuePointIndex = 0; } function get metadataLoaded() { return(_metadataLoaded); } function set playheadUpdateInterval(aTime) { _asCuePointTolerance = aTime / 2000; //return(__get__playheadUpdateInterval()); } function get id() { return(_id); } function addASCuePoint(timeOrCuePoint, name, parameters) { var _local3; if (typeof(timeOrCuePoint) == "object") { _local3 = deepCopyObject(timeOrCuePoint); } else { _local3 = {time:timeOrCuePoint, name:name, parameters:deepCopyObject(parameters)}; } var _local7 = isNaN(_local3.time) || (_local3.time < 0); if (_local7) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "time must be number"); } var _local6 = (_local3.name == undefined) || (_local3.name == null); if (_local6) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "name cannot be undefined or null"); } var _local2; _local3.type = "actionscript"; if (((asCuePoints == null) || (asCuePoints == undefined)) || (asCuePoints.length < 1)) { _local2 = 0; asCuePoints = new Array(); asCuePoints.push(_local3); } else { _local2 = getCuePointIndex(asCuePoints, true, _local3.time); _local2 = ((asCuePoints[_local2].time > _local3.time) ? 0 : (_local2 + 1)); asCuePoints.splice(_local2, 0, _local3); } if (((allCuePoints == null) || (allCuePoints == undefined)) || (allCuePoints.length < 1)) { _local2 = 0; allCuePoints = new Array(); allCuePoints.push(_local3); } else { _local2 = getCuePointIndex(allCuePoints, true, _local3.time); _local2 = ((allCuePoints[_local2].time > _local3.time) ? 0 : (_local2 + 1)); allCuePoints.splice(_local2, 0, _local3); } var _local5 = _owner.getVideoPlayer(_id).__get__playheadTime(); if (_local5 > 0) { if (_asCuePointIndex == _local2) { if (_local5 > asCuePoints[_local2].time) { _asCuePointIndex++; } } else if (_asCuePointIndex > _local2) { _asCuePointIndex++; } } else { _asCuePointIndex = 0; } var _local4 = deepCopyObject(asCuePoints[_local2]); _local4.array = asCuePoints; _local4.index = _local2; return(_local4); } function removeASCuePoint(timeNameOrCuePoint) { if (((asCuePoints == null) || (asCuePoints == undefined)) || (asCuePoints.length < 1)) { return(null); } var _local3; switch (typeof(timeNameOrCuePoint)) { case "string" : _local3 = {name:timeNameOrCuePoint}; break; case "number" : _local3 = {time:timeNameOrCuePoint}; break; case "object" : _local3 = timeNameOrCuePoint; } var _local2 = getCuePointIndex(asCuePoints, false, _local3.time, _local3.name); if (_local2 < 0) { return(null); } _local3 = asCuePoints[_local2]; asCuePoints.splice(_local2, 1); _local2 = getCuePointIndex(allCuePoints, false, _local3.time, _local3.name); if (_local2 > 0) { allCuePoints.splice(_local2, 1); } if (_owner.getVideoPlayer(_id).__get__playheadTime() > 0) { if (_asCuePointIndex > _local2) { _asCuePointIndex--; } } else { _asCuePointIndex = 0; } return(_local3); } function setFLVCuePointEnabled(enabled, timeNameOrCuePoint) { var _local4; switch (typeof(timeNameOrCuePoint)) { case "string" : _local4 = {name:timeNameOrCuePoint}; break; case "number" : _local4 = {time:timeNameOrCuePoint}; break; case "object" : _local4 = timeNameOrCuePoint; } var _local12 = isNaN(_local4.time) || (_local4.time < 0); var _local11 = (_local4.name == undefined) || (_local4.name == null); if (_local12 && (_local11)) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "time must be number and/or name must not be undefined or null"); } var _local6 = 0; var _local2; var _local5; if (_local12) { if (!_metadataLoaded) { if (_disabledCuePointsByNameOnly[_local4.name] == undefined) { if (!enabled) { if (((_disabledCuePointsByNameOnly == null) || (_disabledCuePointsByNameOnly == undefined)) || (_disabledCuePointsByNameOnly.length < 0)) { _disabledCuePointsByNameOnly = new Object(); } _disabledCuePointsByNameOnly[_local4.name] = new Array(); } } else { if (enabled) { _disabledCuePointsByNameOnly[_local4.name] = undefined; } return(-1); } removeCuePoints(_disabledCuePoints, _local4); return(-1); } if (enabled) { _local6 = removeCuePoints(_disabledCuePoints, _local4); } else { var _local3; _local2 = getCuePointIndex(flvCuePoints, true, -1, _local4.name); while (_local2 >= 0) { _local3 = flvCuePoints[_local2]; _local5 = getCuePointIndex(_disabledCuePoints, true, _local3.time); if ((_local5 < 0) || (_disabledCuePoints[_local5].time != _local3.time)) { _disabledCuePoints = insertCuePoint(_local5, _disabledCuePoints, {name:_local3.name, time:_local3.time}); _local6 = _local6 + 1; } _local2 = getNextCuePointIndexWithName(_local3.name, flvCuePoints, _local2); } } return(_local6); } _local2 = getCuePointIndex(_disabledCuePoints, false, _local4.time, _local4.name); if (_local2 < 0) { if (enabled) { if (!_metadataLoaded) { _local2 = getCuePointIndex(_disabledCuePoints, false, _local4.time); if (_local2 < 0) { _local5 = getCuePointIndex(_disabledCuePointsByNameOnly[_local4.name], true, _local4.time); if (cuePointCompare(_local4.time, null, _disabledCuePointsByNameOnly[_local4.name]) != 0) { _disabledCuePointsByNameOnly[_local4.name] = insertCuePoint(_local5, _disabledCuePointsByNameOnly[_local4.name], _local4); } } else { _disabledCuePoints.splice(_local2, 1); } } return((_metadataLoaded ? 0 : -1)); } } else { if (enabled) { _disabledCuePoints.splice(_local2, 1); _local6 = 1; } else { _local6 = 0; } return((_metadataLoaded ? (_local6) : -1)); } if (_metadataLoaded) { _local2 = getCuePointIndex(flvCuePoints, false, _local4.time, _local4.name); if (_local2 < 0) { return(0); } if (_local11) { _local4.name = flvCuePoints[_local2].name; } } _local5 = getCuePointIndex(_disabledCuePoints, true, _local4.time); _disabledCuePoints = insertCuePoint(_local5, _disabledCuePoints, _local4); _local6 = 1; return((_metadataLoaded ? 1 : -1)); } function removeCuePoints(cuePointArray, cuePoint) { var _local2; var _local4; var _local5 = 0; _local2 = getCuePointIndex(cuePointArray, true, -1, cuePoint.name); while (_local2 >= 0) { _local4 = cuePointArray[_local2]; cuePointArray.splice(_local2, 1); _local2--; _local5++; _local2 = getNextCuePointIndexWithName(_local4.name, cuePointArray, _local2); } return(_local5); } function insertCuePoint(insertIndex, cuePointArray, cuePoint) { if (insertIndex < 0) { cuePointArray = new Array(); cuePointArray.push(cuePoint); } else { if (cuePointArray[insertIndex].time > cuePoint.time) { insertIndex = 0; } else { insertIndex++; } cuePointArray.splice(insertIndex, 0, cuePoint); } return(cuePointArray); } function isFLVCuePointEnabled(timeNameOrCuePoint) { if (!_metadataLoaded) { return(true); } var _local3; switch (typeof(timeNameOrCuePoint)) { case "string" : _local3 = {name:timeNameOrCuePoint}; break; case "number" : _local3 = {time:timeNameOrCuePoint}; break; case "object" : _local3 = timeNameOrCuePoint; } var _local5 = isNaN(_local3.time) || (_local3.time < 0); var _local6 = (_local3.name == undefined) || (_local3.name == null); if (_local5 && (_local6)) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "time must be number and/or name must not be undefined or null"); } if (_local5) { var _local2 = getCuePointIndex(flvCuePoints, true, -1, _local3.name); if (_local2 < 0) { return(true); } while (_local2 >= 0) { if (getCuePointIndex(_disabledCuePoints, false, flvCuePoints[_local2].time, flvCuePoints[_local2].name) < 0) { return(true); } _local2 = getNextCuePointIndexWithName(_local3.name, flvCuePoints, _local2); } return(false); } return(getCuePointIndex(_disabledCuePoints, false, _local3.time, _local3.name) < 0); } function dispatchASCuePoints() { var _local5 = _owner.getVideoPlayer(_id).__get__playheadTime(); if ((_owner.getVideoPlayer(_id).__get__stateResponsive() && (asCuePoints != null)) && (asCuePoints != undefined)) { while ((_asCuePointIndex < asCuePoints.length) && (asCuePoints[_asCuePointIndex].time <= (_local5 + _asCuePointTolerance))) { _owner.dispatchEvent({type:"cuePoint", info:deepCopyObject(asCuePoints[_asCuePointIndex++]), vp:_id}); } } } function resetASCuePointIndex(time) { if (((time <= 0) || (asCuePoints == null)) || (asCuePoints == undefined)) { _asCuePointIndex = 0; return(undefined); } var _local2 = getCuePointIndex(asCuePoints, true, time); _asCuePointIndex = ((asCuePoints[_local2].time < time) ? (_local2 + 1) : (_local2)); } function processFLVCuePoints(metadataCuePoints) { _metadataLoaded = true; if (((metadataCuePoints == undefined) || (metadataCuePoints == null)) || (metadataCuePoints.length < 1)) { flvCuePoints = null; navCuePoints = null; eventCuePoints = null; return(undefined); } flvCuePoints = metadataCuePoints; navCuePoints = new Array(); eventCuePoints = new Array(); var _local5; var _local6 = -1; var _local2; var _local4 = _disabledCuePoints; var _local3 = 0; _disabledCuePoints = new Array(); var _local9 = 0; while (_local2 = flvCuePoints[_local9++] , _local2 != undefined) { if ((_local6 > 0) && (_local6 >= _local2.time)) { flvCuePoints = null; navCuePoints = null; eventCuePoints = null; _disabledCuePoints = null; _disabledCuePointsByNameOnly = null; throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "Unsorted cuePoint found after time: " + _local6); } _local6 = _local2.time; while ((_local3 < _local4.length) && (cuePointCompare(_local4[_local3].time, null, _local2) < 0)) { _local3++; } if ((_disabledCuePointsByNameOnly[_local2.name] != undefined) || ((_local3 < _local4.length) && (cuePointCompare(_local4[_local3].time, _local4[_local3].name, _local2) == 0))) { _disabledCuePoints.push({time:_local2.time, name:_local2.name}); } if (_local2.type == "navigation") { navCuePoints.push(_local2); } else if (_local2.type == "event") { eventCuePoints.push(_local2); } if (((allCuePoints == null) || (allCuePoints == undefined)) || (allCuePoints.length < 1)) { allCuePoints = new Array(); allCuePoints.push(_local2); } else { _local5 = getCuePointIndex(allCuePoints, true, _local2.time); _local5 = ((allCuePoints[_local5].time > _local2.time) ? 0 : (_local5 + 1)); allCuePoints.splice(_local5, 0, _local2); } } delete _disabledCuePointsByNameOnly; _disabledCuePointsByNameOnly = null; delete _disabledCuePointsByNameOnly; _disabledCuePointsByNameOnly = null; } function processCuePointsProperty(cuePoints) { if (((cuePoints == undefined) || (cuePoints == null)) || (cuePoints.length == 0)) { return(undefined); } var _local4 = 0; var _local8; var _local6; var _local7; var _local5; var _local9; var _local2 = 0; while (_local2 < (cuePoints.length - 1)) { switch (_local4) { case 6 : addOrDisable(_local9, _local5); _local4 = 0; case 0 : if (cuePoints[_local2++] != "t") { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "unexpected cuePoint parameter format"); } if (isNaN(cuePoints[_local2])) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "time must be number"); } _local5 = new Object(); _local5.time = cuePoints[_local2] / 1000; _local4++; break; case 1 : if (cuePoints[_local2++] != "n") { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "unexpected cuePoint parameter format"); } if ((cuePoints[_local2] == undefined) || (cuePoints[_local2] == null)) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "name cannot be null or undefined"); } _local5.name = unescape(cuePoints[_local2]); _local4++; break; case 2 : if (cuePoints[_local2++] != "t") { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "unexpected cuePoint parameter format"); } if (isNaN(cuePoints[_local2])) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "type must be number"); } switch (cuePoints[_local2]) { case 0 : _local5.type = "event"; break; case 1 : _local5.type = "navigation"; break; case 2 : _local5.type = "actionscript"; break; default : throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "type must be 0, 1 or 2"); } _local4++; break; case 3 : if (cuePoints[_local2++] != "d") { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "unexpected cuePoint parameter format"); } if (isNaN(cuePoints[_local2])) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "disabled must be number"); } _local9 = cuePoints[_local2] != 0; _local4++; break; case 4 : if (cuePoints[_local2++] != "p") { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "unexpected cuePoint parameter format"); } if (isNaN(cuePoints[_local2])) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "num params must be number"); } _local8 = cuePoints[_local2]; _local4++; if (_local8 == 0) { _local4++; } else { _local5.parameters = new Object(); } break; case 5 : _local6 = cuePoints[_local2++]; _local7 = cuePoints[_local2]; if (typeof(_local6) == "string") { _local6 = unescape(_local6); } if (typeof(_local7) == "string") { _local7 = unescape(_local7); } _local5.parameters[_local6] = _local7; _local8--; if (_local8 != 0) { break; } _local4++; } _local2++; } if (_local4 == 6) { addOrDisable(_local9, _local5); } else { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "unexpected end of cuePoint param string"); } } function addOrDisable(disable, cuePoint) { if (disable) { if (cuePoint.type == "actionscript") { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "Cannot disable actionscript cue points"); } setFLVCuePointEnabled(false, cuePoint); } else if (cuePoint.type == "actionscript") { addASCuePoint(cuePoint); } } function unescape(origStr) { var _local3 = origStr; var _local1 = 0; while (_local1 < cuePointsReplace.length) { var _local2 = _local3.split(cuePointsReplace[_local1++]); if (_local2.length > 1) { _local3 = _local2.join(cuePointsReplace[_local1]); } _local1++; } return(_local3); } function getCuePointIndex(cuePointArray, closeIsOK, time, name, start, len) { if (((cuePointArray == null) || (cuePointArray == undefined)) || (cuePointArray.length < 1)) { return(-1); } var _local13 = isNaN(time) || (time < 0); var _local16 = (name == undefined) || (name == null); if (_local13 && (_local16)) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "time must be number and/or name must not be undefined or null"); } if ((start == undefined) || (start == null)) { start = 0; } if ((len == undefined) || (len == null)) { len = cuePointArray.length; } if ((!_local16) && (closeIsOK || (_local13))) { var _local8; var _local2; if (_local13) { _local8 = start; } else { _local8 = getCuePointIndex(cuePointArray, closeIsOK, time); } _local2 = _local8; while (_local2 >= start) { if (cuePointArray[_local2].name == name) { break; } _local2--; } if (_local2 >= start) { return(_local2); } _local2 = _local8 + 1; while (_local2 < len) { if (cuePointArray[_local2].name == name) { break; } _local2++; } if (_local2 < len) { return(_local2); } return(-1); } var _local6; if (len <= _linearSearchTolerance) { var _local11 = start + len; var _local3 = start; while (_local3 < _local11) { _local6 = cuePointCompare(time, name, cuePointArray[_local3]); if (_local6 == 0) { return(_local3); } if (_local6 < 0) { break; } _local3++; } if (closeIsOK) { if (_local3 > 0) { return(_local3 - 1); } return(0); } return(-1); } var _local12 = Math.floor(len / 2); var _local15 = start + _local12; _local6 = cuePointCompare(time, name, cuePointArray[_local15]); if (_local6 < 0) { return(getCuePointIndex(cuePointArray, closeIsOK, time, name, start, _local12)); } if (_local6 > 0) { return(getCuePointIndex(cuePointArray, closeIsOK, time, name, _local15 + 1, (_local12 - 1) + (len % 2))); } return(_local15); } function getNextCuePointIndexWithName(name, array, index) { if ((name == undefined) || (name == null)) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "name cannot be undefined or null"); } if ((array == null) || (array == undefined)) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "cuePoint.array undefined"); } if ((isNaN(index) || (index < -1)) || (index >= array.length)) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "cuePoint.index must be number between -1 and cuePoint.array.length"); } var _local1; _local1 = index + 1; while (_local1 < array.length) { if (array[_local1].name == name) { break; } _local1++; } if (_local1 < array.length) { return(_local1); } return(-1); } static function cuePointCompare(time, name, cuePoint) { var _local2 = Math.round(time * 1000); var _local3 = Math.round(cuePoint.time * 1000); if (_local2 < _local3) { return(-1); } if (_local2 > _local3) { return(1); } if ((name != null) || (name != undefined)) { if (name == cuePoint.name) { return(0); } if (name < cuePoint.name) { return(-1); } return(1); } return(0); } function getCuePoint(cuePointArray, closeIsOK, timeNameOrCuePoint) { var _local3; switch (typeof(timeNameOrCuePoint)) { case "string" : _local3 = {name:timeNameOrCuePoint}; break; case "number" : _local3 = {time:timeNameOrCuePoint}; break; case "object" : _local3 = timeNameOrCuePoint; } var _local2 = getCuePointIndex(cuePointArray, closeIsOK, _local3.time, _local3.name); if (_local2 < 0) { return(null); } _local3 = deepCopyObject(cuePointArray[_local2]); _local3.array = cuePointArray; _local3.index = _local2; return(_local3); } function getNextCuePointWithName(cuePoint) { if ((cuePoint == null) || (cuePoint == undefined)) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "cuePoint parameter undefined"); } if (isNaN(cuePoint.time) || (cuePoint.time < 0)) { throw new mx.video.VideoError(mx.video.VideoError.ILLEGAL_CUE_POINT, "time must be number"); } var _local3 = getNextCuePointIndexWithName(cuePoint.name, cuePoint.array, cuePoint.index); if (_local3 < 0) { return(null); } var _local4 = deepCopyObject(cuePoint.array[_local3]); _local4.array = cuePoint.array; _local4.index = _local3; return(_local4); } static function deepCopyObject(obj, recurseLevel) { if (((obj == undefined) || (obj == null)) || (typeof(obj) != "object")) { return(obj); } if (recurseLevel == undefined) { recurseLevel = 0; } var _local2 = new Object(); for (var _local4 in obj) { if ((recurseLevel == 0) && ((_local4 == "array") || (_local4 == "index"))) { } else if (typeof(obj[_local4]) == "object") { _local2[_local4] = deepCopyObject(obj[_local4], recurseLevel + 1); } else { _local2[_local4] = obj[_local4]; } } return(_local2); } static var DEFAULT_LINEAR_SEARCH_TOLERANCE = 50; static var cuePointsReplace = ["&quot;", "\"", "&#39;", "'", "&#44;", ",", "&amp;", "&"]; }
Symbol 85 Button
on (release) { play(); }
Instance of Symbol 47 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.stopaction == false) { this._y = this._y + ((_root.control.gravity - 400) / 9.8); if (_root.control.gravity <= 400) { this._x = this._x + (-2 + random(4)); } if (this.hitTest(_root.room.floor.gfloor)) { this._y = this._y - ((_root.control.gravity - 400) / 9.8); } } }
Symbol 106 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 2
_level0.pp = _level0.pp + 1000;
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 14
stop(); _level0.health = 0; _root.gameover = true;
Symbol 267 MovieClip Frame 38
stop();
Symbol 302 MovieClip Frame 19
stop();
Symbol 402 MovieClip Frame 90
gotoAndPlay (1);
Instance of Symbol 136 MovieClip "axedlol" in Symbol 402 MovieClip Frame 91
onClipEvent (enterFrame) { if (_level0.finisher == "War Axe") { this._x = _root.victim.tester._x + 80; this._y = _root.victim.tester._y; this.play(); } }
Symbol 402 MovieClip Frame 115
stop();
Symbol 402 MovieClip Frame 121
stop();
Symbol 402 MovieClip Frame 126
if (Key.isDown(16)) { kirupaSound = new Sound(this); kirupaSound.attachSound("close"); kirupaSound.start(0, 0); }
Symbol 402 MovieClip Frame 129
if (Key.isDown(16)) { kirupaSound2 = new Sound(this); kirupaSound2.attachSound("closer"); kirupaSound2.start(0, 0); }
Instance of Symbol 227 MovieClip in Symbol 402 MovieClip Frame 129
onClipEvent (enterFrame) { _level0.health = _level0.health - 0.5; _level0.pp = _level0.pp + 5; }
Instance of Symbol 227 MovieClip in Symbol 402 MovieClip Frame 130
onClipEvent (enterFrame) { _level0.health = _level0.health - 1; _level0.pp = _level0.pp + 20; }
Symbol 402 MovieClip Frame 131
_level0.finisher = "Crushed"; _level0.stopaction = true; _level0.crushed.play();
Instance of Symbol 245 MovieClip in Symbol 402 MovieClip Frame 131
onClipEvent (enterFrame) { if (_root.room.floor._y <= 273) { _level0.room.floor._y = _level0.room.floor._y + 10; _root.victim._y = _root.victim._y + 10; } else { _root.gameover = true; _level0.victim.nextFrame(); } }
Symbol 402 MovieClip Frame 177
stop(); _level0.gameover = true; _level0.finisher = "Huge Fall"; _level0.pp = _level0.pp + 1150;
Symbol 402 MovieClip Frame 178
if (Key.isDown(16)) { kirupaSound3 = new Sound(this); kirupaSound3.attachSound("cold"); kirupaSound3.start(0, 0); }
Instance of Symbol 329 MovieClip in Symbol 402 MovieClip Frame 195
onClipEvent (enterFrame) { if (_root.hero._x <= _root.villian._x) { _root.villian._x = _root.villian._x - _level0.vilspeed; } else if (_root.hero._x >= _root.villian._x) { _root.villian._x = _root.villian._x + _level0.vilspeed; } if (_root.villian.hitTest(_root.hero)) { _root.villian.gotoAndPlay("gotorest"); } }
Instance of Symbol 341 MovieClip in Symbol 402 MovieClip Frame 212
onClipEvent (enterFrame) { if (_root.hero._x <= _root.villian._x) { _root.villian._x = _root.villian._x - _level0.vilspeed; } else if (_root.hero._x >= _root.villian._x) { _root.villian._x = _root.villian._x + _level0.vilspeed; } if (_root.villian.hitTest(_root.hero)) { _root.villian.gotoAndPlay("gotorest"); } }
Symbol 402 MovieClip Frame 255
_root.gui.hp = 0; _root.gameover = true; stop();
Instance of Symbol 376 MovieClip in Symbol 402 MovieClip Frame 256
onClipEvent (enterFrame) { _level0.health = _level0.health - 0.25; _level0.pp = _level0.pp + 5; }
Instance of Symbol 390 MovieClip in Symbol 402 MovieClip Frame 257
onClipEvent (enterFrame) { _level0.health = _level0.health - 1; _level0.pp = _level0.pp + 15; }
Symbol 402 MovieClip Frame 258
stop();
Instance of Symbol 397 MovieClip in Symbol 402 MovieClip Frame 258
onClipEvent (enterFrame) { _level0.health = _level0.health - 1; _level0.pp = _level0.pp + 15; }
Instance of Symbol 401 MovieClip in Symbol 402 MovieClip Frame 259
onClipEvent (enterFrame) { _level0.health = _level0.health - 1; _level0.pp = _level0.pp + 15; }
Symbol 405 MovieClip Frame 90
if (_root.health <= 99) { _root.health = _root.health + 1; } if (_root.stopaction == false) { if (_root.doNothing == true) { _root.victim.gotoAndPlay(1); } }
Symbol 409 MovieClip Frame 1
stop();
Instance of Symbol 409 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.control.temperature < 50) { this.gotoAndStop(2); } }
Symbol 415 MovieClip Frame 2
if (_root.watertorture == 1) { _level0.pp = _level0.pp + 100; } if (_root.control.gravity >= 1200) { }
Symbol 415 MovieClip Frame 70
_root.rain._y = -75.8;
Symbol 425 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 117
_root.pp = _root.pp + random(1000); if (_root.health >= 0) { _root.health = _root.health - 9; } if (_root.health <= 0) { _root.health = 0; }
Symbol 425 MovieClip Frame 130
_root.pp = _root.pp + random(1000); if (_root.health >= 0) { _root.health = _root.health - 9; } if (_root.health <= 0) { _root.health = 0; }
Symbol 425 MovieClip Frame 138
_root.pp = _root.pp + random(1000); if (_root.health >= 0) { _root.health = _root.health - 9; } if (_root.health <= 0) { _root.health = 0; }
Symbol 425 MovieClip Frame 147
_root.pp = _root.pp + random(1000); if (_root.health >= 0) { _root.health = _root.health - 9; } if (_root.health <= 0) { _root.health = 0; }
Symbol 425 MovieClip Frame 165
_root.pp = _root.pp + random(1000); if (_root.health >= 0) { _root.health = _root.health - 9; } if (_root.health <= 0) { _root.health = 0; }
Symbol 425 MovieClip Frame 181
_root.pp = _root.pp + random(1000); if (_root.health >= 0) { _root.health = _root.health - 9; } if (_root.health <= 0) { _root.health = 0; }
Symbol 425 MovieClip Frame 190
_root.pp = _root.pp + random(1000); if (_root.health >= 0) { _root.health = _root.health - 9; } if (_root.health <= 0) { _root.health = 0; }
Symbol 425 MovieClip Frame 200
_root.pp = _root.pp + random(1000); if (_root.health >= 0) { _root.health = _root.health - 9; } if (_root.health <= 0) { _root.health = 0; }
Symbol 425 MovieClip Frame 205
_root.pp = _root.pp + random(1000); if (_root.health >= 0) { _root.health = _root.health - 9; } if (_root.health <= 0) { _root.health = 0; }
Symbol 425 MovieClip Frame 209
_root.pp = _root.pp + random(1000); if (_root.health >= 0) { _root.health = _root.health - 9; } if (_root.health <= 0) { _root.health = 0; }
Symbol 425 MovieClip Frame 214
_root.pp = _root.pp + random(1000); if (_root.health >= 0) { _root.health = _root.health - 9; } if (_root.health <= 0) { _root.health = 0; }
Symbol 425 MovieClip Frame 220
_root.pp = _root.pp + random(1000); if (_root.health >= 0) { _root.health = _root.health - 9; } if (_root.health <= 0) { _root.health = 0; }
Symbol 425 MovieClip Frame 244
_root.gameover = true; _root.finisher = "Scarabs";
Symbol 447 MovieClip Frame 1
stop();
Instance of Symbol 428 MovieClip in Symbol 447 MovieClip Frame 2
onClipEvent (enterFrame) { _root.pp = _root.pp + 10; }
Symbol 447 MovieClip Frame 1972
stop(); _root.gameover = true;
Symbol 456 MovieClip Frame 1
stop();
Instance of Symbol 452 MovieClip in Symbol 456 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.beeno > 1) { play(); } }
Symbol 456 MovieClip Frame 2
gotoAndStop(random(4));
Symbol 461 Button
on (rollOver) { _level0.info = "Take control of the chamber's room temperature. Use <Q> to lower temperature and <W> to raise it."; } on (rollOut) { _level0.info = ""; }
Symbol 464 Button
on (rollOver) { _level0.info = "Make your victim float away like a kite...Or crush him under his own weight. <A> lowers, <S> raises."; } on (rollOut) { _level0.info = ""; }
Symbol 467 Button
on (rollOver) { _level0.info = "Everyone likes a nice open room...Except you. <Z> decompresses, <X> compresses."; } on (rollOut) { _level0.info = ""; }
Symbol 471 Button
on (rollOver) { _level0.info = "Press the corresponding keys for additional shots and more pain!"; } on (rollOut) { _level0.info = ""; } on (release) { if (_root.health >= 100) { _level0.info = "Cannot perform a finisher when victim is higher than 99 health!"; } else if (_root.stopaction == false) { _level0.firingsquad.gotoAndStop(2); _root.finisher = "Firing Squad"; _root.stopaction = true; } }
Symbol 474 Button
on (rollOver) { _level0.info = "Smash your victim into icy pieces or burst him into flames. Requires very high or very low temperature."; } on (rollOut) { _level0.info = ""; } on (release) { if (_root.health >= 100) { _level0.info = "Cannot perform a finisher when victim is higher than 99 health!"; } else if (_root.stopaction == false) { if ((_root.control.temperature >= -70) && (_root.control.temperature <= 190)) { _level0.info = "Temperature not extreme enough for a Temperature Finisher."; } if (_root.control.temperature <= -70) { _level0.finisher = "Shatter"; _root.stopaction = true; _level0.shatter.play(); _level0.victim.gotoAndPlay("shatter"); } if (_root.control.temperature >= 190) { _level0.finisher = "Disintegrate"; _root.stopaction = true; _level0.disintegrate.play(); _level0.victim.gotoAndPlay("disintegrate"); } } }
Symbol 477 Button
on (rollOver) { _level0.info = "Nothing says pain like an axe to the face. Good old fashioned killin'!"; } on (rollOut) { _level0.info = ""; } on (release) { if (_root.health >= 100) { _level0.info = "Cannot perform a finisher when victim is higher than 99 health!"; } else if (_root.stopaction == false) { _root.blur2.play(); _root.finisher = "War Axe"; _level0.waraxe.play(); _root.stopaction = true; _root.axe.play(); } }
Symbol 482 Button
on (rollOver) { _level0.info = "Press <SHIFT> to inject adrenaline, raising the health of the vicim. Be careful of overdoses."; } on (rollOut) { _level0.info = ""; }
Symbol 483 MovieClip Frame 1
stop();
Symbol 487 Button
on (rollOver) { _level0.info = "Take a guess what this does. Click to disperse a bee. Careful though, bees cannot be removed."; } on (rollOut) { _level0.info = ""; } on (release) { if (_root.stopaction == false) { if (_level0.beeno <= 20) { _root.beeno = _root.beeno + 1; duplicateMovieClip (_root.bee, "bee" + _root.beeno, _root.beeno); _root.bee.play(); _root.bee1.play(); _root.bee2.play(); _root.bee3.play(); _root.bee4.play(); _root.bee5.play(); _root.bee6.play(); _root.bee7.play(); _root.bee8.play(); _root.bee9.play(); _root.bee10.play(); } } }
Symbol 488 MovieClip Frame 1
stop();
Symbol 493 Button
on (rollOver) { _level0.info = "Ever watch The Mummy? Small children should turn away from the screen."; } on (rollOut) { _level0.info = ""; } on (release) { if (_root.stopaction == false) { _root.stopaction = true; _root.scarb.play(); } }
Symbol 494 MovieClip Frame 1
stop();
Symbol 500 Button
on (release) { _root.rain.play(); _root.watertorture = 1; } on (rollOver) { _level0.info = "An ancient and painless technique used to induce insanity. Awards pain points, but does not damage."; } on (rollOut) { _level0.info = ""; }
Symbol 501 MovieClip Frame 1
stop();
Symbol 501 MovieClip Frame 2
stop();
Symbol 507 Button
on (release) { if (_root.stopaction == false) { _root.stopaction = true; _root.supernova.play(); } } on (rollOver) { _level0.info = "Suck on this, Lindsay Lohan."; } on (rollOut) { _level0.info = ""; }
Symbol 508 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 2
stop();
Symbol 512 Button
on (rollOver) { _level0.info = "Go to www.spflash.net/forums/ to suggest your idea!"; } on (rollOut) { _level0.info = ""; }
Symbol 574 MovieClip Frame 1
stop();
Symbol 574 MovieClip Frame 2
_level0.adrenalinecounter = _level0.adrenalinecounter + 1; _level0.health = _level0.health + (10 + random(20)); _level0.pp = _level0.pp + (150 + random(90)); if (_level0.adrenalinecounter >= (4 + random(6))) { _root.health = 0; _root.victim.gotoAndPlay("shotten"); _root.adrenalineoverload.play(); }
Symbol 587 MovieClip Frame 1
stop();
Symbol 591 MovieClip Frame 1
stop();
Symbol 597 MovieClip Frame 1
stop();
Symbol 597 MovieClip Frame 2
_root.gameover = true; _root.finisher = "Disintegrate"; _root.pp = _root.pp + 1750;
Symbol 597 MovieClip Frame 10
stop();
Symbol 607 MovieClip Frame 1
stop();
Symbol 607 MovieClip Frame 6
stop();
Symbol 610 MovieClip Frame 1
stop();
Symbol 610 MovieClip Frame 6
stop();
Symbol 613 MovieClip Frame 1
stop();
Symbol 613 MovieClip Frame 6
stop();
Symbol 616 MovieClip Frame 1
stop();
Symbol 616 MovieClip Frame 6
stop();
Symbol 619 MovieClip Frame 1
stop();
Symbol 619 MovieClip Frame 6
stop();
Instance of Symbol 607 MovieClip "j" in Symbol 620 MovieClip Frame 10
onClipEvent (enterFrame) { if (Key.isDown(74)) { this.play(); } }
Symbol 620 MovieClip Frame 16
if (Key.isDown(74)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 17
if (Key.isDown(74)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 18
if (Key.isDown(74)) { _root.losesquad.play(); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); }
Symbol 620 MovieClip Frame 19
if (Key.isDown(74)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 20
if (_level0.squadcounter == 0) { if (Key.isDown(74)) { _level0.squadcounter = 1; _level0.shoot.play(); _level0.victim.gotoAndPlay("shotten"); } }
Instance of Symbol 607 MovieClip "j" in Symbol 620 MovieClip Frame 20
onClipEvent (enterFrame) { if (Key.isDown(74)) { this.play(); } }
Symbol 620 MovieClip Frame 21
if (_level0.squadcounter == 0) { if (Key.isDown(74)) { _level0.squadcounter = 1; _level0.shoot.play(); _level0.victim.gotoAndPlay("shotten"); } }
Symbol 620 MovieClip Frame 22
if (_level0.squadcounter == 0) { if (Key.isDown(74)) { _level0.squadcounter = 1; _level0.shoot.play(); _level0.victim.gotoAndPlay("shotten"); } }
Symbol 620 MovieClip Frame 23
if (_level0.squadcounter == 0) { if (Key.isDown(74)) { _level0.squadcounter = 1; _level0.shoot.play(); _level0.victim.gotoAndPlay("shotten"); } }
Symbol 620 MovieClip Frame 24
if (_level0.squadcounter == 0) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Instance of Symbol 610 MovieClip "j" in Symbol 620 MovieClip Frame 29
onClipEvent (enterFrame) { if (Key.isDown(74)) { this.play(); } }
Symbol 620 MovieClip Frame 35
if (Key.isDown(82)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 36
if (Key.isDown(82)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 37
if (Key.isDown(82)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 38
if (Key.isDown(82)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 39
if (_level0.squadcounter == 1) { if (Key.isDown(82)) { _level0.squadcounter = 2; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Instance of Symbol 610 MovieClip "j" in Symbol 620 MovieClip Frame 39
onClipEvent (enterFrame) { if (Key.isDown(74)) { this.play(); } }
Symbol 620 MovieClip Frame 40
if (_level0.squadcounter == 1) { if (Key.isDown(82)) { _level0.squadcounter = 2; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Symbol 620 MovieClip Frame 41
if (_level0.squadcounter == 1) { if (Key.isDown(82)) { _level0.squadcounter = 2; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Symbol 620 MovieClip Frame 42
if (_level0.squadcounter == 1) { if (Key.isDown(82)) { _level0.squadcounter = 2; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Symbol 620 MovieClip Frame 43
if (_level0.squadcounter == 1) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Instance of Symbol 613 MovieClip "j" in Symbol 620 MovieClip Frame 49
onClipEvent (enterFrame) { if (Key.isDown(74)) { this.play(); } }
Symbol 620 MovieClip Frame 55
if (Key.isDown(84)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 56
if (Key.isDown(84)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 57
if (Key.isDown(84)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 58
if (Key.isDown(84)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 59
if (_level0.squadcounter == 1) { if (Key.isDown(82)) { _level0.squadcounter = 2; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Instance of Symbol 613 MovieClip "j" in Symbol 620 MovieClip Frame 59
onClipEvent (enterFrame) { if (Key.isDown(74)) { this.play(); } }
Symbol 620 MovieClip Frame 60
if (_level0.squadcounter == 2) { if (Key.isDown(84)) { _level0.squadcounter = 3; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Symbol 620 MovieClip Frame 61
if (_level0.squadcounter == 2) { if (Key.isDown(84)) { _level0.squadcounter = 3; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Symbol 620 MovieClip Frame 62
if (_level0.squadcounter == 2) { if (Key.isDown(84)) { _level0.squadcounter = 3; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Symbol 620 MovieClip Frame 63
if (_level0.squadcounter == 2) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Instance of Symbol 616 MovieClip "j" in Symbol 620 MovieClip Frame 65
onClipEvent (enterFrame) { if (Key.isDown(74)) { this.play(); } }
Symbol 620 MovieClip Frame 71
if (Key.isDown(70)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 72
if (Key.isDown(70)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 73
if (Key.isDown(70)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 74
if (Key.isDown(70)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 75
if (_level0.squadcounter == 3) { if (Key.isDown(70)) { _level0.squadcounter = 4; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Instance of Symbol 616 MovieClip "j" in Symbol 620 MovieClip Frame 75
onClipEvent (enterFrame) { if (Key.isDown(74)) { this.play(); } }
Symbol 620 MovieClip Frame 76
if (_level0.squadcounter == 3) { if (Key.isDown(70)) { _level0.squadcounter = 4; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Symbol 620 MovieClip Frame 77
if (_level0.squadcounter == 3) { if (Key.isDown(70)) { _level0.squadcounter = 4; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Instance of Symbol 613 MovieClip "j" in Symbol 620 MovieClip Frame 77
onClipEvent (enterFrame) { if (Key.isDown(74)) { this.play(); } }
Symbol 620 MovieClip Frame 78
if (_level0.squadcounter == 3) { if (Key.isDown(70)) { _level0.squadcounter = 4; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Symbol 620 MovieClip Frame 79
if (_level0.squadcounter == 3) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 83
if (Key.isDown(84)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 84
if (Key.isDown(84)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 85
if (Key.isDown(84)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 86
if (Key.isDown(84)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Instance of Symbol 619 MovieClip "j" in Symbol 620 MovieClip Frame 86
onClipEvent (enterFrame) { if (Key.isDown(74)) { this.play(); } }
Symbol 620 MovieClip Frame 87
if (_level0.squadcounter == 4) { if (Key.isDown(84)) { _level0.squadcounter = 5; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Instance of Symbol 613 MovieClip "j" in Symbol 620 MovieClip Frame 87
onClipEvent (enterFrame) { if (Key.isDown(74)) { this.play(); } }
Symbol 620 MovieClip Frame 88
if (_level0.squadcounter == 4) { if (Key.isDown(84)) { _level0.squadcounter = 5; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Symbol 620 MovieClip Frame 89
if (_level0.squadcounter == 4) { if (Key.isDown(84)) { _level0.squadcounter = 5; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Symbol 620 MovieClip Frame 90
if (_level0.squadcounter == 4) { if (Key.isDown(84)) { _level0.squadcounter = 5; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Symbol 620 MovieClip Frame 91
if (_level0.squadcounter == 4) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 92
if (Key.isDown(82)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 93
if (Key.isDown(82)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 94
if (Key.isDown(82)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 95
if (Key.isDown(82)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 96
if (_level0.squadcounter == 5) { if (Key.isDown(82)) { _level0.squadcounter = 6; _level0.shoot2.play(); _level0.bonus.play(); _root.victim.gotoAndPlay("shotagain"); } }
Instance of Symbol 619 MovieClip "j" in Symbol 620 MovieClip Frame 96
onClipEvent (enterFrame) { if (Key.isDown(74)) { this.play(); } }
Symbol 620 MovieClip Frame 97
if (_level0.squadcounter == 5) { if (Key.isDown(82)) { _level0.squadcounter = 6; _level0.shoot2.play(); _level0.bonus.play(); _root.victim.gotoAndPlay("shotagain"); } }
Instance of Symbol 607 MovieClip "j" in Symbol 620 MovieClip Frame 97
onClipEvent (enterFrame) { if (Key.isDown(74)) { this.play(); } }
Symbol 620 MovieClip Frame 98
if (_level0.squadcounter == 5) { if (Key.isDown(82)) { _level0.squadcounter = 6; _level0.shoot2.play(); _level0.bonus.play(); _root.victim.gotoAndPlay("shotagain"); } }
Symbol 620 MovieClip Frame 99
if (_level0.squadcounter == 5) { if (Key.isDown(82)) { _level0.squadcounter = 6; _level0.shoot2.play(); _level0.bonus.play(); _root.victim.gotoAndPlay("shotagain"); } }
Symbol 620 MovieClip Frame 100
if (_level0.squadcounter == 5) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 103
if (Key.isDown(74)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Instance of Symbol 610 MovieClip "j" in Symbol 620 MovieClip Frame 103
onClipEvent (enterFrame) { if (Key.isDown(74)) { this.play(); } }
Symbol 620 MovieClip Frame 104
if (Key.isDown(74)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 105
if (Key.isDown(74)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 106
if (Key.isDown(74)) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 107
if (_level0.squadcounter == 6) { if (Key.isDown(74)) { _level0.squadcounter = 7; _level0.shoot.play(); } }
Instance of Symbol 607 MovieClip "j" in Symbol 620 MovieClip Frame 107
onClipEvent (enterFrame) { if (Key.isDown(74)) { this.play(); } }
Symbol 620 MovieClip Frame 108
if (_level0.squadcounter == 6) { if (Key.isDown(74)) { _level0.squadcounter = 7; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Symbol 620 MovieClip Frame 109
if (_level0.squadcounter == 6) { if (Key.isDown(74)) { _level0.squadcounter = 7; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Symbol 620 MovieClip Frame 110
if (_level0.squadcounter == 6) { if (Key.isDown(74)) { _level0.squadcounter = 7; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Symbol 620 MovieClip Frame 111
if (_level0.squadcounter == 6) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 113
if (_level0.squadcounter == 7) { if (Key.isDown(82)) { _level0.squadcounter = 8; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Instance of Symbol 610 MovieClip "j" in Symbol 620 MovieClip Frame 113
onClipEvent (enterFrame) { if (Key.isDown(74)) { this.play(); } }
Symbol 620 MovieClip Frame 114
if (_level0.squadcounter == 7) { if (Key.isDown(82)) { _level0.squadcounter = 8; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Symbol 620 MovieClip Frame 115
if (_level0.squadcounter == 7) { if (Key.isDown(82)) { _level0.squadcounter = 8; _level0.shoot.play(); _root.victim.gotoAndPlay("shotagain"); } }
Symbol 620 MovieClip Frame 116
if (_level0.squadcounter == 7) { _root.losesquad.play(); _root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1); lose = new Sound(); lose.attachSound("losegun"); lose.start(0, 0); }
Symbol 620 MovieClip Frame 134
_root.gameover = true; this.gotoAndStop(1); _parent.gotoAndStop(1); _parent._parent.gotoAndStop(1);
Symbol 621 MovieClip Frame 2
_level0.squadvary = Math.random(5);
Instance of Symbol 600 MovieClip in Symbol 621 MovieClip Frame 31
onClipEvent (load) { if (_level0.squadvary == 1) { this.gotoAndPlay(1); } }
Symbol 621 MovieClip Frame 45
stop();
Instance of Symbol 620 MovieClip in Symbol 621 MovieClip Frame 45
onClipEvent (load) { if (_level0.squadvary == 1) { this.gotoAndPlay(1); } }
Symbol 623 MovieClip Frame 1
stop();
Symbol 627 MovieClip Frame 1
stop();
Symbol 627 MovieClip Frame 2
_level0.pp = _level0.pp + (200 + random(200)); _level0.health = _level0.health - (10 + random(15));
Symbol 627 MovieClip Frame 3
if (_level0.health <= 0) { _level0.health = 0; }
Symbol 630 MovieClip Frame 1
stop();
Symbol 630 MovieClip Frame 2
_level0.pp = _level0.pp + (300 + random(200));
Symbol 630 MovieClip Frame 5
_level0.pp = _level0.pp + (300 + random(200));
Symbol 633 MovieClip Frame 1
stop();
Symbol 651 MovieClip Frame 1
stop();
Symbol 655 MovieClip Frame 1
stop();
Symbol 655 MovieClip Frame 2
_level0.pp = _level0.pp + 1250;
Symbol 659 MovieClip Frame 1
stop();
Symbol 659 MovieClip Frame 2
_level0.pp = _level0.pp + 1500;
Symbol 664 MovieClip Frame 1
stop();
Symbol 664 MovieClip Frame 2
_level0.pp = _level0.pp + 1000;
Symbol 668 MovieClip Frame 1
stop();
Symbol 668 MovieClip Frame 66
stop();
Symbol 669 MovieClip Frame 1
stop();
Symbol 678 Button
on (release) { _level0.victim._x = 221.8; _root.supernova.gotoAndStop(1); _root.scarb.gotoAndStop(1); _root.firingsquad.gotoAndStop(1); _level0.victim._y = 79; _level0.victim.axedlol.gotoAndStop(1); _level0.watertorture = 0; _level0.beeno = 0; _level0.axe.gotoAndStop(1); _level0.disintegrate.gotoAndStop(1); _level0.stopaction = false; _level0.gameover = false; _level0.victim.gotoAndPlay(1); _level0.health = 100; _level0.pp = 0; stopAllSounds(); _level0.finisher = ""; _level0.blur.gotoAndStop(1); _level0.control.temperature = 75; _level0.control.gravity = 800; _level0.room.floor._y = 275.3; _level0.adrenalinecounter = 0; _level0.gameovermenu.gotoAndStop(1); removeMovieClip("_root.bee1"); removeMovieClip("_root.bee2"); removeMovieClip("_root.bee3"); removeMovieClip("_root.bee4"); removeMovieClip("_root.bee5"); removeMovieClip("_root.bee6"); removeMovieClip("_root.bee7"); removeMovieClip("_root.bee8"); removeMovieClip("_root.bee9"); removeMovieClip("_root.bee10"); removeMovieClip("_root.bee11"); removeMovieClip("_root.bee12"); removeMovieClip("_root.bee13"); removeMovieClip("_root.bee14"); removeMovieClip("_root.bee15"); removeMovieClip("_root.bee16"); removeMovieClip("_root.bee17"); removeMovieClip("_root.bee18"); removeMovieClip("_root.bee19"); removeMovieClip("_root.bee20"); removeMovieClip("_root.bee21"); removeMovieClip("_root.bee22"); removeMovieClip("_root.bee23"); removeMovieClip("_root.bee24"); removeMovieClip("_root.bee25"); removeMovieClip("_root.bee26"); removeMovieClip("_root.bee27"); removeMovieClip("_root.bee28"); }
Symbol 692 MovieClip Frame 1
stop();
Symbol 693 MovieClip Frame 1
stop();
Symbol 693 MovieClip Frame 2
_root.blur.play(); _root.gameover = false; _level0.victim.stop();
Symbol 693 MovieClip Frame 25
stop(); finisherbonus = _root.finisher; totalpp = _root.pp; if (totalpp <= 150000) { verdict = "Way to abuse that bug."; } if (totalpp <= 55000) { verdict = "You come close.. :)"; } if (totalpp <= 25000) { verdict = "'God of Pain.'"; } if (totalpp <= 18000) { verdict = "'..Holy shit.'"; } if (totalpp <= 12000) { verdict = "'Disgusting!'"; } if (totalpp <= 7500) { verdict = "'Innappropriate'"; } if (totalpp <= 5000) { verdict = "'Very painful.'"; } if (totalpp <= 3500) { verdict = "'Ouch.'"; } if (totalpp <= 2000) { verdict = "'Pretty painful.'"; } if (totalpp <= 1000) { verdict = "'Kind of pathetic.'"; } if (totalpp <= 500) { verdict = "'You are pathetic.'"; } if (totalpp >= 2000) { if (_root.gui.twoK._currentframe == 1) { _root.gui.twoK.gotoAndStop(2); _root.unlockable.play(); } } if (totalpp >= 3500) { if (_root.gui.threefiveK._currentframe == 1) { _root.gui.threefiveK.gotoAndStop(2); _root.unlockable.play(); } } if (totalpp >= 5000) { if (_root.gui.fiveK._currentframe == 1) { _root.gui.fiveK.gotoAndStop(2); _root.unlockable.play(); } } if (totalpp >= 15000) { if (_root.gui.fifteenK._currentframe == 1) { _root.gui.fifteenK.gotoAndStop(2); _root.unlockable.play(); } } if (totalpp >= 25500) { if (_root.gui.twentyfiveK._currentframe == 1) { _root.gui.twentyfiveK.gotoAndStop(2); _root.unlockable.play(); } }
Symbol 756 MovieClip Frame 1
stop();
Symbol 756 MovieClip Frame 68
stop(); _root.gameover = true; _root.victim.gotoAndPlay("shotten"); _root.victim.axedlol.play();
Symbol 761 Button
on (release) { gotoAndPlay (1); }
Symbol 767 Button
on (release) { gotoAndPlay (1); }

Library Items

Symbol 1 Sound [close]
Symbol 2 Sound [cold]
Symbol 3 Sound [closer]
Symbol 4 Sound [fl2]
Symbol 5 Sound [floorsound]Used by:693
Symbol 6 Sound [losegun]Used by:651
Symbol 7 Sound [adrenaline]Used by:574
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:16
Symbol 11 VideoUsed by:12
Symbol 12 MovieClip [VideoPlayer]Uses:11Used by:16
Symbol 13 BitmapUsed by:14
Symbol 14 GraphicUses:13Used by:15
Symbol 15 MovieClip [Icon]Uses:14Used by:16
Symbol 16 MovieClip [FLVPlayback]Uses:10 12 15
Symbol 26 BitmapUsed by:27 51 80
Symbol 27 GraphicUses:26Used by:Timeline
Symbol 28 FontUsed by:29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 90 91 519 520 532 533 541 543 544 545 674 675 676 688
Symbol 29 TextUses:28Used by:Timeline
Symbol 30 TextUses:28Used by:Timeline
Symbol 31 TextUses:28Used by:Timeline
Symbol 32 TextUses:28Used by:Timeline
Symbol 33 TextUses:28Used by:Timeline
Symbol 34 TextUses:28Used by:Timeline
Symbol 35 TextUses:28Used by:Timeline
Symbol 36 TextUses:28Used by:Timeline
Symbol 37 TextUses:28Used by:Timeline
Symbol 38 TextUses:28Used by:Timeline
Symbol 39 TextUses:28Used by:Timeline
Symbol 40 TextUses:28Used by:Timeline
Symbol 41 TextUses:28Used by:Timeline
Symbol 42 TextUses:28Used by:Timeline
Symbol 43 TextUses:28Used by:Timeline
Symbol 44 TextUses:28Used by:Timeline
Symbol 45 GraphicUsed by:48
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:48 98  Timeline
Symbol 48 MovieClipUses:45 47Used by:98  Timeline
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClipUses:49Used by:98  Timeline
Symbol 51 GraphicUses:26Used by:52
Symbol 52 MovieClipUses:51Used by:98 99  Timeline
Symbol 53 GraphicUsed by:Timeline
Symbol 54 ShapeTweeningUsed by:59
Symbol 55 ShapeTweeningUsed by:59
Symbol 56 ShapeTweeningUsed by:59
Symbol 57 ShapeTweeningUsed by:59
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:54 55 56 57 58Used by:Timeline
Symbol 60 BitmapUsed by:61
Symbol 61 GraphicUses:60Used by:62
Symbol 62 MovieClipUses:61Used by:63
Symbol 63 MovieClipUses:62Used by:Timeline
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:64Used by:74
Symbol 66 SoundUsed by:72 74 607 610 613 616 619
Symbol 67 FontUsed by:68 69 75 76 77 79 82 83 84 758 759 763 764 765
Symbol 68 TextUses:67Used by:72
Symbol 69 TextUses:67Used by:72
Symbol 70 GraphicUsed by:72
Symbol 71 SoundUsed by:72 461 464 467 471 474 477 482 487 493 500 507 678 761
Symbol 72 ButtonUses:68 69 70 71 66Used by:73
Symbol 73 MovieClipUses:72Used by:74
Symbol 74 MovieClipUses:65 66 73Used by:Timeline
Symbol 75 TextUses:67Used by:Timeline
Symbol 76 TextUses:67Used by:Timeline
Symbol 77 EditableTextUses:67Used by:Timeline
Symbol 8 MovieClip [__Packages.mx.video.FLVPlayback]
Symbol 17 MovieClip [__Packages.mx.video.VideoPlayer]
Symbol 18 MovieClip [__Packages.mx.video.INCManager]
Symbol 19 MovieClip [__Packages.mx.events.EventDispatcher]
Symbol 20 MovieClip [__Packages.mx.video.VideoError]
Symbol 21 MovieClip [__Packages.mx.video.UIManager]
Symbol 22 MovieClip [__Packages.mx.utils.Delegate]
Symbol 23 MovieClip [__Packages.mx.video.SMILManager]
Symbol 24 MovieClip [__Packages.mx.video.NCManager]
Symbol 25 MovieClip [__Packages.mx.video.CuePointManager]
Symbol 78 SoundUsed by:Timeline
Symbol 79 EditableTextUses:67Used by:Timeline
Symbol 80 GraphicUses:26Used by:Timeline
Symbol 81 GraphicUsed by:Timeline
Symbol 82 TextUses:67Used by:Timeline
Symbol 83 TextUses:67Used by:Timeline
Symbol 84 TextUses:67Used by:85
Symbol 85 ButtonUses:84Used by:Timeline
Symbol 86 GraphicUsed by:99
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:87Used by:98 99
Symbol 89 GraphicUsed by:99
Symbol 90 TextUses:28Used by:99
Symbol 91 TextUses:28Used by:99
Symbol 92 GraphicUsed by:98
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93Used by:98
Symbol 95 GraphicUsed by:98
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:96Used by:98
Symbol 98 MovieClipUses:92 94 95 88 48 47 50 52 97Used by:99
Symbol 99 MovieClipUses:86 88 89 52 90 91 98Used by:Timeline
Symbol 100 FontUsed by:101 104 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 458 459 462 463 465 466 468 469 472 473 475 476 478 479 480 484 485 486 489 490 491 495 497 498 502 504 505 509 510 521 522 525 526 534 535 536 537 538 539 603 608 611 614 617 631 652 656 660 689 694
Symbol 101 TextUses:100Used by:102
Symbol 102 MovieClipUses:101Used by:106
Symbol 103 SoundUsed by:106
Symbol 104 TextUses:100Used by:105
Symbol 105 MovieClipUses:104Used by:106 621 633 655 659 664 692
Symbol 106 MovieClipUses:102 103 105Used by:Timeline
Symbol 107 GraphicUsed by:174 224 227 305 375 402
Symbol 108 GraphicUsed by:109
Symbol 109 MovieClipUses:108Used by:402
Symbol 110 GraphicUsed by:111
Symbol 111 MovieClipUses:110Used by:173 227 375 402
Symbol 112 GraphicUsed by:402
Symbol 113 GraphicUsed by:402
Symbol 114 GraphicUsed by:402
Symbol 115 GraphicUsed by:402
Symbol 116 GraphicUsed by:402
Symbol 117 GraphicUsed by:402
Symbol 118 ShapeTweeningUsed by:402
Symbol 119 GraphicUsed by:402
Symbol 120 GraphicUsed by:136
Symbol 121 GraphicUsed by:136
Symbol 122 GraphicUsed by:136 756
Symbol 123 SoundUsed by:136
Symbol 124 GraphicUsed by:136
Symbol 125 GraphicUsed by:136
Symbol 126 GraphicUsed by:136
Symbol 127 GraphicUsed by:136
Symbol 128 GraphicUsed by:136
Symbol 129 GraphicUsed by:136
Symbol 130 GraphicUsed by:136
Symbol 131 GraphicUsed by:136
Symbol 132 GraphicUsed by:136
Symbol 133 GraphicUsed by:136
Symbol 134 GraphicUsed by:136
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClipUses:120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135Used by:402
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClipUses:137Used by:402
Symbol 139 SoundUsed by:402 425
Symbol 140 GraphicUsed by:402
Symbol 141 GraphicUsed by:402
Symbol 142 GraphicUsed by:402
Symbol 143 GraphicUsed by:402
Symbol 144 GraphicUsed by:402
Symbol 145 GraphicUsed by:402
Symbol 146 GraphicUsed by:402
Symbol 147 GraphicUsed by:402
Symbol 148 GraphicUsed by:402
Symbol 149 GraphicUsed by:402
Symbol 150 GraphicUsed by:402
Symbol 151 GraphicUsed by:402
Symbol 152 GraphicUsed by:402
Symbol 153 GraphicUsed by:402
Symbol 154 GraphicUsed by:402
Symbol 155 GraphicUsed by:402
Symbol 156 GraphicUsed by:402
Symbol 157 GraphicUsed by:402
Symbol 158 GraphicUsed by:402
Symbol 159 GraphicUsed by:402
Symbol 160 GraphicUsed by:161
Symbol 161 MovieClipUses:160Used by:402
Symbol 162 GraphicUsed by:402
Symbol 163 GraphicUsed by:402
Symbol 164 GraphicUsed by:402
Symbol 165 GraphicUsed by:402
Symbol 166 GraphicUsed by:402
Symbol 167 GraphicUsed by:402
Symbol 168 SoundUsed by:402
Symbol 169 ShapeTweeningUsed by:402
Symbol 170 ShapeTweeningUsed by:402
Symbol 171 ShapeTweeningUsed by:402
Symbol 172 ShapeTweeningUsed by:402
Symbol 173 MovieClipUses:111Used by:174 402
Symbol 174 MovieClipUses:107 173Used by:402
Symbol 175 GraphicUsed by:402
Symbol 176 GraphicUsed by:402
Symbol 177 GraphicUsed by:402
Symbol 178 GraphicUsed by:402
Symbol 179 GraphicUsed by:402
Symbol 180 GraphicUsed by:402
Symbol 181 GraphicUsed by:402
Symbol 182 GraphicUsed by:402
Symbol 183 GraphicUsed by:402
Symbol 184 GraphicUsed by:402
Symbol 185 GraphicUsed by:402
Symbol 186 GraphicUsed by:402
Symbol 187 GraphicUsed by:402
Symbol 188 GraphicUsed by:402
Symbol 189 GraphicUsed by:402
Symbol 190 GraphicUsed by:402
Symbol 191 GraphicUsed by:402
Symbol 192 GraphicUsed by:402
Symbol 193 GraphicUsed by:402
Symbol 194 GraphicUsed by:402
Symbol 195 GraphicUsed by:402
Symbol 196 GraphicUsed by:402
Symbol 197 GraphicUsed by:402
Symbol 198 GraphicUsed by:402
Symbol 199 GraphicUsed by:402
Symbol 200 GraphicUsed by:402
Symbol 201 GraphicUsed by:402
Symbol 202 GraphicUsed by:402
Symbol 203 GraphicUsed by:402
Symbol 204 GraphicUsed by:402
Symbol 205 GraphicUsed by:402
Symbol 206 GraphicUsed by:402
Symbol 207 GraphicUsed by:402
Symbol 208 ShapeTweeningUsed by:402
Symbol 209 ShapeTweeningUsed by:402
Symbol 210 ShapeTweeningUsed by:402
Symbol 211 GraphicUsed by:402
Symbol 212 ShapeTweeningUsed by:402
Symbol 213 GraphicUsed by:402
Symbol 214 GraphicUsed by:402
Symbol 215 GraphicUsed by:402
Symbol 216 GraphicUsed by:402
Symbol 217 GraphicUsed by:402
Symbol 218 GraphicUsed by:221
Symbol 219 GraphicUsed by:221
Symbol 220 GraphicUsed by:221
Symbol 221 MovieClipUses:218 219 220Used by:402
Symbol 222 GraphicUsed by:223
Symbol 223 MovieClipUses:222Used by:224 305 313
Symbol 224 MovieClipUses:107 223Used by:402
Symbol 225 GraphicUsed by:402
Symbol 226 GraphicUsed by:402
Symbol 227 MovieClipUses:107 111Used by:402
Symbol 228 GraphicUsed by:402
Symbol 229 GraphicUsed by:402
Symbol 230 GraphicUsed by:402
Symbol 231 GraphicUsed by:402
Symbol 232 GraphicUsed by:402
Symbol 233 GraphicUsed by:402
Symbol 234 GraphicUsed by:402
Symbol 235 GraphicUsed by:402
Symbol 236 GraphicUsed by:239
Symbol 237 GraphicUsed by:239
Symbol 238 GraphicUsed by:239
Symbol 239 MovieClipUses:236 237 238Used by:402
Symbol 240 GraphicUsed by:402
Symbol 241 GraphicUsed by:402
Symbol 242 GraphicUsed by:402
Symbol 243 GraphicUsed by:402
Symbol 244 GraphicUsed by:245
Symbol 245 MovieClipUses:244Used by:402
Symbol 246 GraphicUsed by:402
Symbol 247 GraphicUsed by:248
Symbol 248 MovieClipUses:247Used by:402
Symbol 249 GraphicUsed by:402
Symbol 250 GraphicUsed by:267
Symbol 251 ShapeTweeningUsed by:267
Symbol 252 GraphicUsed by:267
Symbol 253 ShapeTweeningUsed by:267
Symbol 254 GraphicUsed by:267
Symbol 255 GraphicUsed by:267
Symbol 256 GraphicUsed by:267
Symbol 257 ShapeTweeningUsed by:267
Symbol 258 GraphicUsed by:267
Symbol 259 GraphicUsed by:267
Symbol 260 GraphicUsed by:267
Symbol 261 GraphicUsed by:267
Symbol 262 GraphicUsed by:267
Symbol 263 GraphicUsed by:267
Symbol 264 ShapeTweeningUsed by:267
Symbol 265 GraphicUsed by:267
Symbol 266 GraphicUsed by:267
Symbol 267 MovieClipUses:250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266Used by:402
Symbol 268 SoundUsed by:401 402 597
Symbol 269 SoundUsed by:402
Symbol 270 GraphicUsed by:402
Symbol 271 GraphicUsed by:402
Symbol 272 GraphicUsed by:277
Symbol 273 GraphicUsed by:276
Symbol 274 GraphicUsed by:275
Symbol 275 MovieClipUses:274Used by:276
Symbol 276 MovieClipUses:273 275Used by:277 282
Symbol 277 MovieClipUses:272 276Used by:402
Symbol 278 SoundUsed by:402
Symbol 279 GraphicUsed by:280
Symbol 280 MovieClipUses:279Used by:402
Symbol 281 GraphicUsed by:282
Symbol 282 MovieClipUses:281 276Used by:402
Symbol 283 GraphicUsed by:302
Symbol 284 GraphicUsed by:302
Symbol 285 GraphicUsed by:302
Symbol 286 GraphicUsed by:302
Symbol 287 GraphicUsed by:302
Symbol 288 GraphicUsed by:302
Symbol 289 GraphicUsed by:302
Symbol 290 GraphicUsed by:302
Symbol 291 GraphicUsed by:302
Symbol 292 GraphicUsed by:302
Symbol 293 GraphicUsed by:302
Symbol 294 GraphicUsed by:302
Symbol 295 GraphicUsed by:302
Symbol 296 GraphicUsed by:302
Symbol 297 GraphicUsed by:302
Symbol 298 GraphicUsed by:302
Symbol 299 GraphicUsed by:302
Symbol 300 GraphicUsed by:302
Symbol 301 GraphicUsed by:302
Symbol 302 MovieClipUses:283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301Used by:402
Symbol 303 GraphicUsed by:402
Symbol 304 GraphicUsed by:402
Symbol 305 MovieClipUses:107 223Used by:310
Symbol 306 GraphicUsed by:309
Symbol 307 GraphicUsed by:309
Symbol 308 GraphicUsed by:309
Symbol 309 MovieClipUses:306 307 308Used by:310
Symbol 310 MovieClipUses:305 309Used by:402
Symbol 311 GraphicUsed by:402
Symbol 312 GraphicUsed by:313
Symbol 313 MovieClipUses:312 223Used by:402
Symbol 314 GraphicUsed by:402
Symbol 315 GraphicUsed by:402
Symbol 316 GraphicUsed by:317
Symbol 317 MovieClipUses:316Used by:402
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClipUses:318Used by:402
Symbol 320 GraphicUsed by:321
Symbol 321 MovieClipUses:320Used by:402
Symbol 322 GraphicUsed by:323
Symbol 323 MovieClipUses:322Used by:402
Symbol 324 GraphicUsed by:325 339 351
Symbol 325 MovieClipUses:324Used by:402
Symbol 326 GraphicUsed by:327
Symbol 327 MovieClipUses:326Used by:402
Symbol 328 GraphicUsed by:329
Symbol 329 MovieClipUses:328Used by:402
Symbol 330 SoundUsed by:389 402
Symbol 331 GraphicUsed by:332
Symbol 332 MovieClipUses:331Used by:402
Symbol 333 GraphicUsed by:334
Symbol 334 MovieClipUses:333Used by:402
Symbol 335 GraphicUsed by:336
Symbol 336 MovieClipUses:335Used by:402
Symbol 337 GraphicUsed by:338
Symbol 338 MovieClipUses:337Used by:402
Symbol 339 MovieClipUses:324Used by:402
Symbol 340 GraphicUsed by:341
Symbol 341 MovieClipUses:340Used by:402
Symbol 342 GraphicUsed by:402
Symbol 343 GraphicUsed by:344
Symbol 344 MovieClipUses:343Used by:402
Symbol 345 GraphicUsed by:346
Symbol 346 MovieClipUses:345Used by:402
Symbol 347 GraphicUsed by:348
Symbol 348 MovieClipUses:347Used by:402
Symbol 349 GraphicUsed by:350
Symbol 350 MovieClipUses:349Used by:402
Symbol 351 MovieClipUses:324Used by:402
Symbol 352 GraphicUsed by:353
Symbol 353 MovieClipUses:352Used by:402
Symbol 354 GraphicUsed by:355
Symbol 355 MovieClipUses:354Used by:402
Symbol 356 GraphicUsed by:402
Symbol 357 SoundUsed by:402
Symbol 358 GraphicUsed by:402
Symbol 359 SoundUsed by:402
Symbol 360 GraphicUsed by:402
Symbol 361 GraphicUsed by:402
Symbol 362 GraphicUsed by:402
Symbol 363 GraphicUsed by:402
Symbol 364 GraphicUsed by:402
Symbol 365 GraphicUsed by:374
Symbol 366 GraphicUsed by:374
Symbol 367 GraphicUsed by:374
Symbol 368 GraphicUsed by:374
Symbol 369 GraphicUsed by:374
Symbol 370 GraphicUsed by:374
Symbol 371 GraphicUsed by:374
Symbol 372 GraphicUsed by:374
Symbol 373 GraphicUsed by:374
Symbol 374 MovieClipUses:365 366 367 368 369 370 371 372 373Used by:376
Symbol 375 MovieClipUses:107 111Used by:376
Symbol 376 MovieClipUses:374 375Used by:402
Symbol 377 GraphicUsed by:402
Symbol 378 GraphicUsed by:389
Symbol 379 GraphicUsed by:382 394
Symbol 380 GraphicUsed by:381
Symbol 381 MovieClipUses:380Used by:382 394
Symbol 382 MovieClipUses:379 381Used by:389 397 401
Symbol 383 GraphicUsed by:389
Symbol 384 GraphicUsed by:389
Symbol 385 GraphicUsed by:389
Symbol 386 GraphicUsed by:389
Symbol 387 GraphicUsed by:389
Symbol 388 GraphicUsed by:389
Symbol 389 MovieClipUses:378 382 330 383 384 385 386 387 388Used by:390
Symbol 390 MovieClipUses:389Used by:402
Symbol 391 GraphicUsed by:402
Symbol 392 GraphicUsed by:397
Symbol 393 GraphicUsed by:397
Symbol 394 MovieClipUses:379 381Used by:397
Symbol 395 GraphicUsed by:397
Symbol 396 GraphicUsed by:397
Symbol 397 MovieClipUses:392 382 393 394 395 396Used by:402
Symbol 398 GraphicUsed by:402
Symbol 399 GraphicUsed by:401
Symbol 400 GraphicUsed by:401
Symbol 401 MovieClipUses:399 382 400 268Used by:402
Symbol 402 MovieClipUses:107 109 111 112 113 114 115 116 117 118 119 136 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 161 162 163 164 165 166 167 168 169 170 171 172 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 203 204 205 206 207 208 209 210 173 211 212 213 214 215 216 217 221 224 225 226 227 228 229 230 231 232 233 234 235 239 240 241 242 243 245 246 248 249 267 268 269 270 271 277 278 280 282 302 303 304 310 311 313 314 315 317 319 321 323 325 327 329 330 332 334 336 338 339 341 342 344 346 348 350 351 353 355 356 357 358 359 360 361 362 363 364 376 377 390 391 397 398 401Used by:Timeline
Symbol 403 FontUsed by:404 406
Symbol 404 TextUses:403Used by:405
Symbol 405 MovieClipUses:404Used by:Timeline
Symbol 406 EditableTextUses:403Used by:Timeline
Symbol 407 GraphicUsed by:409
Symbol 408 GraphicUsed by:409
Symbol 409 MovieClipUses:407 408Used by:415
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 MovieClipUses:409 410 411 412 413 414Used by:Timeline
Symbol 416 FontUsed by:417 666
Symbol 417 EditableTextUses:416Used by:Timeline
Symbol 418 GraphicUsed by:419
Symbol 419 MovieClipUses:418Used by:425
Symbol 420 SoundUsed by:425
Symbol 421 ShapeTweeningUsed by:425
Symbol 422 GraphicUsed by:425
Symbol 423 SoundUsed by:425
Symbol 424 SoundUsed by:425
Symbol 425 MovieClipUses:419 420 421 422 139 423 424Used by:Timeline
Symbol 426 GraphicUsed by:447
Symbol 427 GraphicUsed by:428
Symbol 428 MovieClipUses:427Used by:447
Symbol 429 VideoUsed by:447
Symbol 430 TextUses:100Used by:447
Symbol 431 TextUses:100Used by:447
Symbol 432 TextUses:100Used by:447
Symbol 433 TextUses:100Used by:447
Symbol 434 TextUses:100Used by:447
Symbol 435 TextUses:100Used by:447
Symbol 436 TextUses:100Used by:447
Symbol 437 TextUses:100Used by:447
Symbol 438 TextUses:100Used by:447
Symbol 439 TextUses:100Used by:447
Symbol 440 TextUses:100Used by:447
Symbol 441 TextUses:100Used by:447
Symbol 442 TextUses:100Used by:447
Symbol 443 TextUses:100Used by:447
Symbol 444 TextUses:100Used by:447
Symbol 445 BitmapUsed by:446
Symbol 446 GraphicUses:445Used by:447
Symbol 447 MovieClipUses:426 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 446 SS1Used by:Timeline
Symbol 448 GraphicUsed by:451
Symbol 449 GraphicUsed by:450
Symbol 450 MovieClipUses:449Used by:451
Symbol 451 MovieClipUses:448 450Used by:452 453 455
Symbol 452 MovieClipUses:451Used by:456
Symbol 453 MovieClipUses:451Used by:456
Symbol 454 SoundUsed by:456
Symbol 455 MovieClipUses:451Used by:456
Symbol 456 MovieClipUses:452 453 454 455Used by:Timeline
Symbol 457 GraphicUsed by:531
Symbol 458 TextUses:100Used by:461
Symbol 459 TextUses:100Used by:461 464 467
Symbol 460 GraphicUsed by:461 464 467
Symbol 461 ButtonUses:458 459 460 71Used by:531
Symbol 462 TextUses:100Used by:464
Symbol 463 TextUses:100Used by:464
Symbol 464 ButtonUses:462 463 460 459 71Used by:531
Symbol 465 TextUses:100Used by:467
Symbol 466 TextUses:100Used by:467
Symbol 467 ButtonUses:465 466 460 459 71Used by:531
Symbol 468 TextUses:100Used by:471
Symbol 469 TextUses:100Used by:471
Symbol 470 GraphicUsed by:471 474 477
Symbol 471 ButtonUses:468 469 470 71Used by:531
Symbol 472 TextUses:100Used by:474
Symbol 473 TextUses:100Used by:474
Symbol 474 ButtonUses:472 473 470 71Used by:531
Symbol 475 TextUses:100Used by:477
Symbol 476 TextUses:100Used by:477
Symbol 477 ButtonUses:475 476 470 71Used by:531
Symbol 478 TextUses:100Used by:483
Symbol 479 TextUses:100Used by:482
Symbol 480 TextUses:100Used by:482 487
Symbol 481 GraphicUsed by:482 487
Symbol 482 ButtonUses:479 480 481 71Used by:483
Symbol 483 MovieClipUses:478 482Used by:531
Symbol 484 TextUses:100Used by:488
Symbol 485 TextUses:100Used by:487
Symbol 486 TextUses:100Used by:487
Symbol 487 ButtonUses:485 486 481 480 71Used by:488
Symbol 488 MovieClipUses:484 487Used by:531
Symbol 489 TextUses:100Used by:494
Symbol 490 TextUses:100Used by:493
Symbol 491 TextUses:100Used by:493
Symbol 492 GraphicUsed by:493
Symbol 493 ButtonUses:490 491 492 71Used by:494
Symbol 494 MovieClipUses:489 493Used by:531
Symbol 495 TextUses:100Used by:496
Symbol 496 ButtonUses:495Used by:501
Symbol 497 TextUses:100Used by:500
Symbol 498 TextUses:100Used by:500
Symbol 499 GraphicUsed by:500
Symbol 500 ButtonUses:497 498 499 71Used by:501
Symbol 501 MovieClipUses:496 500Used by:531
Symbol 502 TextUses:100Used by:503
Symbol 503 MovieClipUses:502Used by:508
Symbol 504 TextUses:100Used by:507
Symbol 505 TextUses:100Used by:507
Symbol 506 GraphicUsed by:507
Symbol 507 ButtonUses:504 505 506 71Used by:508
Symbol 508 MovieClipUses:503 507Used by:531
Symbol 509 TextUses:100Used by:512
Symbol 510 TextUses:100Used by:512
Symbol 511 GraphicUsed by:512
Symbol 512 ButtonUses:509 510 511Used by:531
Symbol 513 FontUsed by:514
Symbol 514 TextUses:513Used by:531
Symbol 515 GraphicUsed by:516
Symbol 516 MovieClipUses:515Used by:531
Symbol 517 GraphicUsed by:518
Symbol 518 MovieClipUses:517Used by:531
Symbol 519 TextUses:28Used by:531
Symbol 520 TextUses:28Used by:531
Symbol 521 TextUses:100Used by:524
Symbol 522 TextUses:100Used by:524
Symbol 523 GraphicUsed by:524
Symbol 524 ButtonUses:521 522 523Used by:531
Symbol 525 TextUses:100Used by:528
Symbol 526 TextUses:100Used by:528
Symbol 527 GraphicUsed by:528
Symbol 528 ButtonUses:525 526 527Used by:531
Symbol 529 GraphicUsed by:530
Symbol 530 MovieClipUses:529Used by:531
Symbol 531 MovieClipUses:457 461 464 467 471 474 477 483 488 494 501 508 512 514 516 518 519 520 524 528 530Used by:Timeline
Symbol 532 EditableTextUses:28Used by:Timeline
Symbol 533 EditableTextUses:28Used by:Timeline
Symbol 534 EditableTextUses:100Used by:Timeline
Symbol 535 EditableTextUses:100Used by:Timeline
Symbol 536 EditableTextUses:100Used by:Timeline
Symbol 537 EditableTextUses:100Used by:Timeline
Symbol 538 EditableTextUses:100Used by:Timeline
Symbol 539 EditableTextUses:100Used by:Timeline
Symbol 540 GraphicUsed by:Timeline
Symbol 541 EditableTextUses:28Used by:Timeline
Symbol 542 GraphicUsed by:546
Symbol 543 TextUses:28Used by:546
Symbol 544 EditableTextUses:28Used by:546
Symbol 545 EditableTextUses:28Used by:546
Symbol 546 MovieClipUses:542 543 544 545Used by:Timeline
Symbol 547 GraphicUsed by:574
Symbol 548 ShapeTweeningUsed by:574
Symbol 549 GraphicUsed by:574
Symbol 550 GraphicUsed by:574
Symbol 551 ShapeTweeningUsed by:574
Symbol 552 GraphicUsed by:574
Symbol 553 ShapeTweeningUsed by:574
Symbol 554 GraphicUsed by:574
Symbol 555 GraphicUsed by:574
Symbol 556 ShapeTweeningUsed by:574
Symbol 557 GraphicUsed by:574
Symbol 558 GraphicUsed by:574
Symbol 559 GraphicUsed by:574
Symbol 560 GraphicUsed by:574
Symbol 561 GraphicUsed by:574
Symbol 562 GraphicUsed by:574
Symbol 563 GraphicUsed by:574
Symbol 564 GraphicUsed by:574
Symbol 565 GraphicUsed by:574
Symbol 566 GraphicUsed by:574
Symbol 567 GraphicUsed by:574
Symbol 568 GraphicUsed by:574
Symbol 569 GraphicUsed by:574
Symbol 570 GraphicUsed by:574
Symbol 571 GraphicUsed by:574
Symbol 572 GraphicUsed by:574
Symbol 573 GraphicUsed by:574
Symbol 574 MovieClipUses:547 548 7 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573Used by:Timeline
Symbol 575 GraphicUsed by:587
Symbol 576 GraphicUsed by:577
Symbol 577 MovieClipUses:576Used by:587
Symbol 578 SoundUsed by:587
Symbol 579 GraphicUsed by:587
Symbol 580 GraphicUsed by:587
Symbol 581 GraphicUsed by:587
Symbol 582 GraphicUsed by:587
Symbol 583 GraphicUsed by:587
Symbol 584 GraphicUsed by:587
Symbol 585 GraphicUsed by:587
Symbol 586 GraphicUsed by:587
Symbol 587 MovieClipUses:575 577 578 579 580 581 582 583 584 585 586Used by:Timeline
Symbol 588 BitmapUsed by:589
Symbol 589 GraphicUses:588Used by:590
Symbol 590 MovieClipUses:589Used by:591 668 669
Symbol 591 MovieClipUses:590Used by:Timeline
Symbol 592 GraphicUsed by:597
Symbol 593 GraphicUsed by:597
Symbol 594 ShapeTweeningUsed by:597
Symbol 595 SoundUsed by:597
Symbol 596 GraphicUsed by:597
Symbol 597 MovieClipUses:592 268 593 594 595 596Used by:Timeline
Symbol 598 SoundUsed by:621
Symbol 599 GraphicUsed by:600
Symbol 600 MovieClipUses:599Used by:621
Symbol 601 GraphicUsed by:620
Symbol 602 GraphicUsed by:607
Symbol 603 TextUses:100Used by:607
Symbol 604 ShapeTweeningUsed by:607
Symbol 605 GraphicUsed by:607 610 613 616 619
Symbol 606 GraphicUsed by:607 610 613 616 619
Symbol 607 MovieClipUses:602 603 604 66 605 606Used by:620  Timeline
Symbol 608 TextUses:100Used by:610
Symbol 609 ShapeTweeningUsed by:610
Symbol 610 MovieClipUses:605 608 609 66 606Used by:620
Symbol 611 TextUses:100Used by:613
Symbol 612 ShapeTweeningUsed by:613
Symbol 613 MovieClipUses:605 611 612 66 606Used by:620
Symbol 614 TextUses:100Used by:616
Symbol 615 ShapeTweeningUsed by:616
Symbol 616 MovieClipUses:605 614 615 66 606Used by:620
Symbol 617 TextUses:100Used by:619
Symbol 618 ShapeTweeningUsed by:619
Symbol 619 MovieClipUses:605 617 618 66 606Used by:620
Symbol 620 MovieClipUses:601 607 610 613 616 619Used by:621
Symbol 621 MovieClipUses:105 598 600 620Used by:623
Symbol 622 SoundUsed by:623
Symbol 623 MovieClipUses:621 622Used by:Timeline
Symbol 624 GraphicUsed by:625
Symbol 625 MovieClipUses:624Used by:627 630
Symbol 626 SoundUsed by:627
Symbol 627 MovieClipUses:625 626Used by:Timeline
Symbol 628 SoundUsed by:630
Symbol 629 SoundUsed by:630
Symbol 630 MovieClipUses:625 628 629Used by:Timeline
Symbol 631 TextUses:100Used by:632
Symbol 632 MovieClipUses:631Used by:633
Symbol 633 MovieClipUses:632 105Used by:Timeline
Symbol 634 GraphicUsed by:635
Symbol 635 MovieClipUses:634Used by:651
Symbol 636 GraphicUsed by:637
Symbol 637 MovieClipUses:636Used by:651
Symbol 638 GraphicUsed by:651
Symbol 639 GraphicUsed by:651
Symbol 640 GraphicUsed by:651
Symbol 641 GraphicUsed by:651
Symbol 642 GraphicUsed by:651
Symbol 643 GraphicUsed by:651
Symbol 644 GraphicUsed by:651
Symbol 645 GraphicUsed by:651
Symbol 646 GraphicUsed by:651
Symbol 647 GraphicUsed by:651
Symbol 648 GraphicUsed by:651
Symbol 649 GraphicUsed by:651
Symbol 650 GraphicUsed by:651
Symbol 651 MovieClipUses:635 637 6 638 639 640 641 642 643 644 645 646 647 648 649 650Used by:Timeline
Symbol 652 TextUses:100Used by:653
Symbol 653 MovieClipUses:652Used by:655
Symbol 654 SoundUsed by:655
Symbol 655 MovieClipUses:653 654 105Used by:Timeline
Symbol 656 TextUses:100Used by:657
Symbol 657 MovieClipUses:656Used by:659
Symbol 658 SoundUsed by:659
Symbol 659 MovieClipUses:657 658 105Used by:Timeline
Symbol 660 TextUses:100Used by:661 663
Symbol 661 MovieClipUses:660Used by:664
Symbol 662 SoundUsed by:664
Symbol 663 MovieClipUses:660Used by:664
Symbol 664 MovieClipUses:661 662 663 105Used by:Timeline
Symbol 665 MovieClipUsed by:Timeline
Symbol 666 TextUses:416Used by:667
Symbol 667 MovieClipUses:666Used by:Timeline
Symbol 668 MovieClipUses:590Used by:Timeline
Symbol 669 MovieClipUses:590Used by:Timeline
Symbol 670 GraphicUsed by:671
Symbol 671 MovieClipUses:670Used by:693
Symbol 672 GraphicUsed by:673
Symbol 673 MovieClipUses:672Used by:693
Symbol 674 TextUses:28Used by:678
Symbol 675 TextUses:28Used by:678
Symbol 676 TextUses:28Used by:678
Symbol 677 GraphicUsed by:678
Symbol 678 ButtonUses:674 675 676 677 71Used by:693
Symbol 679 FontUsed by:680 681 683 685 686 687
Symbol 680 TextUses:679Used by:693
Symbol 681 TextUses:679Used by:693
Symbol 682 GraphicUsed by:684
Symbol 683 TextUses:679Used by:684
Symbol 684 MovieClipUses:682 683Used by:693
Symbol 685 TextUses:679Used by:693
Symbol 686 EditableTextUses:679Used by:693
Symbol 687 EditableTextUses:679Used by:693
Symbol 688 EditableTextUses:28Used by:693
Symbol 689 TextUses:100Used by:690
Symbol 690 MovieClipUses:689Used by:692
Symbol 691 SoundUsed by:692
Symbol 692 MovieClipUses:690 691 105Used by:693  Timeline
Symbol 693 MovieClipUses:671 5 673 678 680 681 684 685 686 687 688 692Used by:Timeline
Symbol 694 EditableTextUses:100Used by:Timeline
Symbol 695 SoundUsed by:756
Symbol 696 GraphicUsed by:756
Symbol 697 GraphicUsed by:756
Symbol 698 GraphicUsed by:756
Symbol 699 GraphicUsed by:756
Symbol 700 GraphicUsed by:756
Symbol 701 SoundUsed by:756
Symbol 702 GraphicUsed by:756
Symbol 703 GraphicUsed by:756
Symbol 704 GraphicUsed by:756
Symbol 705 GraphicUsed by:756
Symbol 706 GraphicUsed by:756
Symbol 707 GraphicUsed by:756
Symbol 708 GraphicUsed by:756
Symbol 709 GraphicUsed by:756
Symbol 710 GraphicUsed by:756
Symbol 711 GraphicUsed by:756
Symbol 712 GraphicUsed by:756
Symbol 713 GraphicUsed by:756
Symbol 714 GraphicUsed by:756
Symbol 715 GraphicUsed by:756
Symbol 716 GraphicUsed by:756
Symbol 717 GraphicUsed by:756
Symbol 718 GraphicUsed by:756
Symbol 719 GraphicUsed by:756
Symbol 720 GraphicUsed by:756
Symbol 721 GraphicUsed by:756
Symbol 722 GraphicUsed by:756
Symbol 723 GraphicUsed by:756
Symbol 724 GraphicUsed by:756
Symbol 725 GraphicUsed by:756
Symbol 726 GraphicUsed by:756
Symbol 727 GraphicUsed by:756
Symbol 728 GraphicUsed by:756
Symbol 729 SoundUsed by:756
Symbol 730 GraphicUsed by:756
Symbol 731 GraphicUsed by:756
Symbol 732 GraphicUsed by:756
Symbol 733 GraphicUsed by:756
Symbol 734 GraphicUsed by:756
Symbol 735 GraphicUsed by:756
Symbol 736 GraphicUsed by:756
Symbol 737 GraphicUsed by:756
Symbol 738 GraphicUsed by:756
Symbol 739 GraphicUsed by:756
Symbol 740 GraphicUsed by:756
Symbol 741 GraphicUsed by:756
Symbol 742 GraphicUsed by:756
Symbol 743 GraphicUsed by:756
Symbol 744 GraphicUsed by:756
Symbol 745 GraphicUsed by:756
Symbol 746 GraphicUsed by:756
Symbol 747 GraphicUsed by:756
Symbol 748 GraphicUsed by:756
Symbol 749 GraphicUsed by:756
Symbol 750 GraphicUsed by:756
Symbol 751 GraphicUsed by:756
Symbol 752 GraphicUsed by:756
Symbol 753 GraphicUsed by:756
Symbol 754 GraphicUsed by:756
Symbol 755 GraphicUsed by:756
Symbol 756 MovieClipUses:695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 122Used by:Timeline
Symbol 757 GraphicUsed by:Timeline
Symbol 758 TextUses:67Used by:761
Symbol 759 TextUses:67Used by:761
Symbol 760 GraphicUsed by:761
Symbol 761 ButtonUses:758 759 760 71Used by:Timeline
Symbol 762 GraphicUsed by:Timeline
Symbol 763 TextUses:67Used by:Timeline
Symbol 764 TextUses:67Used by:Timeline
Symbol 765 TextUses:67Used by:767
Symbol 766 GraphicUsed by:767
Symbol 767 ButtonUses:765 766Used by:Timeline
Streaming Sound 1Used by:Symbol 447 MovieClip

Instance Names

"title2"Frame 1Symbol 63 MovieClip
"bars"Frame 1Symbol 74 MovieClip
"room"Frame 6Symbol 99 MovieClip
"adrenalineoverload"Frame 6Symbol 106 MovieClip
"victim"Frame 6Symbol 402 MovieClip
"rain"Frame 6Symbol 415 MovieClip
"scarb"Frame 6Symbol 425 MovieClip
"supernova"Frame 6Symbol 447 MovieClip
"bee"Frame 6Symbol 456 MovieClip
"gui"Frame 6Symbol 531 MovieClip
"control"Frame 6Symbol 546 MovieClip
"adren"Frame 6Symbol 574 MovieClip
"disintegrate"Frame 6Symbol 597 MovieClip
"firingsquad"Frame 6Symbol 623 MovieClip
"shoot"Frame 6Symbol 627 MovieClip
"shoot2"Frame 6Symbol 630 MovieClip
"bonus"Frame 6Symbol 633 MovieClip
"losesquad"Frame 6Symbol 651 MovieClip
"crushed"Frame 6Symbol 655 MovieClip
"shatter"Frame 6Symbol 659 MovieClip
"waraxe"Frame 6Symbol 664 MovieClip
"topfloor"Frame 6Symbol 665 MovieClip
"blur"Frame 6Symbol 668 MovieClip
"blur2"Frame 6Symbol 669 MovieClip
"gameovermenu"Frame 6Symbol 693 MovieClip
"unlockable"Frame 6Symbol 692 MovieClip
"axe"Frame 6Symbol 756 MovieClip
"_video"Symbol 12 MovieClip [VideoPlayer] Frame 1Symbol 11 Video
"boundingBox_mc"Symbol 16 MovieClip [FLVPlayback] Frame 1Symbol 10 MovieClip
"gfloor"Symbol 98 MovieClip Frame 1Symbol 97 MovieClip
"floor"Symbol 99 MovieClip Frame 1Symbol 98 MovieClip
"axedlol"Symbol 402 MovieClip Frame 91Symbol 136 MovieClip
"tester"Symbol 402 MovieClip Frame 91Symbol 138 MovieClip
"axedlol"Symbol 402 MovieClip Frame 110Symbol 136 MovieClip
"chest"Symbol 402 MovieClip Frame 195Symbol 325 MovieClip
"chest"Symbol 402 MovieClip Frame 212Symbol 339 MovieClip
"twoK"Symbol 531 MovieClip Frame 1Symbol 483 MovieClip
"fiveK"Symbol 531 MovieClip Frame 1Symbol 488 MovieClip
"threefiveK"Symbol 531 MovieClip Frame 1Symbol 494 MovieClip
"fifteenK"Symbol 531 MovieClip Frame 1Symbol 501 MovieClip
"twentyfiveK"Symbol 531 MovieClip Frame 1Symbol 508 MovieClip
"j"Symbol 620 MovieClip Frame 10Symbol 607 MovieClip
"j"Symbol 620 MovieClip Frame 20Symbol 607 MovieClip
"j"Symbol 620 MovieClip Frame 29Symbol 610 MovieClip
"j"Symbol 620 MovieClip Frame 39Symbol 610 MovieClip
"j"Symbol 620 MovieClip Frame 49Symbol 613 MovieClip
"j"Symbol 620 MovieClip Frame 59Symbol 613 MovieClip
"j"Symbol 620 MovieClip Frame 65Symbol 616 MovieClip
"j"Symbol 620 MovieClip Frame 75Symbol 616 MovieClip
"j"Symbol 620 MovieClip Frame 77Symbol 613 MovieClip
"j"Symbol 620 MovieClip Frame 86Symbol 619 MovieClip
"j"Symbol 620 MovieClip Frame 87Symbol 613 MovieClip
"j"Symbol 620 MovieClip Frame 96Symbol 619 MovieClip
"j"Symbol 620 MovieClip Frame 97Symbol 607 MovieClip
"j"Symbol 620 MovieClip Frame 103Symbol 610 MovieClip
"j"Symbol 620 MovieClip Frame 107Symbol 607 MovieClip
"j"Symbol 620 MovieClip Frame 113Symbol 610 MovieClip
"unlockable"Symbol 693 MovieClip Frame 25Symbol 692 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "close"
ExportAssets (56)Timeline Frame 1Symbol 2 as "cold"
ExportAssets (56)Timeline Frame 1Symbol 3 as "closer"
ExportAssets (56)Timeline Frame 1Symbol 4 as "fl2"
ExportAssets (56)Timeline Frame 1Symbol 5 as "floorsound"
ExportAssets (56)Timeline Frame 1Symbol 6 as "losegun"
ExportAssets (56)Timeline Frame 1Symbol 7 as "adrenaline"
ExportAssets (56)Timeline Frame 1Symbol 12 as "VideoPlayer"
ExportAssets (56)Timeline Frame 1Symbol 15 as "Icon"
ExportAssets (56)Timeline Frame 1Symbol 16 as "FLVPlayback"
ExportAssets (56)Timeline Frame 1Symbol 8 as "__Packages.mx.video.FLVPlayback"
ExportAssets (56)Timeline Frame 1Symbol 17 as "__Packages.mx.video.VideoPlayer"
ExportAssets (56)Timeline Frame 1Symbol 18 as "__Packages.mx.video.INCManager"
ExportAssets (56)Timeline Frame 1Symbol 19 as "__Packages.mx.events.EventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 20 as "__Packages.mx.video.VideoError"
ExportAssets (56)Timeline Frame 1Symbol 21 as "__Packages.mx.video.UIManager"
ExportAssets (56)Timeline Frame 1Symbol 22 as "__Packages.mx.utils.Delegate"
ExportAssets (56)Timeline Frame 1Symbol 23 as "__Packages.mx.video.SMILManager"
ExportAssets (56)Timeline Frame 1Symbol 24 as "__Packages.mx.video.NCManager"
ExportAssets (56)Timeline Frame 1Symbol 25 as "__Packages.mx.video.CuePointManager"

Labels

"shotten"Symbol 402 MovieClip Frame 91
"shotagain"Symbol 402 MovieClip Frame 116
"cold"Symbol 402 MovieClip Frame 122
"squishavoid"Symbol 402 MovieClip Frame 123
"squishavoid2"Symbol 402 MovieClip Frame 124
"squishavoid3"Symbol 402 MovieClip Frame 125
"squishavoid4"Symbol 402 MovieClip Frame 126
"squishavoid5"Symbol 402 MovieClip Frame 127
"squishavoid6"Symbol 402 MovieClip Frame 128
"squishavoid7"Symbol 402 MovieClip Frame 129
"squishavoid8"Symbol 402 MovieClip Frame 130
"diesquish"Symbol 402 MovieClip Frame 131
"highgrav"Symbol 402 MovieClip Frame 133
"fall"Symbol 402 MovieClip Frame 134
"cold"Symbol 402 MovieClip Frame 178
"cold2"Symbol 402 MovieClip Frame 179
"cold3"Symbol 402 MovieClip Frame 180
"shatter"Symbol 402 MovieClip Frame 181
"walk"Symbol 402 MovieClip Frame 195
"bees1"Symbol 402 MovieClip Frame 256
"bees2"Symbol 402 MovieClip Frame 257
"highgrav"Symbol 402 MovieClip Frame 258
"hot"Symbol 402 MovieClip Frame 259

Dynamic Text Variables

percentSymbol 77 EditableText""
percentSymbol 79 EditableText"99%"
doNothingSymbol 406 EditableText""
watertortureSymbol 417 EditableText""
healthSymbol 532 EditableText"0"
ppSymbol 533 EditableText"88500"
stopactionSymbol 534 EditableText""
finisherSymbol 535 EditableText""
squadvarySymbol 536 EditableText""
squadcounterSymbol 537 EditableText""
adrenalinecounterSymbol 538 EditableText""
beenoSymbol 539 EditableText""
infoSymbol 541 EditableText"It's been such a long time, I think I should be going."
temperatureSymbol 544 EditableText"55"
gravitySymbol 545 EditableText"55"
finisherbonusSymbol 686 EditableText"3500"
totalppSymbol 687 EditableText"24740"
verdictSymbol 688 EditableText"24740"
gameoverSymbol 694 EditableText""




http://swfchan.com/9/40792/info.shtml
Created: 10/5 -2019 20:11:02 Last modified: 10/5 -2019 20:11:02 Server time: 22/12 -2024 17:37:52