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

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

Insomniacovrlrd Pong.swf

This is the info page for
Flash #130765

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


Text
<p align="center"><font face="Teacher_A" size="43" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="center"><font face="Teacher_A" size="43" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>

ActionScript [AS1/AS2]

Instance of Symbol 12 MovieClip "ball_mc" in Frame 1
onClipEvent (enterFrame) { if ((this._x <= 40) || (this._x >= 499)) { if (this.hitTest(_root.paddle1_mc)) { _root.impact_mc._x = this._x; _root.impact_mc._y = this._y; _root.impact_mc.play(); _root.code_mc.Deflection1(); _root.code_mc.ball_direction = 1; } if (this.hitTest(_root.paddle2_mc)) { _root.impact_mc._x = this._x; _root.impact_mc._y = this._y; _root.impact_mc.play(); _root.code_mc.Deflection2(); _root.code_mc.ball_direction = -1; } } if (this._x <= 0) { _root.code_mc.ball_OutBounds = true; _root.leftgoal_mc.gotoAndPlay(2); _root.code_mc.game_p2score++; _root.code_mc.BallRecall(); _root.code_mc.ball_direction = -1; } if (this._x >= 550) { _root.code_mc.ball_OutBounds = true; _root.rightgoal_mc.gotoAndPlay(2); _root.code_mc.game_p1score++; _root.code_mc.BallRecall(); _root.code_mc.ball_direction = 1; } if (this._y > 375) { _root.firstSound.attachSound("blip3"); _root.firstSound.start(); _root.impact2_mc._x = this._x; _root.impact2_mc._y = this._y; _root.impact2_mc.gotoAndPlay(2); _root.code_mc.ball_vDirection = -1; } if (this._y < 66) { _root.firstSound.attachSound("blip3"); _root.firstSound.start(); _root.impact2_mc._x = this._x; _root.impact2_mc._y = this._y; _root.impact2_mc.gotoAndPlay(2); _root.code_mc.ball_vDirection = 1; } }
Instance of Symbol 16 MovieClip "paddle1_mc" in Frame 1
onClipEvent (enterFrame) { if (this._y > 340) { if (Key.isDown(38)) { this._y = this._y - 7; } } if (this._y < 100) { if (Key.isDown(40)) { this._y = this._y + 7; } } if ((this._y >= 100) && (this._y <= 340)) { if (Key.isDown(38)) { this._y = this._y - 7; } if (Key.isDown(40)) { this._y = this._y + 7; } } }
Instance of Symbol 16 MovieClip "paddle2_mc" in Frame 1
onClipEvent (enterFrame) { if ((_root.ball_mc._x > 213) && (_root.code_mc.ball_inPlay == true)) { if (_root.ball_mc._y < this._y) { if (this._y > 100) { this._y = this._y - 7; } } if (_root.ball_mc._y > this._y) { if (this._y < 340) { this._y = this._y + 7; } } } }
Instance of Symbol 31 MovieClip "code_mc" in Frame 1
onClipEvent (load) { function Deflection1() { _root.firstSound.attachSound("blip1"); _root.firstSound.start(); if (_root.ball_mc._y <= _root.paddle1_mc._y) { _root.code_mc.ball_vDirection = -1; _root.code_mc.ball_vSpeed = Math.abs((_root.paddle1_mc._y - _root.ball_mc._y) / 3); } else if (_root.ball_mc._y > _root.paddle1_mc._y) { _root.code_mc.ball_vDirection = 1; _root.code_mc.ball_vSpeed = Math.abs((_root.paddle1_mc._y - _root.ball_mc._y) / 3); } } function Deflection2() { _root.firstSound.attachSound("blip2"); _root.firstSound.start(); if (_root.ball_mc._y <= _root.paddle2_mc._y) { _root.code_mc.ball_vDirection = -1; _root.code_mc.ball_vSpeed = Math.abs((_root.paddle2_mc._y - _root.ball_mc._y) / 3); } else if (_root.ball_mc._y > _root.paddle2_mc._y) { _root.code_mc.ball_vDirection = 1; _root.code_mc.ball_vSpeed = Math.abs((_root.paddle2_mc._y - _root.ball_mc._y) / 3); } } function BallRecall() { _root.ball_mc._x = 270; _root.ball_mc._y = 217; _root.code_mc.ball_OutBounds = false; _root.code_mc.ball_inPlay = false; _root.code_mc.ball_vSpeed = 0; _root.paddle1_mc._y = 217; _root.paddle2_mc._y = 217; if ((_root.code_mc.game_p1score < 10) && (_root.code_mc.game_p2score < 10)) { _root.firstSound.attachSound("recall"); _root.firstSound.start(); _root.timer_mc.play(); } if (_root.code_mc.game_p1score == 10) { _root.firstSound.attachSound("win"); _root.firstSound.start(); } if (_root.code_mc.game_p2score == 10) { _root.firstSound.attachSound("lose"); _root.firstSound.start(); } } function MoveTheBall() { if (_root.code_mc.ball_inPlay == true) { if (_root.code_mc.ball_OutBounds == false) { _root.ball_mc._x = _root.ball_mc._x + (_root.code_mc.ball_speed * _root.code_mc.ball_direction); _root.ball_mc._y = _root.ball_mc._y + (_root.code_mc.ball_vSpeed * _root.code_mc.ball_vDirection); } } } _root.firstSound = new Sound(); ball_inPlay = false; ball_direction = -1; ball_speed = 10; ball_vSpeed = 0; ball_vDirection = -1; ball_OutBounds = false; ball_vSpeed0 = 0; ball_vSpeed1 = 3; ball_vSpeed2 = 6; ball_vSpeed3 = 9; game_title = false; game_p1score = 0; game_p2score = 0; game_hasStarted = false; } onClipEvent (enterFrame) { MoveTheBall(); }
Symbol 24 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 34
_root.impact2_mc._x = -50; _root.impact2_mc._y = -200;
Symbol 27 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 62
stop();
Symbol 33 Button
on (release) { if ((_root.code_mc.game_p1score == 10) || (_root.code_mc.game_p2score == 10)) { _root.code_mc.game_p1score = 0; _root.code_mc.game_p2score = 0; _root.code_mc.game_hasStarted = false; } if (((_root.code_mc.game_p1score == 0) && (_root.code_mc.game_p2score == 0)) && (_root.code_mc.game_hasStarted == false)) { _root.code_mc.game_hasStarted = true; _root.firstSound.attachSound("gamestart"); _root.firstSound.start(); } if ((_root.code_mc.ball_inPlay == false) && (_root.code_mc.game_hasStarted == true)) { _root.timer_mc.play(); } }
Symbol 36 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 90
_root.code_mc.ball_inPlay = true; gotoAndStop (1);

