[Tools][Expand/Collapse All]Note that automatic extraction of ActionScript 3 is still pretty much unsupported by swfchan. AS1/AS2 works okay most of the time.Frame 1 (3.84 KiB) ●
function doSomething1() {
getURL ("http://www.furaffinity.net/user/shenhibiki", (window = blank));
}
function doSomething2() {
getURL ("http://www.furaffinity.net/user/graedius", (window = blank));
}
function doSomething3() {
}
function Lbar() {
percent = int((getBytesLoaded() / getBytesTotal()) * 100);
_root.T1.text = percent + "%";
if (getBytesLoaded() >= getBytesTotal()) {
play();
T1.removeTextField();
clearInterval(loaderInt);
T2.removeTextField();
clearInterval(loaderInt2);
}
}
function Words() {
tempW = "";
tempN = random(L1.length);
tempW = L1[tempN];
tempN = random(L2.length);
tempW = tempW + L2[tempN];
tempN = random(L3.length);
tempW = tempW + L3[tempN];
_root.T2.text = tempW;
}
function cR1() {
if (_root.wait <= 0) {
if (_root.R1 == false) {
_root.R1 = true;
_root.base.Rc1._visible = true;
_root.wait = 5;
} else {
_root.R1 = false;
_root.base.Rc1._visible = false;
_root.wait = 5;
}
}
}
function cR2() {
if (_root.wait <= 0) {
if (_root.R2 == false) {
_root.R2 = true;
_root.base.Rc2._visible = true;
_root.wait = 5;
} else {
_root.R2 = false;
_root.base.Rc2._visible = false;
_root.wait = 5;
}
}
}
function cR3() {
if (_root.wait <= 0) {
if (_root.R3 == false) {
_root.R3 = true;
_root.base.Rc3._visible = true;
_root.wait = 5;
} else {
_root.R3 = false;
_root.base.Rc3._visible = false;
_root.wait = 5;
}
}
}
var P_Load = new TextFormat();
P_Load.font = "textFont";
P_Load.size = 25;
P_Load.color = 4473924 /* 0x444444 */;
P_Load.align = "center";
L1 = ["Calibrating ", "Reassembling ", "Coloring ", "Insulting ", "Animating ", "Reanimating ", "Uncroaking ", "Developing ", "Increasing ", "Insulating ", "Desecrating ", "Cleaning ", "Invading ", "Adulterating ", "Dulling ", "Desintegrating ", "Prescribing ", "Loading ", "Reinventing ", "Excluding ", "Instructing ", "Reassuring ", "Alienating ", "Ponifying "];
L2 = ["round ", "generic ", "intersecting ", "biological ", "steaming piles of ", "discarded ", "elemental ", "surrounding ", "undiscovered ", "unexplored ", "imaginary ", "your ", "your mom's ", "last week's ", "circular ", "electrical ", "cloned ", "popular ", "ponificated ", "mourning ", "cognitive "];
L3 = ["particles.", "vectors.", "ideas.", "archetypes.", "mails.", "enemies.", "maps.", "programmers.", "inferences.", "ideals.", "archaic concepts.", "lies.", "TV series.", "passwords.", "savings.", "ponies.", "monsters.", "metadata.", "temptations."];
MENU = new ContextMenu();
MENU.builtInItems.play = false;
MENU.builtInItems.forward_back = false;
MENU.builtInItems.loop = false;
MENU.builtInItems.print = false;
MENU.builtInItems.rewind = false;
MENU.builtInItems.save = false;
MENU.builtInItems.zoom = false;
Functioned1 = new ContextMenuItem("Art by Shen Hibiki", doSomething1);
Functioned2 = new ContextMenuItem("Commish for Graedius", doSomething2);
Functioned3 = new ContextMenuItem("Donate to [ donate.shen@gmail.com ] on paypal~", doSomething3);
Functioned3.separatorBefore = true;
Functioned4 = new ContextMenuItem("Donations means more stuff!", doSomething3);
MENU.customItems.push(Functioned1);
MENU.customItems.push(Functioned2);
MENU.customItems.push(Functioned3);
MENU.customItems.push(Functioned4);
_root.menu = MENU;
this.createTextField("T1", _root.getNextHighestDepth(), 0, 265, Stage.width, 35);
T1.embedFonts = true;
T1.setNewTextFormat(_root.P_Load);
T1.type = "static";
T1.selectable = false;
T1.autoSize = false;
this.createTextField("T2", _root.getNextHighestDepth(), 0, 290, Stage.width, 35);
T2.embedFonts = true;
T2.setNewTextFormat(_root.P_Load);
T2.type = "static";
T2.selectable = false;
T2.autoSize = false;
loaderInt = setInterval(Lbar, 20);
loaderInt2 = setInterval(Words, 1000);
R1 = false;
R2 = false;
R3 = false;
wait = 0;
Frame 2 (203 B)
function onEnterFrame() {
if (_root.wait > 0) {
_root.wait = _root.wait - 1;
}
}
_root.base.Rc1._visible = false;
_root.base.Rc2._visible = false;
_root.base.Rc3._visible = false;
stop();
Symbol 16 Button (120 B)
on (keyPress "<Up>") {
cR1();
}
on (keyPress "<Left>") {
cR2();
}
on (keyPress "<Down>") {
cR3();
}
Symbol 17 Button (24 B)
on (release) {
cR1();
}
Symbol 18 Button (24 B)
on (release) {
cR2();
}
Symbol 19 Button (24 B)
on (release) {
cR3();
}