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

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

hh.swf

This is the info page for
Flash #4761

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


Text
about

about

back

back

ActionScript [AS1/AS2]

Frame 1
function dragonTalkRand() { if (!soundOn) { return(undefined); } if (Math.random() < 0.8) { if (stopped && (music.getVolume() == 100)) { var _local1 = Math.round(Math.random() * 2); if (_local1 == 0) { sfx.attachSound("catch_me_comeon_stopped"); } else if (_local1 == 1) { sfx.attachSound("comeon_stopped"); } else { sfx.attachSound("follow_me_comeon_stopped"); } } else { var _local1 = Math.round(Math.random() * 2); if (_local1 == 0) { sfx.attachSound("catch_me_moving"); } else if (_local1 == 1) { sfx.attachSound("catch_me2_moving"); } else { sfx.attachSound("comeon2_moving"); } } sfx.start(0, 1); } } function stopCheck() { timeSinceMove = getTimer() - lastMoveTime; if ((timeSinceMove > 5000) && (!restarting)) { if (!stopped) { stopped = true; } if (!noMusic) { var _local1 = music.getVolume(); if (_local1 > 0) { music.setVolume(music.getVolume() - 20); } else { noMusic = true; music.stop(); music.setVolume(100); } } } } function moveDragonRand() { } function updateTimer() { lastMoveTime = getTimer(); } function startMovingAgain() { noMusic = false; stopped = false; music.attachSound("hh_music1"); music.stop(); music.setVolume(100); music.start(0, 4); } function shootUp() { shots++; needle_in_mc._alpha = 100; left_arm_mc._alpha = 0; right_arm_mc._alpha = 0; } function decreaseSmack() { if (shots == 1) { new mx.transitions.Tween(smack_mc0, "_alpha", mx.transitions.easing.Regular.easeIn, 100, 0, moveTime, true); new mx.transitions.Tween(smack_mc1, "_alpha", mx.transitions.easing.Regular.easeIn, 0, 100, moveTime, true); } else if (shots == 2) { new mx.transitions.Tween(smack_mc1, "_alpha", mx.transitions.easing.Regular.easeIn, 100, 0, moveTime, true); new mx.transitions.Tween(smack_mc2, "_alpha", mx.transitions.easing.Regular.easeIn, 0, 100, moveTime, true); } else if (shots == 3) { new mx.transitions.Tween(smack_mc2, "_alpha", mx.transitions.easing.Regular.easeIn, 100, 0, moveTime, true); new mx.transitions.Tween(smack_mc3, "_alpha", mx.transitions.easing.Regular.easeIn, 0, 100, moveTime, true); } else if (shots == 4) { new mx.transitions.Tween(smack_mc3, "_alpha", mx.transitions.easing.Regular.easeIn, 100, 0, moveTime, true); new mx.transitions.Tween(smack_mc4, "_alpha", mx.transitions.easing.Regular.easeIn, 0, 100, moveTime, true); } else if (shots == 5) { new mx.transitions.Tween(smack_mc4, "_alpha", mx.transitions.easing.Regular.easeIn, 100, 0, moveTime, true); new mx.transitions.Tween(smack_mc5, "_alpha", mx.transitions.easing.Regular.easeIn, 0, 100, moveTime, true); } } function movePlayer() { bg_mc_new_width = bg_mc._width * z_scale_change; bg_mc_new_height = bg_mc._height * z_scale_change; bg_x_center = (-(bg_mc_new_width - Stage.width)) / 2; bg_y_center = (-(bg_mc_new_height - Stage.height)) / 2; var _local2 = ((_xmouse - (Stage.width / 2)) / Stage.width) * 2; x = x + (((_local2 * 50) * (z_scale_change - 1)) * 10); bg_mc_new_x = bg_x_center - x; bg_mc_new_y = bg_y_center; var _local1 = x / bg_mc_new_width; if (_local1 > 0.16) { x = 0.16 * bg_mc_new_width; bg_mc_new_x = bg_x_center - x; } if (_local1 < -0.16) { x = -0.16 * bg_mc_new_width; bg_mc_new_x = bg_x_center - x; } if (bg_mc_new_x > 0) { bg_mc_new_x = 0; } if ((bg_mc_new_x + bg_mc_new_width) < Stage.width) { bg_mc_new_x = Stage.width - bg_mc_new_width; } xScaleT = new mx.transitions.Tween(bg_mc, "_width", mx.transitions.easing.Regular.easeIn, bg_mc._width, bg_mc_new_width, moveTime, true); yScaleT = new mx.transitions.Tween(bg_mc, "_height", mx.transitions.easing.Regular.easeIn, bg_mc._height, bg_mc_new_height, moveTime, true); xPosT = new mx.transitions.Tween(bg_mc, "_x", mx.transitions.easing.Regular.easeIn, bg_mc._x, bg_mc_new_x, moveTime, true); yPosT = new mx.transitions.Tween(bg_mc, "_y", mx.transitions.easing.Regular.easeIn, bg_mc._y, bg_mc_new_y, moveTime, true); xScaleT.onMotionFinished = function () { needle_in_mc._alpha = 0; left_arm_mc._alpha = 100; right_arm_mc._alpha = 100; if (shots > 4) { shots = 0; restarting = true; new mx.transitions.Tween(smack_mc0, "_alpha", mx.transitions.easing.Regular.easeIn, 0, 100, moveTime, true); new mx.transitions.Tween(smack_mc5, "_alpha", mx.transitions.easing.Regular.easeIn, 100, 0, moveTime, true); bgFadeOut = new mx.transitions.Tween(bg_mc, "_alpha", mx.transitions.easing.Regular.easeIn, 100, 0, 0.8, true); bgNewFadeIn = new mx.transitions.Tween(bg_mc_new, "_alpha", mx.transitions.easing.Regular.easeIn, 0, 100, 0.4, true); bgFadeOut.onMotionFinished = function () { bg_mc._x = 0; bg_mc._y = 0; bg_mc._width = Stage.width; bg_mc._height = Stage.height; bg_mc._alpha = 100; bg_mc_new._alpha = 0; updateTimer(); restarting = false; }; } }; } function moveDragon() { var _local1; if (Math.random() < 0.5) { _local1 = 1; } else { _local1 = 0.1; } var _local3 = (-0.25 + (Math.random() / 2)) * _local1; dragon_z = dragon_z + _local3; if (dragon_z < 0.5) { dragon_z = 0.5; } if (dragon_z > 1) { dragon_z = 1; } dragon_mc1_new_width = dragon_max_width * dragon_z; dragon_mc1_new_height = dragon_max_height * dragon_z; var _local4 = Stage.width - dragon_mc1._width; var _local5 = (Stage.height * 0.8) - dragon_mc1._height; var _local2 = (0.5 + dragon_z) / 1.5; dragon_mc1_new_x = (((1 - (_local2 * _local1)) * _local4) / 2) + (((Math.random() * _local4) * _local2) * _local1); dragon_mc1_new_y = (((1 - (_local2 * _local1)) * _local5) / 2) + (((Math.random() * _local5) * _local2) * _local1); var _local6 = Math.pow((Math.pow(dragon_mc1._x - dragon_mc1_new_x, 2) + Math.pow(dragon_mc1._y - dragon_mc1_new_y, 2)) + Math.pow(_local3 * 300, 2), 0.333333333333333); moveTimeDragon = (moveTimeDragonBase * (_local6 / 15)) * (1 / (dragon_z + (_local3 / 2))); new mx.transitions.Tween(dragon_mc1, "_width", mx.transitions.easing.Regular.easeIn, dragon_mc1._width, dragon_mc1_new_width, moveTimeDragon, true); new mx.transitions.Tween(dragon_mc1, "_height", mx.transitions.easing.Regular.easeIn, dragon_mc1._height, dragon_mc1_new_height, moveTimeDragon, true); new mx.transitions.Tween(dragon_mc1, "_x", mx.transitions.easing.Regular.easeIn, dragon_mc1._x, dragon_mc1_new_x, moveTimeDragon, true); new mx.transitions.Tween(dragon_mc1, "_y", mx.transitions.easing.Regular.easeIn, dragon_mc1._y, dragon_mc1_new_y, moveTimeDragon, true); moveDragonTimer = setTimeout(moveDragon, moveTimeDragon * 1000); } var xScaleT; var yScaleT; var xPosT; var yPosT; var bgFadeOut; var bgNewFadeIn; var x = 0; var y = 0; var z_scale_change = 1.2; var restarting = false; var moveTime = 0.8; var moveTimeDragonBase = 0.6; var shots = 0; var dragon_z = 1; var dragon_max_width = 360; var dragon_max_height = 305; var musicLoopPos = 0; var music = new Sound(this); var sfx = new Sound(this); var stopped = false; var lastMoveTime = getTimer(); var noMusic = false; var dragonMoveFactor = 0.5; var soundOn = true; var moveDragonTimer; var aboutOpen = false; aboutButton1.onPress = function () { clearTimeout(moveDragonTimer); music.stop(); sfx.stop(); soundOn = false; gotoAndStop ("about"); }; music.onSoundComplete = function () { if (!soundOn) { return(undefined); } musicLoopPos++; if (musicLoopPos > 2) { musicLoopPos = 1; } if (musicLoopPos == 0) { music.attachSound("hh_music1"); } if (musicLoopPos == 1) { music.attachSound("hh_music2"); } else if (musicLoopPos == 2) { music.attachSound("hh_music3"); } music.start(0, 4); }; music.attachSound("hh_music1"); music.start(0, 4); if (init == undefined) { var dragonTalkTimer = setInterval(dragonTalkRand, 2500); } init = false; var stopCheckTimer = setInterval(stopCheck, 500); moveDragonTimer = setTimeout(moveDragon, moveTimeDragonBase * 1000); onMouseDown = function () { if ((((_xmouse >= aboutButton1._x) && (_xmouse <= (aboutButton1._x + aboutButton._width))) && (_ymouse >= aboutButton1._y)) && (_ymouse <= (aboutButton1._y + aboutButton._height))) { return(undefined); } if (restarting) { return(undefined); } if (stopped) { startMovingAgain(); } updateTimer(); shootUp(); movePlayer(); decreaseSmack(); }; stop();
Frame 10
var init = false; backButton1.onPress = function () { soundOn = true; gotoAndStop ("start"); };
Symbol 55 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 56 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 57 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); } }
Symbol 58 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular { function Regular () { } static function easeIn(t, b, c, d) { t = t / d; return(((c * t) * t) + b); } static function easeOut(t, b, c, d) { t = t / d; return((((-c) * t) * (t - 2)) + b); } static function easeInOut(t, b, c, d) { t = t / (d / 2); if (t < 1) { return((((c / 2) * t) * t) + b); } t--; return((((-c) / 2) * ((t * (t - 2)) - 1)) + b); } static var version = "1.1.0.52"; }