Library Items

Symbol 1 Sound [win]
Symbol 2 Sound [blip3]
Symbol 3 Sound [lose]
Symbol 4 Sound [gamestart]
Symbol 5 Sound [recall]
Symbol 6 Sound [blip2]
Symbol 7 Sound [blip1]
Symbol 8 GraphicUsed by:Timeline
Symbol 9 ShapeTweeningUsed by:12
Symbol 10 ShapeTweeningUsed by:12
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:9 10 11Used by:Timeline
Symbol 13 ShapeTweeningUsed by:16
Symbol 14 ShapeTweeningUsed by:16
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:13 14 15Used by:Timeline
Symbol 17 FontUsed by:18 19
Symbol 18 EditableTextUses:17Used by:Timeline
Symbol 19 EditableTextUses:17Used by:Timeline
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:20Used by:Timeline
Symbol 22 ShapeTweeningUsed by:24
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:22 23Used by:Timeline
Symbol 25 ShapeTweeningUsed by:27
Symbol 26 GraphicUsed by:27 29
Symbol 27 MovieClipUses:25 26Used by:Timeline
Symbol 28 ShapeTweeningUsed by:29
Symbol 29 MovieClipUses:28 26Used by:Timeline
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:30Used by:Timeline
Symbol 32 GraphicUsed by:33
Symbol 33 ButtonUses:32Used by:Timeline
Symbol 34 GraphicUsed by:36
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:34 35Used by:Timeline

Instance Names

"ball_mc"Frame 1Symbol 12 MovieClip
"paddle1_mc"Frame 1Symbol 16 MovieClip
"paddle2_mc"Frame 1Symbol 16 MovieClip
"p1score_txt"Frame 1Symbol 18 EditableText
"p2score_txt"Frame 1Symbol 19 EditableText
"impact_mc"Frame 1Symbol 24 MovieClip
"impact2_mc"Frame 1Symbol 24 MovieClip
"leftgoal_mc"Frame 1Symbol 27 MovieClip
"rightgoal_mc"Frame 1Symbol 29 MovieClip
"code_mc"Frame 1Symbol 31 MovieClip
"start_btn"Frame 1Symbol 33 Button
"timer_mc"Frame 1Symbol 36 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "win"
ExportAssets (56)Timeline Frame 1Symbol 2 as "blip3"
ExportAssets (56)Timeline Frame 1Symbol 3 as "lose"
ExportAssets (56)Timeline Frame 1Symbol 4 as "gamestart"
ExportAssets (56)Timeline Frame 1Symbol 5 as "recall"
ExportAssets (56)Timeline Frame 1Symbol 6 as "blip2"
ExportAssets (56)Timeline Frame 1Symbol 7 as "blip1"

Dynamic Text Variables

_root.code_mc.game_p1scoreSymbol 18 EditableText"<p align="center"><font face="Teacher_A" size="43" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>"
_root.code_mc.game_p2scoreSymbol 19 EditableText"<p align="center"><font face="Teacher_A" size="43" color="#ffffff" letterSpacing="0.000000" kerning="1">0</font></p>"




http://swfchan.com/27/130765/info.shtml
Created: 21/2 -2019 22:53:03 Last modified: 21/2 -2019 22:53:03 Server time: 04/05 -2024 20:17:07