Frame 3971
stop();
again.onRollOver = function () {
again.gotoAndPlay(2);
};
again.onRollOut = function () {
again.gotoAndPlay("rollout");
};
again.onRelease = function () {
gotoAndPlay ("X");
};
visit.onRollOver = function () {
visit.gotoAndPlay(2);
};
visit.onRollOut = function () {
visit.gotoAndPlay("rollout");
};
visit.onPress = function () {
getURL ("http://www.farawaynearby.com/FanTest/FlashCS3_FanB_V2.html", "_self");
};
Symbol 3 MovieClip [STORYAudioLoop] Frame 1
#initclip 3
function STORYAudioLoop() {
this.init();
this.onUnload = function () {
clearInterval(Interval);
};
}
STORYAudioLoop.prototype = new MovieClip();
Object.registerClass("STORYAudioLoop", STORYAudioLoop);
STORYAudioLoop.prototype.init = function () {
this.Logo._visible = false;
Player_sound = new Sound(this);
Linkages_array = new Array();
Linkages_array = this.Linkages_array;
L_P = this.L_P;
R_P = this.R_P;
Min_V = this.Min_V;
Max_V = this.Max_V;
Min_I = this.Min_I;
Max_I = this.Max_I;
Interval = setInterval(RandomLoop, this.Start_I);
};
RandomLoop = function () {
clearInterval(Interval);
Player_sound.attachSound(Linkages_array[random(Linkages_array.length)]);
Pan = L_P + random(R_P);
Player_sound.setPan(Pan);
Volume = Min_V + random(Max_V);
Player_sound.setVolume(Volume);
Player_sound.start(0, 0);
Player_sound.onSoundComplete = function () {
RandomInterval = Min_I + random(Max_I);
Interval = setInterval(RandomLoop, RandomInterval);
};
};
#endinitclip
Symbol 8 MovieClip [sneg] Frame 1
#initclip 2
Object.registerClass("sneg", sneg);
#endinitclip
max_x = Math.round(this._width + _x);
max_y = Math.round(this._height + _y);
min_x = Math.round(this._x);
min_y = Math.round(this._y);
Start();
Symbol 17 Button
on (release) {
_root.play();
}
Symbol 18 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 18 MovieClip Frame 2
gotoAndPlay (1);
Symbol 6 MovieClip [__Packages.sneg] Frame 0
class sneg extends MovieClip
{
var deep, min_x, min_y, max_x, max_y, kolvo, m_parent, nam, alpa, colo, siz, fon_alp, dv, t_x, t_y, variant, vert, hor, star, fly, napr, sped, __get__fon_alpha, __get__variable, __get__fon_color, __get___razmer, __get___name_clip, __get___x, __get___width, __get___y, __get___height, __get___napravlenie, __get___speed, __get___kolvo, clip;
function sneg () {
super();
deep = _root.getNextHighestDepth();
min_x = min_x;
min_y = min_y;
max_x = max_x;
max_y = max_y;
kolvo = kolvo;
m_parent = _root;
nam = nam;
alpa = alpa;
colo = colo;
siz = siz;
fon_alp = fon_alp;
dv = 0;
t_x = 0;
t_y = 0;
variant = variant;
vert = vert;
hor = hor;
star = star;
fly = fly;
if ((hor == "left") and (star == "false")) {
napr = -Math.abs(napr);
} else {
napr = Math.abs(napr);
}
if ((vert == "up") and (star == "false")) {
sped = -Math.abs(sped);
} else {
sped = Math.abs(sped);
}
}
function set fon_alpha(p_nam) {
fon_alp = p_nam;
//return(__get__fon_alpha());
}
function set variable(p_nam) {
variant = p_nam;
//return(__get__variable());
}
function set fon_color(p_nam) {
colo = p_nam;
//return(__get__fon_color());
}
function set _razmer(p_nam) {
siz = p_nam;
//return(__get___razmer());
}
function set _name_clip(p_nam) {
nam = p_nam;
//return(__get___name_clip());
}
function set _x(p_nam) {
min_x = p_nam;
//return(__get___x());
}
function set _width(p_nam) {
max_x = p_nam;
//return(__get___width());
}
function set _y(p_nam) {
min_y = p_nam;
//return(__get___y());
}
function set _height(p_nam) {
max_y = p_nam;
//return(__get___height());
}
function set _napravlenie(p_nam) {
napr = Math.abs(p_nam);
//return(__get___napravlenie());
}
function set _speed(p_nam) {
sped = Math.abs(p_nam);
//return(__get___speed());
}
function set _kolvo(p_nam) {
kolvo = p_nam;
//return(__get___kolvo());
}
function fon() {
var _local2 = m_parent.createEmptyMovieClip("mask", deep);
_local2.beginFill(Number(colo), fon_alp);
_local2.moveTo(min_x, min_y);
_local2.lineTo(max_x, min_y);
_local2.lineTo(max_x, max_y);
_local2.lineTo(min_x, max_y);
_local2.lineTo(min_x, min_y);
_local2.endFill();
return(_local2);
}
function createMask() {
var _local2 = m_parent.createEmptyMovieClip("mask", 1000000);
_local2.beginFill(16711680);
_local2.moveTo(min_x, min_y);
_local2.lineTo(max_x, min_y);
_local2.lineTo(max_x, max_y);
_local2.lineTo(min_x, max_y);
_local2.lineTo(min_x, min_y);
_local2.endFill();
return(_local2);
}
function createClip(p_instance, p_depth) {
clip = m_parent.createEmptyMovieClip(p_instance, p_depth);
with (clip) {
beginFill(16777215);
moveTo(2, 0);
curveTo(3, 0, 4, 2);
curveTo(4, 3, 2, 4);
curveTo(1, 4, 0, 2);
curveTo(0, 1, 2, 0);
endFill();
}
}
function Start() {
if (fon_alp != 0) {
m_parent = m_parent.createEmptyMovieClip("snegf", m_parent.getNextHighestDepth());
fon();
}
m_parent = m_parent.createEmptyMovieClip("snegm", m_parent.getNextHighestDepth());
m_parent.setMask(createMask());
var _local2 = 0;
while (_local2 < kolvo) {
if (nam != "") {
clip = m_parent.attachMovie(nam, "sneg" + _local2, (deep + _local2) + 1);
} else {
createClip("sneg" + _local2, (deep + _local2) + 1);
}
clip.min_x = min_x;
clip.min_y = min_y;
clip.max_x = max_x;
clip.max_y = max_y;
clip.kolvo = kolvo;
clip.napr = (napr / 2) + ((Math.random() * napr) / 2);
clip.sped = (sped / 2) + ((Math.random() * sped) / 2);
clip.alpa = (clip.sped / sped) * alpa;
clip.siz = siz;
clip._xscale = Math.round((clip.sped / sped) * siz);
clip._yscale = clip._xscale;
clip.dv = (Math.random() * clip.napr) + 1;
clip._alpha = Math.round(clip.alpa);
clip.variant = variant + (variant * Math.random());
clip.napr = clip.napr;
clip.sped = clip.sped;
clip.t_x = 0;
clip.t_y = 0;
clip.star = star;
clip.fly = fly;
clip.pol_x = ((clip.max_x - clip.min_x) / 2) + clip.min_x;
clip.pol_y = ((clip.max_y - clip.min_y) / 2) + clip.min_y;
clip.otpol_x = (clip.max_x - clip.min_x) / 2;
clip.otpol_y = (clip.max_y - clip.min_y) / 2;
if (clip.star == "true") {
clip.st_x = ((Math.random() * 2) - 1) * clip.napr;
clip.st_y = ((Math.random() * 2) - 1) * clip.sped;
clip.st_x = clip.st_x + ((clip.st_x / Math.abs(clip.st_x)) * (Math.random() * clip.napr));
clip.st_y = clip.st_y + ((clip.st_y / Math.abs(clip.st_y)) * (Math.random() * clip.sped));
if (clip.fly == "forward") {
clip.st_x = (((Math.random() * 2) - 1) * clip.napr) / 2;
clip.st_y = (((Math.random() * 2) - 1) * clip.napr) / 2;
clip.t_x = (clip.max_x * clip.st_x) + clip.pol_x;
clip.t_y = (clip.max_y * clip.st_y) + clip.pol_y;
clip._alpha = 10;
clip._xscale = clip._xscale / 50;
clip._yscale = clip._yscale / 50;
} else if (clip.fly == "back") {
var _local3;
var _local6;
var _local4;
_local6 = (Math.PI*2) / clip.kolvo;
_local3 = _local2 * _local6;
clip.napr = (clip.napr * Math.random()) + clip.napr;
_local4 = Math.random() * (clip.pol_x + clip.pol_y);
clip._alpha = 100;
clip.t_x = (Math.cos(_local3) * _local4) + clip.pol_x;
clip.t_y = (Math.sin(_local3) * _local4) + clip.pol_y;
clip.st_x = (-Math.cos(_local3)) * clip.napr;
clip.st_y = (-Math.sin(_local3)) * clip.napr;
}
} else if (clip.star == "false") {
var _local5 = Math.random();
if (Math.round(_local5) == 0) {
if (clip.napr > 0) {
clip.t_x = Math.round((clip.min_x - clip._width) - (Math.random() * (clip.max_x - clip.min_x)));
} else {
clip.t_x = Math.round((clip.max_x + clip._width) + (Math.random() * (clip.max_x - clip.min_x)));
}
clip.t_y = Math.round(clip.min_y + (Math.random() * (clip.max_y - clip.min_y)));
clip.dv = Math.round(Math.random() * clip.sped);
} else {
clip.t_x = Math.round(clip.min_x + ((clip.max_x - clip.min_x) * Math.random()));
if (clip.sped > 0) {
clip.t_y = Math.round((clip.min_y - (Math.random() * (clip.max_y - clip.min_y))) - clip._height);
} else {
clip.t_y = Math.round((clip.max_y + (Math.random() * (clip.max_y - clip.min_y))) + clip._height);
}
clip.dv = Math.round(Math.random() * clip.sped);
}
}
clip._x = clip.t_x;
clip._y = clip.t_y;
clip.onEnterFrame = function () {
if (this.star == "true") {
if (this.fly == "forward") {
if (((((this.t_x - this._width) > this.max_x) or ((this.t_y - this._height) > this.max_y)) or ((this.t_y + this._height) < this.min_y)) or ((this.t_x + this._width) < this.min_x)) {
this.st_x = (((Math.random() * 2) - 1) * this.napr) / 2;
this.st_y = (((Math.random() * 2) - 1) * this.napr) / 2;
this.t_x = (Math.random() * this.st_x) + this.pol_x;
this.t_y = (Math.random() * this.st_y) + this.pol_y;
this._alpha = 10;
this._xscale = this._xscale / 50;
this._yscale = this._yscale / 50;
}
this._alpha = ((Math.abs((this.t_y - this.pol_y) / this.pol_y) + Math.abs((this.t_x - this.pol_x) / this.pol_x)) * this.siz) * 4;
this._xscale = (Math.sqrt(this._alpha) * this.siz) / 20;
this._yscale = this._xscale;
this.st_x = this.st_x + ((this.st_x * this._alpha) / 30000);
this.st_y = this.st_y + ((this.st_y * this._alpha) / 30000);
this.t_x = this.t_x + this.st_x;
this.t_y = this.t_y + this.st_y;
} else if (this.fly == "back") {
if (((((this.t_x > this.pol_x) and (this.st_x >= 0)) or ((this.t_x < this.pol_x) and (this.st_x <= 0))) or ((this.t_y < this.pol_y) and (this.st_y <= 0))) or ((this.t_y > this.pol_y) and (this.st_y >= 0))) {
var _local2;
var _local5;
var _local3;
_local5 = (Math.PI*2) / this.kolvo;
_local2 = (Math.random() * this.kolvo) * _local5;
_local3 = Math.sqrt(Math.pow(this.otpol_x, 2) + Math.pow(this.otpol_y, 2));
this._alpha = 100;
this.t_x = (Math.cos(_local2) * _local3) + this.pol_x;
this.t_y = (Math.sin(_local2) * _local3) + this.pol_y;
this.st_x = (-Math.cos(_local2)) * this.napr;
this.st_y = (-Math.sin(_local2)) * this.napr;
}
this._alpha = (Math.abs((this.t_y - this.pol_y) / this.otpol_y) + Math.abs((this.t_x - this.pol_x) / this.otpol_x)) * this.siz;
this._xscale = (Math.sqrt(this._alpha) * this.siz) / 10;
this._yscale = this._xscale;
this.t_x = this.t_x + this.st_x;
this.t_y = this.t_y + this.st_y;
}
} else if (!((((((this.t_x - this._width) > this.max_x) and (this.napr >= 0)) or (((this.t_y - this._height) > this.max_y) and (this.sped > 0))) or (((this.t_y + this._height) < this.min_y) and (this.sped < 0))) or (((this.t_x + this._width) < this.min_x) and (this.napr <= 0)))) {
if (this.variant != 0) {
this.dv = this.dv + (Math.sin(this.t_y / (this.variant * 20)) / (30 / this.napr));
if (this.napr > 0) {
this.t_x = this.t_x + (this.napr + this.dv);
} else {
this.t_x = this.t_x + (this.napr + this.dv);
}
this.t_y = this.t_y + this.sped;
} else {
this.t_x = this.t_x + this.napr;
this.t_y = this.t_y + (this.sped + this.dv);
}
} else {
var _local4 = Math.random();
if (Math.round(_local4) == 0) {
if (this.napr > 0) {
this.t_x = this.min_x - this._width;
} else {
this.t_x = Math.round(this.max_x + this._width);
}
this.t_y = this.min_y + (Math.random() * (this.max_y - this.min_y));
this.dv = Math.random() * this.sped;
} else {
this.t_x = this.min_x + ((this.max_x - this.min_x) * Math.random());
if (this.sped > 0) {
this.t_y = this.min_y - this._height;
} else {
this.t_y = (this.max_y + (Math.random() * 10)) + this._height;
}
this.dv = Math.random() * this.sped;
}
}
this._x = this.t_x;
this._y = this.t_y;
};
_local2++;
}
}
}
Symbol 268 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 5
stop();
Symbol 271 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 5
stop();