Library Items

Symbol 1 Sound [hh_music3]
Symbol 2 Sound [hh_music2]
Symbol 3 Sound [hh_music1]
Symbol 4 Sound [follow_me_comeon_stopped]
Symbol 5 Sound [comeon2_moving]
Symbol 6 Sound [comeon_stopped]
Symbol 7 Sound [catch_me2_moving]
Symbol 8 Sound [catch_me_moving]
Symbol 9 Sound [catch_me_comeon_stopped]
Symbol 10 BitmapUsed by:11
Symbol 11 GraphicUses:10Used by:12
Symbol 12 MovieClipUses:11Used by:Timeline
Symbol 13 BitmapUsed by:14
Symbol 14 GraphicUses:13Used by:17
Symbol 15 BitmapUsed by:16
Symbol 16 GraphicUses:15Used by:17
Symbol 17 MovieClipUses:14 16Used by:Timeline
Symbol 18 BitmapUsed by:19
Symbol 19 GraphicUses:18Used by:20
Symbol 20 MovieClipUses:19Used by:Timeline
Symbol 21 BitmapUsed by:22
Symbol 22 GraphicUses:21Used by:23
Symbol 23 MovieClipUses:22Used by:Timeline
Symbol 24 BitmapUsed by:25
Symbol 25 GraphicUses:24Used by:26
Symbol 26 MovieClipUses:25Used by:Timeline
Symbol 27 BitmapUsed by:28
Symbol 28 GraphicUses:27Used by:29
Symbol 29 MovieClipUses:28Used by:Timeline
Symbol 30 BitmapUsed by:31
Symbol 31 GraphicUses:30Used by:32
Symbol 32 MovieClipUses:31Used by:Timeline
Symbol 33 BitmapUsed by:34
Symbol 34 GraphicUses:33Used by:35
Symbol 35 MovieClipUses:34Used by:Timeline
Symbol 36 BitmapUsed by:37
Symbol 37 GraphicUses:36Used by:38
Symbol 38 MovieClipUses:37Used by:Timeline
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:41
Symbol 41 MovieClipUses:40Used by:Timeline
Symbol 42 BitmapUsed by:43
Symbol 43 GraphicUses:42Used by:44
Symbol 44 MovieClipUses:43Used by:Timeline
Symbol 45 GraphicUsed by:49 52
Symbol 46 FontUsed by:47 48 50 51
Symbol 47 TextUses:46Used by:49
Symbol 48 TextUses:46Used by:49
Symbol 49 ButtonUses:45 47 48Used by:Timeline
Symbol 55 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon]
Symbol 56 MovieClip [__Packages.mx.transitions.BroadcasterMX]
Symbol 57 MovieClip [__Packages.mx.transitions.Tween]
Symbol 58 MovieClip [__Packages.mx.transitions.easing.Regular]
Symbol 50 TextUses:46Used by:52
Symbol 51 TextUses:46Used by:52
Symbol 52 ButtonUses:45 50 51Used by:Timeline
Symbol 53 BitmapUsed by:54
Symbol 54 GraphicUses:53Used by:Timeline

