Frame 1
function toHome() {
getURL ("http://yuki.kitune.info/", "_blank");
}
function upper() {
flashSound.setVolume((soundVolume = soundVolume + 20));
downSong_cmi.enabled = true;
if (soundVolume >= 100) {
upSong_cmi.enabled = false;
}
}
function downer() {
flashSound.setVolume((soundVolume = soundVolume - 20));
upSong_cmi.enabled = true;
if (soundVolume <= 0) {
downSong_cmi.enabled = false;
}
}
function max() {
getURL (_root._url, "_top");
}
fps = 18;
_quality = "medium";
var menu_cm = new ContextMenu();
menu_cm.hideBuiltInItems();
menu_cm.builtInItems.quality = true;
menu_cm.builtInItems.zoom = true;
menu_cm.customItems.push(new ContextMenuItem("\u3086\u304D\u304D\u3064\u306D (to Home)", toHome));
var upSong_cmi = new ContextMenuItem("\u97F3\u91CF \u5897 (Sound Volume +20%)", upper, true, false, true);
var downSong_cmi = new ContextMenuItem("\u97F3\u91CF \u6E1B (Sound Volume -20%)", downer, false, true, true);
var maximize_cmi = new ContextMenuItem("\u5358\u4F53\u8868\u793A/\u6700\u5927\u5316 (Maximize && Reload)", max, true, true, true);
menu_cm.customItems.push(upSong_cmi);
menu_cm.customItems.push(downSong_cmi);
menu_cm.customItems.push(maximize_cmi);
var flashSound = new Sound();
var soundVolume = 100;
flashSound.attachSound(this);
_root.menu = menu_cm;
Frame 2
version = getVersion();
versions = version.split(" ");
versionList = versions[1].split(",");
if (versionList[0] < 8) {
monitor0.gotoAndStop(3);
stop();
}
Frame 6
stop();
Frame 7
function watch() {
time = (++i) + " \u5206\u7D4C\u904E";
}
timeInterval = setInterval(watch, 60000);
i = 0;
time = "0 \u5206\u7D4C\u904E";
_quality = "autolow";
stop();
Symbol 8 MovieClip Frame 1
loadrate = ("now loading.... " + Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100)) + "%";
Symbol 8 MovieClip Frame 2
gotoAndPlay (1);
Symbol 8 MovieClip Frame 3
stop();
Symbol 22 MovieClip Frame 1
function rolling() {
if (rad > 3.14) {
rad = 0;
rev = rev * -1;
rnd = (Math.random() + 1) * rev;
}
rad = rad + 0.02;
tate._rotation = ((tate._rotation - (Math.sin(rad) * rnd)) % 40) + 40;
yoko._y = (yoko._y + 12) % 500;
}
var rnd;
var rev = 1;
var rad = 3.15;
var backInterval = setInterval(this, "rolling", 50);
Symbol 50 MovieClip Frame 1
function cursol() {
mouse_yoko._y = mouse._y;
mouse_tate._x = mouse._x;
}
function rateMonitor() {
loadedRate = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
countdown = Math.round(((getTimer() * (_root.getBytesTotal() - _root.getBytesLoaded())) / _root.getBytesLoaded()) / 1000);
if (loadedRate >= 100) {
_root.kami.end();
clearInterval(monitorInterval);
startBtn._visible = true;
startBtn.onPress = function () {
_root.gotoAndPlay(_root._currentframe + 1);
};
}
mouse_yoko.loaded.text = loadedRate + "% loaded";
mouse_tate.remainder.text = ("remaind " + countdown) + " sec";
}
mouse.startDrag(true);
startBtn._visible = false;
mouseInterval = setInterval(this, "cursol", 45);
var loadedRate = "";
var countdown = "";
monitorInterval = setInterval(this, "rateMonitor", 1000);
Symbol 77 MovieClip Frame 46
gotoAndPlay(Math.round(Math.random() * 25) + 1);
Symbol 78 MovieClip Frame 1
function appear() {
this._y = this._y - ((this._y - baseY) / 6);
if ((this._y - baseY) <= 0.5) {
this._y = baseY;
clearInterval(appearInterval);
}
}
function casting() {
degreeCast = degreeCast + (_root.monitor.mouse._x / 30);
i = 0;
while (i < namesLength) {
if (names[i] != none) {
rolling(degreeCast - (roll * i), names[i]);
}
i++;
}
rad = degree * 0.017453;
kami._x = (60 * fadeOut) * Math.cos(rad * 0.9);
kami._y = (30 * fadeOut) * Math.cos(rad * 2.9);
degree = degree + 3;
}
function rolling(degree, target) {
rad = degree * 0.017453;
target._x = (Math.cos(rad) * 250) * (2 - fadeOut);
target._y = (Math.sin(rad) * _root.monitor.mouse._y) * 0.8;
target._xscale = Math.sin(rad) * 100;
target.swapDepths((Math.sin(rad) + 1.1) * 2000);
if (target.getDepth() > 2000) {
target._alpha = 100 * fadeOut;
} else {
target._alpha = 45 * fadeOut;
}
}
function end() {
castEndInterval = setInterval(this, "ending", 45);
}
function ending() {
fadeOut = fadeOut - 0.04;
if (fadeOut < 0) {
i = 0;
while (i < namesLength) {
if (names[i] != none) {
names[i]._visible = false;
}
i++;
}
clearInterval(castInterval);
clearInterval(castEndInterval);
}
}
var baseY = this._y;
this._y = this._y + 600;
var appearInterval = setInterval(this, "appear", 45);
var names = [char_1, char_l, char_2, char_o, char_3, char_a, char_4, char_d, char_5, none];
var namesLength = names.length;
var roll = (360 / namesLength);
var fadeOut = 1;
var degree = 660;
var rad;
var degreeCast = 0;
kami.swapDepths(2000);
var castInterval = setInterval(this, "casting", 45);
Symbol 80 MovieClip Frame 1
fpsMoni = new FpsRateMonitor(_root.fps);
Symbol 108 MovieClip [__Packages.FpsRateMonitor] Frame 0
class FpsRateMonitor
{
var setFps, constant;
function FpsRateMonitor (fps) {
setFps = fps;
constant = (100000 * Math.ceil(setFps)) / setFps;
mx.transitions.OnEnterFrameBeacon.init();
MovieClip.addListener(this);
}
function onEnterFrame() {
if ((++count) >= setFps) {
_root._fpsrate = Math.round(constant / (getTimer() - time)) + "%fps";
count = 0;
time = getTimer();
}
}
var count = 0;
var time = getTimer();
}
Symbol 109 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 110 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 99 MovieClip Frame 1
function goNext() {
if (_currentframe == 4) {
gotoAndStop (1);
} else {
gotoAndStop(_currentframe + 1);
}
}
function goFly() {
gotoAndStop (5);
}
function init() {
gotoAndStop (1);
}
stop();
Symbol 99 MovieClip Frame 5
stop();
Symbol 102 MovieClip Frame 1
function negiRoll() {
rad = Math.atan2(mouse._y, mouse._x);
target = rad / (Math.PI/180);
rollTemp = Math.abs(target - negi._rotation);
if (rollTemp > 180) {
rollTemp = 360 - rollTemp;
}
rollTotal = rollTotal + rollTemp;
negi._rotation = target;
if ((rollTotal > 15000) && (flag <= 4)) {
clearInterval(ahogeInterval);
mouse.stopDrag(true);
ahoge.goFly();
ahogeInterval = setInterval(this, "fly2", 45);
flag = 5;
_root.flying = (++fly) + " fly";
} else if ((rollTotal > 12000) && (flag <= 3)) {
clearInterval(ahogeInterval);
ahogeInterval = setInterval(this, "fly1", 50);
flag = 4;
} else if ((rollTotal > 9000) && (flag <= 2)) {
clearInterval(ahogeInterval);
ahogeInterval = setInterval(this, "fly1", 100);
flag = 3;
} else if ((rollTotal > 6000) && (flag <= 1)) {
clearInterval(ahogeInterval);
ahogeInterval = setInterval(this, "fly1", 200);
flag = 2;
} else if ((rollTotal > 3000) && (flag <= 0)) {
ahogeInterval = setInterval(this, "fly1", 400);
flag = 1;
}
}
function fly1() {
ahoge.goNext();
}
function fly2() {
this._y = this._y - 8;
if (this._y < -700) {
clearInterval(ahogeInterval);
ahogeInterval = setInterval(this, "fly3", 45);
this._y = 500;
flag = 0;
rollTotal = 0;
}
}
function fly3() {
this._y = this._y - 8;
if (this._y <= 0) {
clearInterval(ahogeInterval);
mouse.startDrag(true);
ahoge.init();
}
}
mouse.startDrag(true);
var rollTotal = 0;
var flag = 0;
var fly = 0;
_root.flying = fly + " fly";
this._y = 0;
negiInterval = setInterval(this, "negiRoll", 25);
Symbol 105 MovieClip Frame 2
guruguru._rotation = guruguru._rotation + 5;
gotoAndPlay (1);