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

swfchan turned sixteen years old today! (5may2024)

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

LennarDigital Sylenth1 2.xkg.swf

This is the info page for
Flash #77996

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


ActionScript [AS1/AS2]
Frame 1
function Star() { this.x = 0; this.y = 0; this.z = 0; this.mc = null; this.reset(); this.reset = function () { this.x = ((Math.random() * APP_WIDTH) - (APP_WIDTH * 0.5)) * STAR_DIST_MAX; this.y = ((Math.random() * APP_HEIGHT) - (APP_HEIGHT * 0.5)) * STAR_DIST_MAX; this.z = STAR_DIST_MAX; }; this.paint = function () { if (this.mc != null) { this.mc._x = this.x / this.z; this.mc._y = this.y / this.z; this.mc._xscale = 100 / this.z; this.mc._yscale = 100 / this.z; } }; } function update(dt) { var _local3 = dt * 0.001; var _local4 = g_stars.length; var _local1; var _local2 = 0; while (_local2 < _local4) { _local1 = g_stars[_local2]; _local1.z = _local1.z - (_local3 * g_camVel); if (_local1.z < 0.1) { _local1.reset(); } _local2++; } return(0); } function paint() { var _local3 = g_stars.length; var _local1; var _local2 = 0; while (_local2 < _local3) { _local1 = g_stars[_local2]; _local1.paint(); if ((((_local1.mc._x < -200) || (_local1.mc._x > 200)) || (_local1.mc._y < -200)) || (_local1.mc._y > 200)) { _local1.reset(); _local1.paint(); } _local2++; } return(0); } function doFrame() { var _local2 = getTimer(); var _local1 = _local2 - g_prevT; if (_local1 > 0) { update(_local1); paint(); } g_prevT = _local2; return(0); } function initialize(mcDst) { var _local1; var _local2; _local1 = 0; while (_local1 < g_stars.length()) { if (_local2.mc != null) { _local2.mc.removeMovieClip(); } _local1--; } g_stars = new Array(); _local1 = 0; while (_local1 < NUM_STARS) { _local2 = new Star(); var _local3 = "star" + String(_local1); mcDst.attachMovie("Star", _local3, 100 + _local1); _local2.mc = mcDst[_local3]; _local2.paint(); g_stars.push(_local2); _local1++; } g_prevT = getTimer(); return(0); } var STAR_DIST_MAX = 10; var STAR_DIST_MIN = 0.1; var NUM_STARS = 100; var CAM_VEL_DEFAULT = 4; var APP_WIDTH = 400; var APP_HEIGHT = 400; var g_stars = new Array(); var g_prevT = 0; var g_camVel = CAM_VEL_DEFAULT;
Frame 5
initialize(theStarField);
Frame 10
doFrame();
Frame 11
gotoAndPlay (10);

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClip [Star]Uses:1
Symbol 3 MovieClip [StarField]
Symbol 4 MovieClip [StarField]Used by:Timeline
Symbol 5 GraphicUsed by:Timeline
Symbol 6 GraphicUsed by:Timeline
Symbol 7 BitmapUsed by:8
Symbol 8 GraphicUses:7Used by:Timeline
Symbol 9 SoundUsed by:Timeline

Instance Names

"theStarField"Frame 1Symbol 4 MovieClip [StarField]

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 2 as "Star"
ExportAssets (56)Timeline Frame 1Symbol 3 as "StarField"
ExportAssets (56)Timeline Frame 1Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 2Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 3Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 4Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 5Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 6Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 7Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 8Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 9Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 10Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 11Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 12Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 13Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 14Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 15Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 16Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 17Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 18Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 19Symbol 4 as "StarField"
ExportAssets (56)Timeline Frame 20Symbol 4 as "StarField"

Labels

"init"Frame 5
"loop"Frame 10




http://swfchan.com/16/77996/info.shtml
Created: 3/4 -2019 19:50:49 Last modified: 3/4 -2019 19:50:49 Server time: 05/05 -2024 22:58:43