Instance Names

"bg_mc_new"Frame 1Symbol 12 MovieClip
"bg_mc"Frame 1Symbol 12 MovieClip
"dragon_mc1"Frame 1Symbol 17 MovieClip
"smack_mc0"Frame 1Symbol 20 MovieClip
"smack_mc1"Frame 1Symbol 23 MovieClip
"smack_mc2"Frame 1Symbol 26 MovieClip
"smack_mc3"Frame 1Symbol 29 MovieClip
"smack_mc4"Frame 1Symbol 32 MovieClip
"smack_mc5"Frame 1Symbol 35 MovieClip
"needle_in_mc"Frame 1Symbol 38 MovieClip
"right_arm_mc"Frame 1Symbol 41 MovieClip
"left_arm_mc"Frame 1Symbol 44 MovieClip
"aboutButton1"Frame 1Symbol 49 Button
"backButton1"Frame 10Symbol 52 Button

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 131 bytes "..$1$lH$I6ZxjZnxZ3fQtPk3K0TMU/."
ExportAssets (56)Timeline Frame 1Symbol 1 as "hh_music3"
ExportAssets (56)Timeline Frame 1Symbol 2 as "hh_music2"
ExportAssets (56)Timeline Frame 1Symbol 3 as "hh_music1"
ExportAssets (56)Timeline Frame 1Symbol 4 as "follow_me_comeon_stopped"
ExportAssets (56)Timeline Frame 1Symbol 5 as "comeon2_moving"
ExportAssets (56)Timeline Frame 1Symbol 6 as "comeon_stopped"
ExportAssets (56)Timeline Frame 1Symbol 7 as "catch_me2_moving"
ExportAssets (56)Timeline Frame 1Symbol 8 as "catch_me_moving"
ExportAssets (56)Timeline Frame 1Symbol 9 as "catch_me_comeon_stopped"
ExportAssets (56)Timeline Frame 1Symbol 55 as "__Packages.mx.transitions.OnEnterFrameBeacon"
ExportAssets (56)Timeline Frame 1Symbol 56 as "__Packages.mx.transitions.BroadcasterMX"
ExportAssets (56)Timeline Frame 1Symbol 57 as "__Packages.mx.transitions.Tween"
ExportAssets (56)Timeline Frame 1Symbol 58 as "__Packages.mx.transitions.easing.Regular"

Labels

"start"Frame 1
"about"Frame 10




http://swfchan.com/1/4761/info.shtml
Created: 16/6 -2019 14:07:13 Last modified: 16/6 -2019 14:07:13 Server time: 22/12 -2024 07:35:21