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

Aussie Santa.swf

This is the info page for
Flash #28481

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


Text
sound storage

000

AWARD

SAYIT

00

dsfgdf

000

your
best:

Keep Santa from touching the hot sand for as
long as you can!

Click Santa to keep him in the air.
Occasionally a present will fall out of his sack,
if you can click it before it disappears, you'll
get bonus hits!

This game is best played when someone you
know gets a better score than you.

Click here to play

Click here to play

FRAMEACTION

ActionScript [AS1/AS2]

Frame 3
function awardrecieved() { hits = hits + 5; this.scoreclip.gotoAndPlay(2); testforaward(); } function setup() { var _local1 = _global; _local1.music = 1; ballrad = 40; _root.gamestatus = "playing"; _local1.score = 0; yourhighest = 0; _root.hits = 0; ground = 350; bx = 275; by = 220; kicked = 0; xv = 0; yv = 0; elastic = 0.8; stagewidth = 550; middlepoint = stagewidth / 2; ballrad = this.ball._width / 2; gravity = 3; _local1.skill = 2.8; tnum = 1; setupsounds(); _local1.playinglandsound = 0; _local1.awards = 0; } function frameaction() { if (_root.gamestatus == "lost") { gamewait--; if (gamewait < 1) { skill = 3; _root.hits = 0; awards = 0; i = 0; while (i < 40) { removeMovieClip(eval ("this.background.a" + i)); i++; } _root.gamestatus = "playing"; } } if (playinglandsound > 0) { playinglandsound--; if (playinglandsound < 1) { playinglandsound = 0; } } bx = bx + (xv / skill); by = by + (yv / skill); if (yv > 30) { yv = 30; } if ((by > (ground - ballrad)) && (yv > 0)) { yv = (-yv) * elastic; xv = xv * elastic; by = ground - ballrad; if (gamestatus == "playing") { if (playinglandsound == 0) { playinglandsound = 500; santa1.start(); } if (hits > 0) { _root.lastscore = hits; if (hits < 61) { saying = "EXCELLENT!!"; } if (hits < 51) { saying = "YOUR ON FIRE!"; } if (hits < 41) { saying = "Your getting good now!"; } if (hits < 31) { saying = "Your starting to do ok"; } if (hits < 21) { saying = "Getting better"; } if (hits < 11) { saying = "Hmmm, keep practicing"; } if (hits < 6) { saying = "That was terrible!"; } if (_root.hits > _root.yourhighest) { saying = "NEW BEST SCORE!"; } this.sayit.gotoAndPlay(2); if (_root.hits > _root.yourhighest) { _root.yourhighest = _root.hits; } _root.gamestatus = "lost"; gamewait = 60; } } } yv = yv + gravity; xv = xv * 0.95; if (by < (-ballrad)) { yv = 3; by = -ballrad; boing2.start(); } if (bx < ballrad) { bx = ballrad; xv = (-xv) * elastic; boing2.start(); } if (bx > (stagewidth - ballrad)) { bx = stagewidth - ballrad; xv = (-xv) * elastic; boing2.start(); } ball._rotation = -Math.floor(275 - bx); ball._x = Math.floor(bx); ball._y = Math.floor(by); this.shadowholder._x = bx; scaleit = Math.floor(by / 3); this.shadowholder._xscale = scaleit; this.shadowholder._yscale = scaleit; this.shadowholder._alpha = scaleit; } function testforaward() { yes = 0; switch (hits) { case 20 : yes = 1; break; case 40 : yes = 2; break; case 50 : yes = 3; break; case 70 : yes = 4; break; case 90 : yes = 5; break; case 110 : yes = 6; break; case 125 : yes = 7; break; case 140 : yes = 8; break; case 150 : yes = 9; break; case 170 : yes = 10; break; } if (yes > 0) { this.awardholder.attachMovie("award", "a" + awards, awards + 10); eval ("this.awardholder.a" + awards).gotoAndStop(yes); eval ("this.awardholder.a" + awards)._x = mousex; eval ("this.awardholder.a" + awards)._y = mousey; awards++; } } function kickit() { var _local1 = _root; if (gamestatus == "playing") { click1.start(); playinglandsound = 0; mousex = Math.floor(_local1._xmouse); mousey = Math.floor(_local1._ymouse); xv = (-(mousex - bx)) + random(10); if (xv < 0) { xv = xv - random(10); } if (xv > 0) { xv = xv + random(10); } yv = ((-125 + (by - mousey)) / 4) - random(15); _local1.hits = _local1.hits + 1; skill = skill - 0.025; if (skill < 1) { skill = 1; } this.scoreclip.gotoAndPlay(2); testforaward(); } } function setupsounds() { var _local1 = _global; _local1.santa1 = new Sound(); santa1.attachSound("santa1"); _local1.click1 = new Sound(); click1.attachSound("click1"); _local1.boing2 = new Sound(); boing2.attachSound("boing2"); _local1.click2 = new Sound(); _local1.soundtrack = new Sound(); soundtrack.attachSound("soundtrack"); soundtrack.start(0, 50); } function awardsClass() { } awardsClass.prototype = new MovieClip(); awardsClass.prototype.onLoad = function () { var _local1 = this; _local1.x = _root.ball._x; _local1.y = _root.ball._y; _local1.yv = 1; _local1.fadeit = 0; }; awardsClass.prototype.onEnterFrame = function () { var _local1 = this; if (_local1.y < ground) { _local1.y = _local1.y + _local1.yv; if (_local1.y > ground) { _local1.yv = -_local1.yv; _local1.yv = _local1.yv * 0.9; _local1.y = ground - 1; } _local1.yv = _local1.yv * 0.97; _local1.yv = _local1.yv + 1; _local1._x = Math.floor(_local1.x); _local1._y = Math.floor(_local1.y); if (Math.abs(yv) < 1) { _local1.a = Math.abs(_local1.y - ground); if (_local1.a < 3) { _local1.y = ground; _local1.fadeit = 1; } } } if (_local1.fadeit == 1) { _local1._alpha = _local1._alpha - 5; if (_local1._alpha < 5) { removeMovieClip(_local1); } } }; Object.registerClass("award", awardsClass);
Frame 22
setup(); stop();
Instance of Symbol 90 MovieClip in Frame 22
onClipEvent (enterFrame) { _root.frameaction(); }
Symbol 2 MovieClip [present] Frame 1
this._y = this._y + 2; if (this._y > 420) { removeMovieClip(this); }
Symbol 6 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { setProperty(bar, _xscale , PercentLoaded); } else { _root.play(); }
Symbol 6 MovieClip Frame 2
gotoAndPlay (1);
Symbol 19 Button
on (press) { if (_root.gamestatus == "playing") { trace(_root.gameststus); _root.awardrecieved(); this.gotoAndPlay(30); } }
Symbol 41 MovieClip [award] Frame 90
removeMovieClip(this);
Symbol 42 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 1
stop();
Symbol 55 Button
on (release) { if (music == 1) { music = 2; stopAllSounds(); onoff.gotoAndStop(2); } else if (music == 2) { music = 1; soundtrack.start(0, 50); onoff.gotoAndStop(1); } }
Symbol 58 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 66
this.gotoAndStop(1);
Symbol 73 Button
on (press) { _root.kickit(); }
Symbol 74 MovieClip Frame 1
stop();
Symbol 83 Button
on (press) { _root.play(); }
Symbol 84 MovieClip Frame 1
_root.stop();
Symbol 84 MovieClip Frame 2
stop();

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClip [present]Uses:1
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:6
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:4 5Used by:Timeline
Symbol 7 FontUsed by:8
Symbol 8 TextUses:7Used by:42
Symbol 9 Sound [click1]Used by:42
Symbol 10 Sound [soundtrack]Used by:42
Symbol 11 Sound [boing2]Used by:42
Symbol 12 Sound [land1]Used by:42
Symbol 13 Sound [land2]Used by:42
Symbol 14 Sound [click8]Used by:42
Symbol 15 Sound [santa1]Used by:42
Symbol 16 BitmapUsed by:17
Symbol 17 GraphicUses:16Used by:41
Symbol 18 GraphicUsed by:19
Symbol 19 ButtonUses:18Used by:41
Symbol 20 BitmapUsed by:21
Symbol 21 GraphicUses:20Used by:41
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:41
Symbol 24 BitmapUsed by:25
Symbol 25 GraphicUses:24Used by:41
Symbol 26 BitmapUsed by:27
Symbol 27 GraphicUses:26Used by:41
Symbol 28 BitmapUsed by:29
Symbol 29 GraphicUses:28Used by:41
Symbol 30 BitmapUsed by:31
Symbol 31 GraphicUses:30Used by:41
Symbol 32 BitmapUsed by:33
Symbol 33 GraphicUses:32Used by:41
Symbol 34 BitmapUsed by:35
Symbol 35 GraphicUses:34Used by:41
Symbol 36 BitmapUsed by:37
Symbol 37 GraphicUses:36Used by:41
Symbol 38 BitmapUsed by:39
Symbol 39 GraphicUses:38Used by:41
Symbol 40 SoundUsed by:41
Symbol 41 MovieClip [award]Uses:17 19 21 23 25 27 29 31 33 35 37 39 40Used by:42
Symbol 42 MovieClipUses:8 9 10 11 12 13 14 15 41Used by:Timeline
Symbol 43 BitmapUsed by:44
Symbol 44 GraphicUses:43Used by:45
Symbol 45 MovieClipUses:44Used by:Timeline
Symbol 46 FontUsed by:47 59 62 64 75 76
Symbol 47 EditableTextUses:46Used by:48
Symbol 48 MovieClipUses:47Used by:49
Symbol 49 MovieClipUses:48Used by:Timeline
Symbol 50 FontUsed by:51
Symbol 51 EditableTextUses:50Used by:52
Symbol 52 MovieClipUses:51Used by:Timeline
Symbol 53 GraphicUsed by:55
Symbol 54 GraphicUsed by:55
Symbol 55 ButtonUses:53 54Used by:Timeline
Symbol 56 GraphicUsed by:58
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClipUses:56 57Used by:Timeline
Symbol 59 TextUses:46Used by:65
Symbol 60 BitmapUsed by:61
Symbol 61 GraphicUses:60Used by:65
Symbol 62 EditableTextUses:46Used by:63
Symbol 63 MovieClipUses:62Used by:65
Symbol 64 EditableTextUses:46Used by:65
Symbol 65 MovieClipUses:59 61 63 64Used by:Timeline
Symbol 66 BitmapUsed by:67
Symbol 67 GraphicUses:66Used by:68
Symbol 68 ButtonUses:67Used by:69
Symbol 69 MovieClipUses:68Used by:Timeline
Symbol 70 BitmapUsed by:71
Symbol 71 GraphicUses:70Used by:74
Symbol 72 GraphicUsed by:73
Symbol 73 ButtonUses:72Used by:74
Symbol 74 MovieClipUses:71 73Used by:Timeline
Symbol 75 EditableTextUses:46Used by:Timeline
Symbol 76 TextUses:46Used by:Timeline
Symbol 77 GraphicUsed by:84
Symbol 78 FontUsed by:79 80 81
Symbol 79 TextUses:78Used by:84
Symbol 80 TextUses:78Used by:83
Symbol 81 TextUses:78Used by:83
Symbol 82 GraphicUsed by:83
Symbol 83 ButtonUses:80 81 82Used by:84
Symbol 84 MovieClipUses:77 79 83Used by:Timeline
Symbol 85 BitmapUsed by:86
Symbol 86 GraphicUses:85Used by:87
Symbol 87 MovieClipUses:86Used by:Timeline
Symbol 88 FontUsed by:89
Symbol 89 TextUses:88Used by:90
Symbol 90 MovieClipUses:89Used by:Timeline

