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

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

Grow A Tree 2.swf

This is the info page for
Flash #57231

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


Text
THIS ISN'T A GAME
AND IT ISN'T A MOVIE
EITHER, BUT IT'S FUN.

-HoldinJohnson

PRESS ctrl AND THEN CLICK
TO OPEN AD..........

V1.2

DRAW A LINE TO START THE PRELOADER

LOADING.

START
GROWING

INSTRUCTIONS

GROW A
TREE 2

CREDITS

STORY

PICK A LEVEL

EXTRAS

BACK TO MAIN MENU

GAME
MENU

MUSIC FROM
HoldinJohnson

BACK TO MENU

EXTRAS

INSTRUCTIONS:

THE PURPOSE OF GROW A TREE 2 IS TO, WELL.........
WATCH A TREE GROW, THIS "GAME" HAS NO USER
INTERACTION, EXCEPT FOR MENU AND OPTION
PURPOSES BECAUSE IT'S NOT MENT TO NOR NEVER
WILL. THE TREE GROWS USING A INFINITE ARRAY
ENGINE, A RECURSION LIKE ENGINE EXCEPT FASTER. AS
THE TREE GROWS USING THIS COMPLEX ALGORITHM,
WATCH IT CAREFULLY AS IT GROWS BASED ON
FACTORS SUCH AS YOUR COMPUTER'S CONNECTION AS
WELL AS NATURAL PHYSICS VARIABLES, FOR EXAMPLE,
WIND.

BACK TO MENU

LEVEL 1
COMPLETE

NEXT LEVEL

REPLAY?

PICK A LEVEL

LEVEL 1 (MAPLE TREE)

LEVEL 2 (NEWGROUNDS
TREE)

LEVEL 3 (WINTER TREE)

LEVEL 4 (EMO TREE)

LEVEL 5 (WTF TREE)

LEVEL 2
COMPLETE

LEVEL 3
COMPLETE

LEVEL 4
COMPLETE

LEVEL 5
COMPLETE

MUSIC FROM
HoldinJohnson

REPLAY?

AUDIO ONLY :
MUSIC FROM HoldinJohnson
(WAS SO LOAD MAY HAVE OVERLOADED MIC)

BACK TO MAIN MENU

AUDIO ONLY :
MUSIC FROM HoldinJohnson
(WAS SO LOAD MAY HAVE OVERLOADED MIC)

CREDITS

CREATOR/PROGRAMMER/DEVELOPER/ARTIST - HOLDINJOHNSON
MUSIC:
YAMALAZOO88  - MAIN THEME
HOLDINJOHNSON AND FRIENDS - EXTRAS MUSIC
JOPLAJOP - OPEN ANIMATION THEME
NEWGROUNDS:
PEOPLE THAT EMAILED/MESSAGED/POSTED SUGGESTIONS
ICONS/PRELOADER/NEWGROUNDS' BANNERS AND LOGOS

loading

Created

by

Holdin

johnson

how much

Can you

hold

ActionScript [AS1/AS2]

