Section 1
//BGfaces_2 (commissionprevthingflash_fla.BGfaces_2)
package commissionprevthingflash_fla {
import flash.display.*;
public dynamic class BGfaces_2 extends MovieClip {
public function BGfaces_2(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
spin();
}
public function spin():void{
rotation = (rotation + 0.5);
}
function frame2(){
spin();
}
}
}//package commissionprevthingflash_fla
Section 2
//BGspin1_3 (commissionprevthingflash_fla.BGspin1_3)
package commissionprevthingflash_fla {
import flash.display.*;
public dynamic class BGspin1_3 extends MovieClip {
public function BGspin1_3(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
spin();
}
public function spin():void{
rotation = (rotation + 3);
}
function frame2(){
spin();
}
}
}//package commissionprevthingflash_fla
Section 3
//Loadface_7 (commissionprevthingflash_fla.Loadface_7)
package commissionprevthingflash_fla {
import flash.display.*;
public dynamic class Loadface_7 extends MovieClip {
public function Loadface_7(){
addFrameScript(0, frame1);
}
function frame1(){
alpha = (0.4 + (Math.random() * 0.6));
}
}
}//package commissionprevthingflash_fla
Section 4
//Loadspin_4 (commissionprevthingflash_fla.Loadspin_4)
package commissionprevthingflash_fla {
import flash.display.*;
public dynamic class Loadspin_4 extends MovieClip {
public function Loadspin_4(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
spin();
}
public function spin():void{
rotation = (rotation + 4);
}
function frame2(){
spin();
}
}
}//package commissionprevthingflash_fla
Section 5
//Main_1 (commissionprevthingflash_fla.Main_1)
package commissionprevthingflash_fla {
import flash.display.*;
public dynamic class Main_1 extends MovieClip {
public var loadfaces:MovieClip;
public var barmc:MovieClip;
}
}//package commissionprevthingflash_fla
Section 6
//MainTimeline (commissionprevthingflash_fla.MainTimeline)
package commissionprevthingflash_fla {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import flash.ui.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var summarytxt:TextField;
public var linesbut:SimpleButton;
public var shadebut:SimpleButton;
public var single:MovieClip;
public var onebut:SimpleButton;
public var option2:ContextMenuItem;
public var option4:ContextMenuItem;
public var option1:ContextMenuItem;
public var option3:ContextMenuItem;
public var customContextMenu:ContextMenu;
public var flatbut:SimpleButton;
public var fullbut:SimpleButton;
public var moneys;
public var twobut:SimpleButton;
public var both:MovieClip;
public var moneystxt:TextField;
public var loadermc:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2);
}
public function option3down(_arg1:ContextMenuEvent):void{
stage.quality = "MEDIUM";
}
public function option1down(_arg1:ContextMenuEvent):void{
navigateToURL(new URLRequest("http://aryion.com/g4/user/Byoki-desu"));
}
public function twobutclick(_arg1:MouseEvent):void{
single.visible = true;
onebut.visible = true;
twobut.visible = false;
update();
}
public function onebutclick(_arg1:MouseEvent):void{
single.visible = false;
onebut.visible = false;
twobut.visible = true;
update();
}
public function option4down(_arg1:ContextMenuEvent):void{
stage.quality = "HIGH";
}
public function fullbutclick(_arg1:MouseEvent):void{
single.gotoAndStop(4);
both.gotoAndStop(4);
update();
}
public function flatbutclick(_arg1:MouseEvent):void{
single.gotoAndStop(3);
both.gotoAndStop(3);
update();
}
function frame1(){
stop();
loadermc.addEventListener(Event.ENTER_FRAME, loaderupdate);
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP;
option1 = new ContextMenuItem("Made by Byoki-Desu");
option2 = new ContextMenuItem("Quality = Low");
option3 = new ContextMenuItem("Quality = Medium");
option4 = new ContextMenuItem("Quality = High");
option1.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, option1down);
option2.separatorBefore = true;
option2.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, option2down);
option3.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, option3down);
option4.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, option4down);
customContextMenu = new ContextMenu();
customContextMenu.hideBuiltInItems();
customContextMenu.customItems.push(option1, option2, option3, option4);
this.contextMenu = customContextMenu;
option2.enabled = false;
option3.enabled = false;
option4.enabled = false;
}
public function option2down(_arg1:ContextMenuEvent):void{
stage.quality = "LOW";
}
function frame2(){
single.stop();
both.stop();
moneys = 20;
onebut.y = twobut.y;
twobut.visible = false;
onebut.addEventListener(MouseEvent.CLICK, onebutclick);
twobut.addEventListener(MouseEvent.CLICK, twobutclick);
update();
linesbut.addEventListener(MouseEvent.CLICK, linesbutclick);
shadebut.addEventListener(MouseEvent.CLICK, shadebutclick);
flatbut.addEventListener(MouseEvent.CLICK, flatbutclick);
fullbut.addEventListener(MouseEvent.CLICK, fullbutclick);
fullbut.mouseEnabled = false;
fullbut.alpha = 0.5;
}
public function linesbutclick(_arg1:MouseEvent):void{
single.gotoAndStop(1);
both.gotoAndStop(1);
update();
}
public function loaderupdate(_arg1:Event):void{
loadermc.barmc.gotoAndStop(Math.floor(((this.stage.loaderInfo.bytesLoaded / this.stage.loaderInfo.bytesTotal) * 100)));
if (this.stage.loaderInfo.bytesLoaded == this.stage.loaderInfo.bytesTotal){
loadermc.removeEventListener(Event.ENTER_FRAME, loaderupdate);
nextFrame();
};
}
public function update():void{
if (single.visible){
if (single.currentFrame == 1){
moneys = 20;
};
if (single.currentFrame == 2){
moneys = 25;
};
if (single.currentFrame == 3){
moneys = 25;
};
if (single.currentFrame == 4){
moneys = 30;
};
} else {
if (single.currentFrame == 1){
moneys = 30;
};
if (single.currentFrame == 2){
moneys = 40;
};
if (single.currentFrame == 3){
moneys = 40;
};
if (single.currentFrame == 4){
moneys = 50;
};
};
moneystxt.text = ("$" + moneys);
summarytxt.visible = false;
}
public function shadebutclick(_arg1:MouseEvent):void{
single.gotoAndStop(2);
both.gotoAndStop(2);
update();
}
}
}//package commissionprevthingflash_fla