Instance Names

"background"Frame 3Symbol 45 MovieClip
"scoreclip"Frame 3Symbol 49 MovieClip
"awardholder"Frame 3Symbol 52 MovieClip
"onoff"Frame 3Symbol 58 MovieClip
"sayit"Frame 3Symbol 65 MovieClip
"ball"Frame 3Symbol 74 MovieClip
"instructions"Frame 3Symbol 84 MovieClip
"shadowholder"Frame 22Symbol 87 MovieClip
"bar"Symbol 6 MovieClip Frame 1Symbol 4 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 2 as "present"
ExportAssets (56)Timeline Frame 2Symbol 9 as "click1"
ExportAssets (56)Timeline Frame 2Symbol 10 as "soundtrack"
ExportAssets (56)Timeline Frame 2Symbol 11 as "boing2"
ExportAssets (56)Timeline Frame 2Symbol 12 as "land1"
ExportAssets (56)Timeline Frame 2Symbol 13 as "land2"
ExportAssets (56)Timeline Frame 2Symbol 14 as "click8"
ExportAssets (56)Timeline Frame 2Symbol 15 as "santa1"
ExportAssets (56)Timeline Frame 2Symbol 41 as "award"

Dynamic Text Variables

_root.hitsSymbol 47 EditableText"000"
_root.lastscoreSymbol 62 EditableText"00"
_root.sayingSymbol 64 EditableText"dsfgdf"
_root.yourhighestSymbol 75 EditableText"000"




http://swfchan.com/6/28481/info.shtml
Created: 11/8 -2019 19:04:17 Last modified: 11/8 -2019 19:04:17 Server time: 22/12 -2024 20:47:14