Frame 1
_root.NewgroundsAPI_id = 4324; NewgroundsAPI.connectMovie(4324); stopAllSounds(); Stage.showMenu = false;
Frame 2
function pause() { play(); clearInterval(delay); } gotoAndPlay (21);
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
Frame 6
stop();
Frame 7
stop(); stop(); delay = setInterval(pause, 77000);
Frame 8
stop();
Frame 9
stop();
Frame 10
stop(); delay = setInterval(pause, 77000);
Frame 11
stop();
Frame 12
stop(); delay = setInterval(pause, 77000);
Frame 13
stop();
Frame 14
stop(); delay = setInterval(pause, 77000);
Frame 15
stop();
Frame 16
stop(); delay = setInterval(pause, 77000);
Frame 17
stop();
Frame 18
stopAllSounds();
Frame 19
stop();
Frame 20
stop();
Frame 21
stopAllSounds();
Frame 22
if (false) { }
Frame 252
stopAllSounds();
Frame 253
gotoAndPlay (3);
Symbol 4 MovieClip [leaf] Frame 10
stop();
Symbol 6 MovieClip [tree] Frame 1
function addbranch(rotation, position) { var branch = new Object(); branch.segwidth = 2.1; branch.seglength = (Math.random() * 10) + 10; branch.rotation = (rotation + (Math.random() * 60)) - 30; branch.children = new Array(); tree[position] = branch; attachMovie("leaf", "leaf" + position, this.getNextHighestDepth(), {_rotation:(branch.rotation + (Math.random() * 180)) - 90}); var scaleleaf = ((Math.random() * 50) + 75); eval ("leaf" + position)._xscale = scaleleaf; eval ("leaf" + position)._yscale = scaleleaf; } function drawSegment(startx, starty, segment) { tree[segment].segwidth = Math.min(10, tree[segment].segwidth * 1.0015); tree[segment].seglength = Math.min(75, tree[segment].seglength * 1.0015); lineStyle(tree[segment].segwidth, 7750418, 100); moveTo(startx, starty); var endx = (startx + (tree[segment].seglength * Math.sin(tree[segment].rotation * degreestoradians))); var endy = (starty - (tree[segment].seglength * Math.cos(tree[segment].rotation * degreestoradians))); lineTo(endx, endy); if (Math.random() < 0.005) { tree[segment].children.push(tree.length); addbranch(tree[segment].rotation, tree.length); if (tree[segment].children.length == 1) { removeMovieClip("leaf" + segment); } } var childpos = 0; while (childpos < tree[segment].children.length) { drawSegment(endx, endy, tree[segment].children[childpos]); childpos++; } if (tree[segment].children.length == 0) { eval ("leaf" + segment)._x = endx; eval ("leaf" + segment)._y = endy; } } function resettree() { var treepos = 0; while (treepos < tree.length) { if (eval ("leaf" + treepos) != undefined) { removeMovieClip("leaf" + treepos); } treepos++; } tree = []; addbranch(0, 0); } degreestoradians = (Math.PI/180); var tree = new Array(); addbranch(0, 0); onEnterFrame = function () { if (tree.length < 1000) { clear(); drawSegment(0, 0, 0); } };
Symbol 24 MovieClip Frame 1
_root.stop(); stop(); allow = true;
Instance of Symbol 16 MovieClip "glow" in Symbol 24 MovieClip Frame 1
onClipEvent (load) { drawing = false; this.lineStyle(2, 39168, 0); } onClipEvent (enterFrame) { if ((drawing == true) && (_root.preloader.allow == true)) { this.lineTo(_xmouse, _ymouse); } } onClipEvent (mouseDown) { if (_root.preloader.allow == true) { drawing = true; _x = _xmouse; _y = _ymouse; } } onClipEvent (mouseUp) { if (_root.preloader.allow == true) { drawing = false; } }
Instance of Symbol 16 MovieClip "line" in Symbol 24 MovieClip Frame 1
onClipEvent (load) { drawing = false; this.lineStyle(10, 39168, 65); } onClipEvent (enterFrame) { if ((drawing == true) && (_root.preloader.allow == true)) { this.lineTo(_xmouse, _ymouse); } } onClipEvent (mouseDown) { if (_root.preloader.allow == true) { drawing = true; _x = _xmouse; _y = _ymouse; } } onClipEvent (mouseUp) { if (_root.preloader.allow == true) { _root.preloader.allow = false; drawing = false; _root.preloader.gotoAndPlay(2); } }
Instance of Symbol 18 MovieClip in Symbol 24 MovieClip Frame 1
onClipEvent (enterFrame) { _x = (_x + _xmouse); _y = (_y + _ymouse); }
Symbol 24 MovieClip Frame 2
percent = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; bar._xscale = percent; if (percent == 100) { gotoAndPlay (4); } bar._x = line._x; bar._y = 0; Xscale = line._width; bar._width = (Xscale / 100) * percent; bar._height = Stage.height; line.setMask(bar);
Instance of Symbol 23 MovieClip in Symbol 24 MovieClip Frame 2
onClipEvent (enterFrame) { _x = (_x + _xmouse); _y = (_y + _ymouse); }
Symbol 24 MovieClip Frame 3
gotoAndPlay (2);
Symbol 24 MovieClip Frame 4
_root.play();
Symbol 30 Button
on (release) { NewgroundsAPI.loadNewgrounds(); }
Symbol 35 Button
on (release) { NewgroundsAPI.loadNewgrounds(); }
Symbol 37 MovieClip Frame 1
function startAd(ngad_url) { trace("opening " + ngad_url); System.security.allowDomain("70.87.128.99"); System.security.allowInsecureDomain("70.87.128.99"); System.security.allowDomain("ads.shizmoo.com"); System.security.allowInsecureDomain("ads.shizmoo.com"); System.security.allowDomain("www.cpmstar.com"); System.security.allowInsecureDomain("www.cpmstar.com"); System.security.allowDomain("server.cpmstar.com"); System.security.allowInsecureDomain("server.cpmstar.com"); var ngads_redirect = new XML(); ngads_redirect.ignoreWhite = true; ngads_redirect.onLoad = function (success) { trace("[NEWGROUNDS FLASH ADS] :: You may get a 'Security Sandbox Violation' ... this is normal, do not freak out!"); if (success) { ng_ad.loadMovie(ngads_redirect.toString(), "GET"); } }; ngads_redirect.load(ngad_url); } if (NewgroundsAPI.getAdURL()) { startAd(NewgroundsAPI.getAdURL()); } NewgroundsAPI.onAdsApproved = function (ad_url) { startAd(ad_url); }; stop();
Symbol 177 MovieClip [__Packages.NewgroundsAPI] Frame 0
class NewgroundsAPI { static var tracker_id, host, version, debug, error_format, header_format, normal_format, link_format; function NewgroundsAPI () { } static function connectMovie(id) { if (!id) { SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)"); } else if (!tracker_id) { SendMessage("Connecting to API gateway..."); tracker_id = id; host = _url.split("/")[2].toLowerCase(); if (host.length < 1) { host = "localhost"; } var _local2 = new Object(); SendEvent(MOVIE_VIEWS); } } static function setMovieVersion(movie_version) { if (!movie_version) { SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)"); } else { version = movie_version; } } static function debugMode() { debug = true; } static function addCustomEvent(stat_id, stat_name) { if (!stat_id) { SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)"); } else if (!stat_name) { SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)"); } else { custom_events[stat_name] = CUSTOM_STATS + stat_id; SendMessage("Created custom event: " + stat_name); } } static function addCustomLink(stat_id, stat_name) { if (!stat_id) { SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)"); } else if (!stat_name) { SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)"); } else { custom_links[stat_name] = CUSTOM_STATS + stat_id; SendMessage((("Created custom link " + stat_id) + ": ") + stat_name); } } static function loadMySite() { SendLink(AUTHOR_SITE); } static function loadNewgrounds(special) { if (special) { var _local1 = {page:special}; } SendLink(NEWGROUNDS, _local1); } static function logCustomEvent(event_name) { if (!event_name) { SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)"); } else if (!custom_events[event_name]) { SendError("Attempted to log undefined custom event: " + event_name); } else { SendEvent(custom_events[event_name]); } } static function loadCustomLink(link_name) { if (!link_name) { SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)"); } else if (!custom_links[link_name]) { SendError("Attempted to open undefined custom link: " + link_name); } else { SendLink(custom_links[link_name]); } } static function getAdURL() { return(movie_options.ad_url); } static function getMovieURL() { if (movie_options.movie_url) { return(movie_options.movie_url); } return("Newgrounds.com"); } static function getNewVersionURL() { return((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + NEW_VERSION); } static function SendEvent(id) { SendStat(id, false); } static function SendLink(id, extra) { SendStat(id, true, extra); } static function ReadGatewayData(params) { for (var _local2 in params) { params[_local2] = unescape(params[_local2]); movie_options[_local2] = params[_local2]; } if (params.settings_loaded) { SendMessage("You have successfully connected to the Newgrounds API gateway!"); SendMessage(("Movie Identified as '" + movie_options.movie_name) + "'"); if (movie_options.message) { SendMessage(movie_options.message); } if (movie_options.ad_url) { SendMessage("Your movie has been approved to run Flash Ads"); onAdsApproved(movie_options.ad_url); } if (movie_options.movie_version and (movie_options.movie_version.toString() != version.toString())) { SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!"); onNewVersionAvailable(movie_options.movie_version, getMovieURL(), getNewVersionURL()); } if (movie_options.deny_host) { SendMessage("You have blocked 'localHost' in your API settings."); SendMessage("If you wish to test your movie you will need to remove this block."); onDenyHost(host, getMovieURL(), getNewVersionURL()); } if (movie_options.request_portal_url == 1) { var _local4 = (((GATEWAY_URL + "?&id=") + tracker_id) + "&portal_url=") + escape(_url); var _local3 = new XML(); _local3.ignoreWhite = true; _local3.load(_local4); } } else if (!movie_options.settings_loaded) { SendError("Could not establish connection to the API gateway."); } } static function SendStat(stat_id, open_in_browser, extra) { if (!tracker_id) { SendError("API calls cannot be made without a valid movie id."); SendError("Did you remember to add the \"NewgroundsAPI.connectMovie()\" code?"); } else { var _local7 = (((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id; for (var _local9 in extra) { _local7 = _local7 + ((("&" + escape(_local9)) + "=") + escape(extra[_local9])); } trace(_local7); if (debug) { _local7 = _local7 + "&debug=1"; } if (open_in_browser) { getURL (_local7, "_blank"); } else { var _local10 = new XML(); _local10.ignoreWhite = true; _local10.onLoad = function (success) { var _local6 = new Object(); var _local3 = 0; while (_local3 < this.firstChild.childNodes.length) { var _local4 = this.firstChild.childNodes[_local3]; var _local5 = _local4.nodeName; var _local2 = _local4.attributes.value; if (_local2 == Number(_local2)) { _local2 = Number(_local2); } _local6[_local5] = _local2; _local3++; } NewgroundsAPI.ReadGatewayData(_local6); }; _local10.load(_local7); } } } static function SendError(msg) { trace("[NEWGROUNDS API ERROR] :: " + msg); } static function SendMessage(msg) { trace("[NEWGROUNDS API] :: " + msg); } static function InitTextFormats() { if (!error_format) { error_format = new TextFormat(); error_format.font = "Arial Black"; error_format.size = 48; error_format.color = 16711680 /* 0xFF0000 */; } if (!header_format) { header_format = new TextFormat(); header_format.font = "Arial Black"; header_format.size = 24; header_format.color = 16777215 /* 0xFFFFFF */; } if (!normal_format) { normal_format = new TextFormat(); normal_format.font = "Arial"; normal_format.bold = true; normal_format.size = 12; normal_format.color = 16777215 /* 0xFFFFFF */; } if (!link_format) { link_format = new TextFormat(); link_format.color = 16776960 /* 0xFFFF00 */; link_format.underline = true; } } static function onNewVersionAvailable(version, movie_url, redirect_url) { InitTextFormats(); var _local2 = new Object(); _local2.x = Stage.width / 2; _local2.y = Stage.height / 2; _root.createEmptyMovieClip("NGAPI_new_version_overlay", _root.getNextHighestDepth()); _root.NGAPI_new_version_overlay.lineStyle(1, 0, 100); _root.NGAPI_new_version_overlay.beginFill(0, 70); _root.NGAPI_new_version_overlay.moveTo(-10, -10); _root.NGAPI_new_version_overlay.lineTo(-10, 1000); _root.NGAPI_new_version_overlay.lineTo(1000, 1000); _root.NGAPI_new_version_overlay.lineTo(1000, -10); _root.NGAPI_new_version_overlay.lineTo(-10, -10); _root.NGAPI_new_version_overlay.endFill(); _root.NGAPI_new_version_overlay.lineStyle(10, 0, 100); _root.NGAPI_new_version_overlay.beginFill(51); _root.NGAPI_new_version_overlay.moveTo(_local2.x - 240, _local2.y - 120); _root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y - 120); _root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y + 80); _root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y + 80); _root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y - 120); _root.NGAPI_new_version_overlay.endFill(); _root.NGAPI_new_version_overlay.createEmptyMovieClip("exit", 1000); _root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100); _root.NGAPI_new_version_overlay.exit.beginFill(0, 50); _root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 210, _local2.y - 110); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 110); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 90); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 90); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 110); _root.NGAPI_new_version_overlay.exit.endFill(); _root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 214, _local2.y - 106); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 226, _local2.y - 94); _root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 226, _local2.y - 106); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 214, _local2.y - 94); _root.NGAPI_new_version_overlay.exit.onMouseUp = function () { if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) { _root.NGAPI_new_version_overlay.removeMovieClip(); } }; var _local3 = (("Version " + version) + " is now available at:") + newline; var _local5 = _local3.length; _local3 = _local3 + movie_url; var _local4 = _local3.length; _root.NGAPI_new_version_overlay.createTextField("mouseblocker", 99, -10, -10, 1000, 1000); _root.NGAPI_new_version_overlay.createTextField("newversion", 100, _local2.x - 210, _local2.y - 90, 400, 80); _root.NGAPI_new_version_overlay.newversion.text = "New Version Available!"; _root.NGAPI_new_version_overlay.newversion.setTextFormat(header_format); _root.NGAPI_new_version_overlay.createTextField("message", 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40); _root.NGAPI_new_version_overlay.message.text = _local3; _root.NGAPI_new_version_overlay.message.multiline = true; _root.NGAPI_new_version_overlay.message.wordWrap = true; _root.NGAPI_new_version_overlay.message.html = true; _root.NGAPI_new_version_overlay.message.setTextFormat(normal_format); link_format.url = redirect_url; _root.NGAPI_new_version_overlay.message.setTextFormat(_local5, _local4, link_format); } static function onDenyHost(hostname, movie_url, redirect_url) { InitTextFormats(); _root.createEmptyMovieClip("NGAPI_deny_host_overlay", _root.getNextHighestDepth()); _root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100); _root.NGAPI_deny_host_overlay.beginFill(6684672); _root.NGAPI_deny_host_overlay.moveTo(0, 0); _root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0); _root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height); _root.NGAPI_deny_host_overlay.lineTo(0, Stage.height); _root.NGAPI_deny_host_overlay.lineTo(0, 0); _root.NGAPI_deny_host_overlay.endFill(); var _local2 = ("This movie has not been approved for use on " + hostname) + "."; _local2 = _local2 + "\r\rFor an aproved copy, please visit:\r"; var _local4 = _local2.length; _local2 = _local2 + movie_url; var _local3 = _local2.length; _root.NGAPI_deny_host_overlay.createTextField("mousekill", 100, 0, 0, Stage.width, Stage.height); _root.NGAPI_deny_host_overlay.createTextField("error", 101, (Stage.width - 400) / 2, (Stage.height / 2) - 100, 400, 200); _root.NGAPI_deny_host_overlay.error.text = "ERROR!"; _root.NGAPI_deny_host_overlay.error.setTextFormat(error_format); _root.NGAPI_deny_host_overlay.createTextField("message", 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200); _root.NGAPI_deny_host_overlay.message.text = _local2; _root.NGAPI_deny_host_overlay.message.multiline = true; _root.NGAPI_deny_host_overlay.message.wordWrap = true; _root.NGAPI_deny_host_overlay.message.html = true; _root.NGAPI_deny_host_overlay.message.setTextFormat(normal_format); link_format.url = redirect_url; _root.NGAPI_deny_host_overlay.message.setTextFormat(_local4, _local3, link_format); } static function isInstalled() { return(true); } static function onAdsApproved(ad_url) { } static var movie_options = new Object(); static var custom_events = new Object(); static var custom_links = new Object(); static var MOVIE_VIEWS = 1; static var AUTHOR_SITE = 2; static var NEWGROUNDS = 3; static var NEW_VERSION = 4; static var CUSTOM_STATS = 50; static var GATEWAY_URL = "http://www.ngads.com/gateway.php"; }
Symbol 50 Button
on (release) { gotoAndPlay (4); }
Symbol 51 Button
on (release) { gotoAndPlay (6); }
Symbol 52 Button
on (release) { gotoAndPlay (20); }
Symbol 55 Button
on (release) { gotoAndPlay (7); }
Symbol 62 Button
on (release) { gotoAndPlay (9); }
Symbol 63 Button
on (release) { gotoAndPlay (5); }
Symbol 64 Button
on (release) { gotoAndPlay (3); }
Symbol 65 Button
on (release) { gotoAndPlay (4); }
Symbol 70 Button
on (release) { getURL ("http://www.newgrounds.com/portal/view/470683", _blank); }
Symbol 71 Button
on (release) { gotoAndPlay (18); }
Symbol 73 Button
on (release) { gotoAndPlay (3); }
Symbol 79 Button
on (release) { gotoAndPlay (4); }
Symbol 80 Button
on (release) { gotoAndPlay (10); }
Symbol 84 Button
on (release) { gotoAndPlay (14); }
Symbol 85 Button
on (release) { gotoAndPlay (16); }
Symbol 86 Button
on (release) { gotoAndPlay (12); }
Symbol 119 MovieClip Frame 1
function addbranch(rotation, position) { var branch = new Object(); branch.segwidth = 2.1; branch.seglength = (Math.random() * 10) + 10; branch.rotation = (rotation + (Math.random() * 60)) - 30; branch.children = new Array(); tree[position] = branch; attachMovie("leaf", "leaf" + position, this.getNextHighestDepth(), {_rotation:(branch.rotation + (Math.random() * 180)) - 90}); var scaleleaf = ((Math.random() * 50) + 75); eval ("leaf" + position)._xscale = scaleleaf; eval ("leaf" + position)._yscale = scaleleaf; var leafcolor = new Color(eval ("leaf" + position)); switch (Math.floor(Math.random() * 4)) { case 0 : leafcolor.setRGB(16763904); return; case 1 : leafcolor.setRGB(16703335); return; case 2 : leafcolor.setRGB(16750848); return; case 3 : leafcolor.setRGB(13818083); } } function drawSegment(startx, starty, segment) { tree[segment].segwidth = Math.min(10, tree[segment].segwidth * 1.0015); tree[segment].seglength = Math.min(75, tree[segment].seglength * 1.0015); lineStyle(tree[segment].segwidth, 0, 100); moveTo(startx, starty); var endx = (startx + (tree[segment].seglength * Math.sin(tree[segment].rotation * degreestoradians))); var endy = (starty - (tree[segment].seglength * Math.cos(tree[segment].rotation * degreestoradians))); lineTo(endx, endy); if (Math.random() < 0.005) { tree[segment].children.push(tree.length); addbranch(tree[segment].rotation, tree.length); if (tree[segment].children.length == 1) { removeMovieClip("leaf" + segment); } } var childpos = 0; while (childpos < tree[segment].children.length) { drawSegment(endx, endy, tree[segment].children[childpos]); childpos++; } if (tree[segment].children.length == 0) { eval ("leaf" + segment)._x = endx; eval ("leaf" + segment)._y = endy; } } function resettree() { var treepos = 0; while (treepos < tree.length) { if (eval ("leaf" + treepos) != undefined) { removeMovieClip("leaf" + treepos); } treepos++; } tree = []; addbranch(0, 0); } degreestoradians = (Math.PI/180); var tree = new Array(); addbranch(0, 0); onEnterFrame = function () { if (tree.length < 1000) { clear(); drawSegment(0, 0, 0); } };
Symbol 122 Button
on (release) { gotoAndPlay (12); }
Symbol 131 MovieClip Frame 1
function addbranch(rotation, position) { var branch = new Object(); branch.segwidth = 2.1; branch.seglength = (Math.random() * 10) + 10; branch.rotation = (rotation + (Math.random() * 60)) - 30; branch.children = new Array(); tree[position] = branch; attachMovie("leaf", "leaf" + position, this.getNextHighestDepth(), {_rotation:(branch.rotation + (Math.random() * 180)) - 90}); var scaleleaf = ((Math.random() * 50) + 75); eval ("leaf" + position)._xscale = scaleleaf; eval ("leaf" + position)._yscale = scaleleaf; var leafcolor = new Color(eval ("leaf" + position)); leafcolor.setRGB(16777215); } function drawSegment(startx, starty, segment) { tree[segment].segwidth = Math.min(10, tree[segment].segwidth * 1.0015); tree[segment].seglength = Math.min(75, tree[segment].seglength * 1.0015); lineStyle(tree[segment].segwidth, 13421772, 100); moveTo(startx, starty); var endx = (startx + (tree[segment].seglength * Math.sin(tree[segment].rotation * degreestoradians))); var endy = (starty - (tree[segment].seglength * Math.cos(tree[segment].rotation * degreestoradians))); lineTo(endx, endy); if (Math.random() < 0.005) { tree[segment].children.push(tree.length); addbranch(tree[segment].rotation, tree.length); if (tree[segment].children.length == 1) { removeMovieClip("leaf" + segment); } } var childpos = 0; while (childpos < tree[segment].children.length) { drawSegment(endx, endy, tree[segment].children[childpos]); childpos++; } if (tree[segment].children.length == 0) { eval ("leaf" + segment)._x = endx; eval ("leaf" + segment)._y = endy; } } function resettree() { var treepos = 0; while (treepos < tree.length) { if (eval ("leaf" + treepos) != undefined) { removeMovieClip("leaf" + treepos); } treepos++; } tree = []; addbranch(0, 0); } degreestoradians = (Math.PI/180); var tree = new Array(); addbranch(0, 0); onEnterFrame = function () { if (tree.length < 1000) { clear(); drawSegment(0, 0, 0); } };
Symbol 134 MovieClip Frame 1
function addbranch(rotation, position) { var branch = new Object(); branch.segwidth = 2.1; branch.seglength = (Math.random() * 10) + 10; branch.rotation = (rotation + (Math.random() * 60)) - 30; branch.children = new Array(); tree[position] = branch; attachMovie("leaf1", "leaf1" + position, this.getNextHighestDepth(), {_rotation:(branch.rotation + (Math.random() * 180)) - 90}); var scaleleaf = ((Math.random() * 50) + 75); eval ("leaf1" + position)._xscale = scaleleaf; eval ("leaf1" + position)._yscale = scaleleaf; } function drawSegment(startx, starty, segment) { tree[segment].segwidth = Math.min(10, tree[segment].segwidth * 1.0015); tree[segment].seglength = Math.min(75, tree[segment].seglength * 1.0015); lineStyle(tree[segment].segwidth, 0, 100); moveTo(startx, starty); var endx = (startx + (tree[segment].seglength * Math.sin(tree[segment].rotation * degreestoradians))); var endy = (starty - (tree[segment].seglength * Math.cos(tree[segment].rotation * degreestoradians))); lineTo(endx, endy); if (Math.random() < 0.005) { tree[segment].children.push(tree.length); addbranch(tree[segment].rotation, tree.length); if (tree[segment].children.length == 1) { removeMovieClip("leaf1" + segment); } } var childpos = 0; while (childpos < tree[segment].children.length) { drawSegment(endx, endy, tree[segment].children[childpos]); childpos++; } if (tree[segment].children.length == 0) { eval ("leaf1" + segment)._x = endx; eval ("leaf1" + segment)._y = endy; } } function resettree() { var treepos = 0; while (treepos < tree.length) { if (eval ("leaf1" + treepos) != undefined) { removeMovieClip("leaf1" + treepos); } treepos++; } tree = []; addbranch(0, 0); } degreestoradians = (Math.PI/180); var tree = new Array(); addbranch(0, 0); onEnterFrame = function () { if (tree.length < 1000) { clear(); drawSegment(0, 0, 0); } };
Symbol 136 Button
on (release) { gotoAndPlay (4); }
Symbol 137 MovieClip Frame 1
function addbranch(rotation, position) { var branch = new Object(); branch.segwidth = 2.1; branch.seglength = (Math.random() * 10) + 10; branch.rotation = (rotation + (Math.random() * 60)) - 30; branch.children = new Array(); tree[position] = branch; attachMovie("leaf", "leaf" + position, this.getNextHighestDepth(), {_rotation:(branch.rotation + (Math.random() * 180)) - 90}); var scaleleaf = ((Math.random() * 50) + 75); eval ("leaf" + position)._xscale = scaleleaf; eval ("leaf" + position)._yscale = scaleleaf; var leafcolor = new Color(eval ("leaf" + position)); switch (Math.floor(Math.random() * 4)) { case 0 : leafcolor.setRGB(16776960); return; case 1 : leafcolor.setRGB(13382604); return; case 2 : leafcolor.setRGB(6750105); return; case 3 : leafcolor.setRGB(3342591); return; case 4 : leafcolor.setRGB(6697932); } } function drawSegment(startx, starty, segment) { tree[segment].segwidth = Math.min(10, tree[segment].segwidth * 1.0015); tree[segment].seglength = Math.min(75, tree[segment].seglength * 1.0015); lineStyle(tree[segment].segwidth, 10066431, 100); moveTo(startx, starty); var endx = (startx + (tree[segment].seglength * Math.sin(tree[segment].rotation * degreestoradians))); var endy = (starty - (tree[segment].seglength * Math.cos(tree[segment].rotation * degreestoradians))); lineTo(endx, endy); if (Math.random() < 0.005) { tree[segment].children.push(tree.length); addbranch(tree[segment].rotation, tree.length); if (tree[segment].children.length == 1) { removeMovieClip("leaf" + segment); } } var childpos = 0; while (childpos < tree[segment].children.length) { drawSegment(endx, endy, tree[segment].children[childpos]); childpos++; } if (tree[segment].children.length == 0) { eval ("leaf" + segment)._x = endx; eval ("leaf" + segment)._y = endy; } } function resettree() { var treepos = 0; while (treepos < tree.length) { if (eval ("leaf" + treepos) != undefined) { removeMovieClip("leaf" + treepos); } treepos++; } tree = []; addbranch(0, 0); } degreestoradians = (Math.PI/180); var tree = new Array(); addbranch(0, 0); onEnterFrame = function () { if (tree.length < 1000) { clear(); drawSegment(0, 0, 0); } };
Symbol 145 Button
on (release) { gotoAndPlay (252); }

