Frame 1
function volLabel() {
return(("[[ \u73FE\u5728\u97F3\u91CF(Current Volume)\uFF1A " + soundVolume) + "% ]]");
}
function toHome() {
getURL ("http://yuki.kitune.info/", "_blank");
}
function upper() {
flashSound.setVolume((soundVolume = soundVolume + 20));
downSong_cmi.enabled = true;
volMoni_cmi.caption = volLabel();
if (soundVolume >= 100) {
upSong_cmi.enabled = false;
}
}
function downer() {
flashSound.setVolume((soundVolume = soundVolume - 20));
upSong_cmi.enabled = true;
volMoni_cmi.caption = volLabel();
if (soundVolume <= 0) {
downSong_cmi.enabled = false;
}
}
function volumes() {
testSound.start(0, 2);
}
function max() {
getURL (_root._url, "_top");
}
fps = 18;
_quality = "medium";
var soundVolume = 60;
var flashSound = new Sound();
flashSound.attachSound(this);
flashSound.setVolume(soundVolume);
var testSound = new Sound();
testSound.attachSound("bell");
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 volMoni_cmi = new ContextMenuItem(volLabel(), volumes, true, true, true);
var upSong_cmi = new ContextMenuItem("\u97F3\u91CF +20% (Sound Volume +20%)", upper, false, true, true);
var downSong_cmi = new ContextMenuItem("\u97F3\u91CF -20% (Sound Volume -20%)", downer, false, true, true);
var maximize_cmi = new ContextMenuItem("\u6700\u5927\u5316/\u6700\u521D\u304B\u3089 (Maximize && Reload)", max, true, true, true);
menu_cm.customItems.push(volMoni_cmi);
menu_cm.customItems.push(upSong_cmi);
menu_cm.customItems.push(downSong_cmi);
menu_cm.customItems.push(maximize_cmi);
_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 = "autohigh";
stop();
Symbol 9 MovieClip Frame 1
loadrate = ("now loading.... " + Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100)) + "%";
Symbol 9 MovieClip Frame 2
gotoAndPlay (1);
Symbol 9 MovieClip Frame 3
stop();
Symbol 21 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 49 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 76 MovieClip Frame 46
gotoAndPlay(Math.round(Math.random() * 25) + 1);
Symbol 77 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 79 MovieClip Frame 1
fpsMoni = new FpsRateMonitor(_root.fps);
Symbol 104 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 105 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 106 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 83 Button
on (press, release, keyPress "<Space>") {
pachu.goNext();
}
Symbol 96 MovieClip Frame 1
function goNext() {
if (this._currentframe == 4) {
gotoAndStop (1);
} else {
gotoAndStop(_currentframe + 1);
}
if ((++i) > 65535) {
_root.dance = "\u3042\u3093\u305F\u306F\u3001\u3071\u3061\u3047\u308A\u3059\u3068\uFF01";
} else {
_root.dance = i + " \u3071\u3061\u3085";
}
}
if (flag != 1) {
_root.dance = "0 \u3071\u3061\u3085";
i = 0;
flag = 1;
}
stop();
Symbol 101 MovieClip Frame 2
guruguru._rotation = guruguru._rotation + 5;
gotoAndPlay (1);
Symbol 103 MovieClip Frame 1
stop();