PageSourceSearch

https://www.kidology.org/.v2/js/pages/page.js

js kidology.org collected 2026-09-24 23:10:33 UTC 1,845 bytes, 78 lines download raw bytes

1(function () {
2
3	var movie,
4		initialized = false,
5		movies = {
6			init: function () {
7				movie.GotoFrame(0);
8			},
9			what: function () {
10				movie.GotoFrame(2);
11			},
12			meet: function () {
13				movie.GotoFrame(21);
14			},
15			about: function () {
16				movie.GotoFrame(81);
17			},
18			unknown: function () {
19				movie.GotoFrame(61);
20			}
21		};
22
23	// "webout" is the original company that put together these walk-out flash things
24	window.webout = {
25		init: function () {
26			initialized = true;
27			$(function () {
28				var params = {
29					menu: "false",
30					wmode: "transparent",
31					play: "true"
32				};
33				swfobject.switchOffAutoHideShow();
34				swfobject.embedSWF("/.v2/flash/kidology-movies.swf", "flashcontent", "400", "420", "7.0.0", "", {}, params, { id: "kidology-swf" }, function () {
35					$('#webout').hide();
36					webout.movie = movie = $('#kidology-swf')[0];
37				});
38			});
39		},
40		play: function (what, second) {
41
42			if (!initialized) {
43				webout.init();
44			}
45
46			if (!movie) {
47				setTimeout(function () { webout.play(what); }, 1000);
48				return;
49			}
50
51			$('#webout').show();
52			movies[what] && movies[what]();
53			movie.Play();
54
55			if (!second) { // for some jacked up reason this swf doesn't trigger play until the second time
56				setTimeout(function () { webout.play(what, true); }, 3000);
57			}
58		}
59	};
60	
61	webout.init();
62	//window.webout.play('init');
63
64	// it looks like this method is being called from flash. legacy junk in the webout movies?
65	// absolutely terrible - the flash movie calls setVisibility, expecting it to be in the global scope, instead of triggering an event.
66	window.setVisibility = function (ignore, state) {
67		if (state === "hidden") {
68			$('#webout').hide();
69		}
70	};
71
72})();
73
74/*
75	movie.StopPlay();
76	movie.Play();
77	movie.Rewind();
78*/

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.