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

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

the game1.swf

This is the info page for
Flash #51939

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


Text
Press the space bar
to play

SCORE: 0

ActionScript [AS1/AS2]

Frame 27
gotoAndPlay (1);
Frame 31
wheel_mc.onEnterFrame = function () { var _local1 = new mx.transitions.Tween(wheel_mc, "_x", Strong.easeIn, box_mc._x, 475, 1, true); }; function fireWeapon() { if (reloadComplete == true) { var _local3 = _root.attachMovie("bullet", "b" + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _local3._x = player_mc._x; _local3._y = player_mc._y; _local3.bulletLifeTimer = 0; randomNum = random(bulletOffset) - (bulletOffset / 2); bulletAngle = (((player_mc._rotation + randomNum) - 90) * Math.PI) / 180; _local3.xSpeed = Math.cos(bulletAngle) * bulletSpeed; _local3.ySpeed = Math.sin(bulletAngle) * bulletSpeed; _local3.onEnterFrame = function () { this._x = this._x + this.xSpeed; this._y = this._y + this.ySpeed; if (this.bulletLifeTimer >= bulletLifeTimerTotal) { this.removeMovieClip(); } this.bulletLifeTimer++; }; startReloading(); } } function startReloading() { reloadComplete = false; reloadTimer = setInterval(this, "gunReloaded", reloadSpeed); } function gunReloaded() { clearInterval(reloadTimer); reloadComplete = true; } function rotatePlayer() { playerX = player_mc._x; playerY = player_mc._y; rotationDirection = Math.round(180 - ((Math.atan2(_root._xmouse - playerX, _root._ymouse - playerY) * 180) / Math.PI)); player_mc._rotation = rotationDirection; } var bulletOffset = 1; var bulletLifeTimerTotal = 20; var bulletSpeed = 10; var reloadSpeed = 20; var reloadTimer; var reloadComplete = true; var bulletAngle; var randomNum; var playerX; var playerY; var rotationDirection; mouseListener = new Object(); mouseListener.onMouseDown = function () { fireWeapon(); }; mouseListener.onMouseMove = function () { rotatePlayer(); }; Mouse.addListener(mouseListener); stop();
Symbol 6 MovieClip [asteroid] Frame 1
stop();
Symbol 6 MovieClip [asteroid] Frame 40
stop(); restart = true;
Symbol 10 Button
on (keyPress "<Space>") { gotoAndPlay (31); }
Symbol 21 MovieClip Frame 15
stop();
Symbol 30 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon { function OnEnterFrameBeacon () { } static function init() { var _local4 = _global.MovieClip; if (!_root.__OnEnterFrameBeacon) { mx.transitions.BroadcasterMX.initialize(_local4); var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876); _local3.onEnterFrame = function () { _global.MovieClip.broadcastMessage("onEnterFrame"); }; } } static var version = "1.1.0.52"; }
Symbol 31 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX { var _listeners; function BroadcasterMX () { } static function initialize(o, dontCreateArray) { if (o.broadcastMessage != undefined) { delete o.broadcastMessage; } o.addListener = mx.transitions.BroadcasterMX.prototype.addListener; o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener; if (!dontCreateArray) { o._listeners = new Array(); } } function addListener(o) { removeListener(o); if (broadcastMessage == undefined) { broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage; } return(_listeners.push(o)); } function removeListener(o) { var _local2 = _listeners; var _local3 = _local2.length; while (_local3--) { if (_local2[_local3] == o) { _local2.splice(_local3, 1); if (!_local2.length) { broadcastMessage = undefined; } return(true); } } return(false); } function broadcastMessage() { var _local5 = String(arguments.shift()); var _local4 = _listeners.concat(); var _local6 = _local4.length; var _local3 = 0; while (_local3 < _local6) { _local4[_local3][_local5].apply(_local4[_local3], arguments); _local3++; } } static var version = "1.1.0.52"; }
Symbol 32 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween { var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime; function Tween (obj, prop, func, begin, finish, duration, useSeconds) { mx.transitions.OnEnterFrameBeacon.init(); if (!arguments.length) { return; } this.obj = obj; this.prop = prop; this.begin = begin; position = (begin); this.duration = (duration); this.useSeconds = useSeconds; if (func) { this.func = func; } this.finish = (finish); _listeners = []; addListener(this); start(); } function set time(t) { prevTime = _time; if (t > duration) { if (looping) { rewind(t - _duration); update(); broadcastMessage("onMotionLooped", this); } else { if (useSeconds) { _time = _duration; update(); } stop(); broadcastMessage("onMotionFinished", this); } } else if (t < 0) { rewind(); update(); } else { _time = t; update(); } //return(time); } function get time() { return(_time); } function set duration(d) { _duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d)); //return(duration); } function get duration() { return(_duration); } function set FPS(fps) { var _local2 = isPlaying; stopEnterFrame(); _fps = fps; if (_local2) { startEnterFrame(); } //return(FPS); } function get FPS() { return(_fps); } function set position(p) { setPosition(p); //return(position); } function setPosition(p) { prevPos = _pos; obj[prop] = (_pos = p); broadcastMessage("onMotionChanged", this, _pos); updateAfterEvent(); } function get position() { return(getPosition()); } function getPosition(t) { if (t == undefined) { t = _time; } return(func(t, begin, change, _duration)); } function set finish(f) { change = f - begin; //return(finish); } function get finish() { return(begin + change); } function continueTo(finish, duration) { begin = position; this.finish = (finish); if (duration != undefined) { this.duration = (duration); } start(); } function yoyo() { continueTo(begin, time); } function startEnterFrame() { if (_fps == undefined) { _global.MovieClip.addListener(this); } else { _intervalID = setInterval(this, "onEnterFrame", 1000 / _fps); } isPlaying = true; } function stopEnterFrame() { if (_fps == undefined) { _global.MovieClip.removeListener(this); } else { clearInterval(_intervalID); } isPlaying = false; } function start() { rewind(); startEnterFrame(); broadcastMessage("onMotionStarted", this); } function stop() { stopEnterFrame(); broadcastMessage("onMotionStopped", this); } function resume() { fixTime(); startEnterFrame(); broadcastMessage("onMotionResumed", this); } function rewind(t) { _time = ((t == undefined) ? 0 : (t)); fixTime(); update(); } function fforward() { time = (_duration); fixTime(); } function nextFrame() { if (useSeconds) { time = ((getTimer() - _startTime) / 1000); } else { time = (_time + 1); } } function onEnterFrame() { nextFrame(); } function prevFrame() { if (!useSeconds) { time = (_time - 1); } } function toString() { return("[Tween]"); } function fixTime() { if (useSeconds) { _startTime = getTimer() - (_time * 1000); } } function update() { position = (getPosition(_time)); } static var version = "1.1.0.52"; static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init(); static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true); function func(t, b, c, d) { return(((c * t) / d) + b); } }

Library Items

Symbol 1 BitmapUsed by:2
Symbol 2 GraphicUses:1Used by:3
Symbol 3 MovieClip [bullet]Uses:2
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:6
Symbol 6 MovieClip [asteroid]Uses:5
Symbol 7 GraphicUsed by:Timeline
Symbol 8 FontUsed by:9
Symbol 9 TextUses:8Used by:10
Symbol 10 ButtonUses:9Used by:Timeline
Symbol 11 BitmapUsed by:12
Symbol 12 GraphicUses:11Used by:18  Timeline
Symbol 13 BitmapUsed by:14 17
Symbol 14 GraphicUses:13Used by:18
Symbol 15 GraphicUsed by:18
Symbol 16 GraphicUsed by:18
Symbol 17 GraphicUses:13Used by:18
Symbol 18 MovieClipUses:14 12 15 16 17Used by:21 29
Symbol 19 GraphicUsed by:21
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:18 19 20Used by:Timeline
Symbol 30 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon]
Symbol 31 MovieClip [__Packages.mx.transitions.BroadcasterMX]
Symbol 32 MovieClip [__Packages.mx.transitions.Tween]
Symbol 22 GraphicUsed by:Timeline
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:23Used by:Timeline
Symbol 25 BitmapUsed by:26
Symbol 26 GraphicUses:25Used by:Timeline
Symbol 27 FontUsed by:28
Symbol 28 TextUses:27Used by:Timeline
Symbol 29 MovieClipUses:18Used by:Timeline

Instance Names

"player_mc"Frame 31Symbol 24 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 3 as "bullet"
ExportAssets (56)Timeline Frame 1Symbol 6 as "asteroid"
ExportAssets (56)Timeline Frame 1Symbol 30 as "__Packages.mx.transitions.OnEnterFrameBeacon"
ExportAssets (56)Timeline Frame 1Symbol 31 as "__Packages.mx.transitions.BroadcasterMX"
ExportAssets (56)Timeline Frame 1Symbol 32 as "__Packages.mx.transitions.Tween"




http://swfchan.com/11/51939/info.shtml
Created: 24/4 -2019 09:02:10 Last modified: 24/4 -2019 09:02:10 Server time: 05/05 -2024 05:47:12