Library Items

Symbol 1 GraphicUsed by:4
Symbol 2 GraphicUsed by:4
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClip [leaf]Uses:1 2 3
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClip [tree]Uses:5Used by:Timeline
Symbol 7 BitmapUsed by:8 123
Symbol 8 GraphicUses:7Used by:9
Symbol 9 MovieClipUses:8Used by:Timeline
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:Timeline
Symbol 12 FontUsed by:13 14 15 17 22 38 39 53 54 56 57 58 59 60 66 67 68 72 74 77 78 81 82 83 87 88 89 90 91 121 132 135 138 139 140 141 142 144 147 148
Symbol 13 TextUses:12Used by:Timeline
Symbol 14 TextUses:12Used by:Timeline
Symbol 15 TextUses:12Used by:Timeline
Symbol 16 MovieClipUsed by:24
Symbol 17 TextUses:12Used by:18
Symbol 18 MovieClipUses:17Used by:24
Symbol 19 GraphicUsed by:20 36
Symbol 20 MovieClipUses:19Used by:24
Symbol 21 GraphicUsed by:23
Symbol 22 TextUses:12Used by:23
Symbol 23 MovieClipUses:21 22Used by:24
Symbol 24 MovieClipUses:16 18 20 23Used by:Timeline
Symbol 25 GraphicUsed by:37
Symbol 26 GraphicUsed by:30
Symbol 27 GraphicUsed by:30
Symbol 28 GraphicUsed by:30
Symbol 29 GraphicUsed by:30
Symbol 30 ButtonUses:26 27 28 29Used by:37
Symbol 31 GraphicUsed by:37
Symbol 32 GraphicUsed by:37
Symbol 33 GraphicUsed by:35
Symbol 34 GraphicUsed by:35
Symbol 35 ButtonUses:33 34Used by:36
Symbol 36 MovieClipUses:19 35Used by:37
Symbol 37 MovieClipUses:25 30 31 32 36Used by:Timeline
Symbol 177 MovieClip [__Packages.NewgroundsAPI]
Symbol 38 TextUses:12Used by:Timeline
Symbol 39 TextUses:12Used by:Timeline
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:50 51 52 55 62 63 64 65 70 71 73 79 80 84 85 86 122 136 143 145
Symbol 42 GraphicUsed by:50 51 52 55 62 63 64 65 70 71 73 79 80 84 85 86 122 136 143 145
Symbol 43 GraphicUsed by:50 51 52 55 62 63 64 65 70 71 73 79 80 84 85 86 122 136 143 145
Symbol 44 GraphicUsed by:50 51 52 55 62 63 64 65 70 71 73 79 80 84 85 86 122 136 143 145
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:45Used by:50 51 52 55 62 63 64 65 70 71 73 79 80 84 85 86 122 136 143 145
Symbol 47 GraphicUsed by:50 51 52 55 62 63 64 65 70 71 73 79 80 84 85 86 122 136 143 145
Symbol 48 GraphicUsed by:50 51 52 55 62 63 64 65 70 71 73 79 80 84 85 86 122 136 143 145
Symbol 49 GraphicUsed by:50 51 52 55 62 63 64 65 70 71 73 79 80 84 85 86 122 136 143 145
Symbol 50 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 51 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 52 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 53 TextUses:12Used by:151  Timeline
Symbol 54 TextUses:12Used by:Timeline
Symbol 55 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 56 TextUses:12Used by:Timeline
Symbol 57 TextUses:12Used by:Timeline
Symbol 58 TextUses:12Used by:Timeline
Symbol 59 TextUses:12Used by:Timeline
Symbol 60 TextUses:12Used by:Timeline
Symbol 61 GraphicUsed by:Timeline
Symbol 62 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 63 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 64 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 65 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 66 TextUses:12Used by:Timeline
Symbol 67 TextUses:12Used by:Timeline
Symbol 68 TextUses:12Used by:Timeline
Symbol 69 GraphicUsed by:Timeline
Symbol 70 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 71 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 72 TextUses:12Used by:Timeline
Symbol 73 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 74 TextUses:12Used by:Timeline
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:75Used by:Timeline
Symbol 77 TextUses:12Used by:Timeline
Symbol 78 TextUses:12Used by:Timeline
Symbol 79 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 80 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 81 TextUses:12Used by:Timeline
Symbol 82 TextUses:12Used by:Timeline
Symbol 83 TextUses:12Used by:Timeline
Symbol 84 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 85 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 86 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 87 TextUses:12Used by:Timeline
Symbol 88 TextUses:12Used by:Timeline
Symbol 89 TextUses:12Used by:Timeline
Symbol 90 TextUses:12Used by:Timeline
Symbol 91 TextUses:12Used by:Timeline
Symbol 92 GraphicUsed by:Timeline
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93Used by:Timeline
Symbol 95 GraphicUsed by:99
Symbol 96 GraphicUsed by:99
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97Used by:99 102
Symbol 99 MovieClipUses:95 96 98Used by:113
Symbol 100 GraphicUsed by:102
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:100 101 98Used by:113
Symbol 103 GraphicUsed by:106
Symbol 104 GraphicUsed by:106 109
Symbol 105 GraphicUsed by:106
Symbol 106 MovieClipUses:103 104 105Used by:110
Symbol 107 GraphicUsed by:109
Symbol 108 GraphicUsed by:109
Symbol 109 MovieClipUses:107 104 108Used by:110
Symbol 110 MovieClipUses:106 109Used by:113
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClipUses:111Used by:113
Symbol 113 MovieClipUses:99 102 110 112Used by:Timeline
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClipUses:114Used by:Timeline
Symbol 116 BitmapUsed by:117
Symbol 117 GraphicUses:116Used by:Timeline
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClipUses:118Used by:Timeline
Symbol 120 GraphicUsed by:Timeline
Symbol 121 TextUses:12Used by:Timeline
Symbol 122 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 123 GraphicUses:7Used by:Timeline
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClipUses:124Used by:126
Symbol 126 MovieClipUses:125Used by:127
Symbol 127 MovieClipUses:126Used by:Timeline
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClipUses:128Used by:Timeline
Symbol 130 GraphicUsed by:131 137
Symbol 131 MovieClipUses:130Used by:Timeline
Symbol 132 TextUses:12Used by:Timeline
Symbol 133 GraphicUsed by:134
Symbol 134 MovieClipUses:133Used by:Timeline
Symbol 135 TextUses:12Used by:Timeline
Symbol 136 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 137 MovieClipUses:130Used by:Timeline
Symbol 138 TextUses:12Used by:Timeline
Symbol 139 TextUses:12Used by:Timeline
Symbol 140 TextUses:12Used by:Timeline
Symbol 141 TextUses:12Used by:Timeline
Symbol 142 TextUses:12Used by:Timeline
Symbol 143 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 144 TextUses:12Used by:Timeline
Symbol 145 ButtonUses:41 42 43 44 46 47 48 49Used by:Timeline
Symbol 146 SoundUsed by:Timeline
Symbol 147 TextUses:12Used by:Timeline
Symbol 148 TextUses:12Used by:Timeline
Symbol 149 GraphicUsed by:Timeline
Symbol 150 GraphicUsed by:Timeline
Symbol 151 MovieClipUses:53Used by:Timeline
Symbol 152 FontUsed by:153 161 163 165 167 169 171 173
Symbol 153 TextUses:152Used by:154
Symbol 154 MovieClipUses:153Used by:Timeline
Symbol 155 BitmapUsed by:156
Symbol 156 GraphicUses:155Used by:157
Symbol 157 MovieClipUses:156Used by:158
Symbol 158 MovieClipUses:157Used by:159
Symbol 159 MovieClipUses:158Used by:Timeline
Symbol 160 SoundUsed by:Timeline
Symbol 161 TextUses:152Used by:162
Symbol 162 MovieClipUses:161Used by:Timeline
Symbol 163 TextUses:152Used by:164
Symbol 164 MovieClipUses:163Used by:Timeline
Symbol 165 TextUses:152Used by:166
Symbol 166 MovieClipUses:165Used by:Timeline
Symbol 167 TextUses:152Used by:168
Symbol 168 MovieClipUses:167Used by:Timeline
Symbol 169 TextUses:152Used by:170
Symbol 170 MovieClipUses:169Used by:Timeline
Symbol 171 TextUses:152Used by:172
Symbol 172 MovieClipUses:171Used by:Timeline
Symbol 173 TextUses:152Used by:174
Symbol 174 MovieClipUses:173Used by:Timeline
Symbol 175 GraphicUsed by:Timeline
Symbol 176 SoundUsed by:Timeline

Instance Names

"preloader"Frame 1Symbol 24 MovieClip
"glow"Symbol 24 MovieClip Frame 1Symbol 16 MovieClip
"line"Symbol 24 MovieClip Frame 1Symbol 16 MovieClip
"bar"Symbol 24 MovieClip Frame 2Symbol 20 MovieClip
"ng_ad"Symbol 37 MovieClip Frame 1Symbol 36 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 4 as "leaf"
ExportAssets (56)Timeline Frame 1Symbol 6 as "tree"
ExportAssets (56)Timeline Frame 1Symbol 177 as "__Packages.NewgroundsAPI"
Tag 0x0FF (255)Timeline Frame 11 bytes "."




http://swfchan.com/12/57231/info.shtml
Created: 18/4 -2019 10:23:24 Last modified: 18/4 -2019 10:23:24 Server time: 05/11 -2024 09:18:35