Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //this one actually just makes the basic items and design does not deal with stuff used in actual questing!!!
- public static function popUpBuilder() {
- var hoopX:int = new int(165);
- var hoopY:int = new int(150);
- var hoopYSpacing = new int(75);
- //var hoopIndex = new int(numChildren - 1);
- //var topIndex = new int(numChildren - 1);
- var nameWidth = new int(100);
- var nameHeight = new int(20);
- var cycleX:int = new int(260);
- var cycleY:int = new int(150);
- var cycleSpace:int = new int(200);
- var cycleWidth:int = new int(40);
- var questBelowButtonSpace:int = new int(60);
- //PU 0 Blank Background (to hide the stuff behind it invisibly!)
- var w0:ACOW = new ACOW();
- w0.makeLoadChange(popLoc + "/background/blank.png", 0, 0, 800, 600, popItems, popStage);
- //PU 1 character back ground
- var wl:ACOW = new ACOW();
- wl.makeLoadChange(popLoc + "/background/CharacterScreenBackground.jpg", 135, 100, 500, 360, popItems, popStage);
- //PU 2 add Button
- var w2:ACOW = new ACOW();
- w2.makeLoadChange(popLoc + "/button/button_add.png", cycleX, cycleY + questBelowButtonSpace, 100, 50, popItems, popStage);
- //popItems[popItems.length - 1].addEventListener(MouseEvent.CLICK, questAddGirlButtonClick);
- //DEBUG put back in after building site
- //PU 3 Remove Button
- var w3:ACOW = new ACOW();
- w3.makeLoadChange(popLoc + "/button/button_remove.png", cycleX + cycleSpace, cycleY + questBelowButtonSpace, 100, 50, popItems, popStage);
- popItems[popItems.length - 1].alpha = .6;
- var buttonX:int = new int(550);
- var buttonY:int = new int(350);
- var buttonYSpacing:int = new int(50);
- //PU 4 Ok Button
- var w4:ACOW = new ACOW();
- w4.makeLoadChange(popLoc + "/button/button_ok.png", buttonX, buttonY, 100, 50, popItems, popStage);
- popItems[popItems.length - 1].alpha = .6;
- //PU 5 Ok Button
- var w5:ACOW = new ACOW();
- w5.makeLoadChange(popLoc + "/button/button_cancel.png", buttonX, buttonY + buttonYSpacing, 100, 50, popItems, popStage);
- //popItems[popItems.length - 1].addEventListener(MouseEvent.CLICK, cancelPopUpClick);
- //DEBUG
- //PU 6 prev Button
- var w50:ACOW = new ACOW();
- w50.makeLoadChange(popLoc + "/button/button_prev.png", cycleX + 50, cycleY, cycleWidth, cycleWidth, popItems, popStage);
- //popItems[popItems.length - 1].addEventListener(MouseEvent.CLICK, cycleLeftPopUp);
- //DEBUG
- //PU 7 next Button
- var w51:ACOW = new ACOW();
- w51.makeLoadChange(popLoc + "/button/button_next.png", cycleX + cycleSpace, cycleY, cycleWidth, cycleWidth, popItems, popStage);
- //popItems[popItems.length - 1].addEventListener(MouseEvent.CLICK, cycleRightPopUp);
- //DEBUG
- var hoopSize:int = new int(50);
- //PU 8 hoop Button
- var w6:ACOW = new ACOW();
- w6.makeLoadChange(popLoc + "/other/hoop.png", hoopX, hoopY, hoopSize, hoopSize, popItems, popStage);
- //PU 9 hoop Button
- var w7:ACOW = new ACOW();
- w7.makeLoadChange(popLoc + "/other/hoop.png", hoopX, hoopY + hoopYSpacing, hoopSize, hoopSize, popItems, popStage);
- //PU 10 hoop Button
- var w8:ACOW = new ACOW();
- w8.makeLoadChange(popLoc + "/other/hoop.png", hoopX, hoopY + (hoopYSpacing * 2), hoopSize, hoopSize, popItems, popStage);
- //PU 11 hoop Button
- var w9:ACOW = new ACOW();
- w9.makeLoadChange(popLoc + "/other/hoop.png", hoopX, hoopY + (hoopYSpacing * 3), hoopSize, hoopSize, popItems, popStage);
- //PU 12 hoop Button
- var w10:ACOW = new ACOW();
- w10.makeLoadChange(popLoc + "/other/hoopredx.png", hoopX, hoopY + hoopYSpacing, hoopSize, hoopSize, popItems, popStage);
- //PU 13 hoop Button
- var w11:ACOW = new ACOW();
- w11.makeLoadChange(popLoc + "/other/hoopredx.png", hoopX, hoopY + (hoopYSpacing * 2), hoopSize, hoopSize, popItems, popStage);
- //PU 14 hoop Button
- var w12:ACOW = new ACOW();
- w12.makeLoadChange(popLoc + "/other/hoopredx.png", hoopX, hoopY + (hoopYSpacing * 3), hoopSize, hoopSize, popItems, popStage);
- //PU 15 Girl name 1 TEXT
- ACOW.makeLabel("No Girl", hoopX, hoopY + (hoopYSpacing * 1) - 20, nameWidth, nameHeight, popItems, popStage);
- popItems[popItems.length - 1].visible = true;
- //PU 16 Girl name 2 TEXT
- ACOW.makeLabel("No Girl", hoopX, hoopY + (hoopYSpacing * 2) - 20, nameWidth, nameHeight, popItems, popStage);
- popItems[popItems.length - 1].visible = true;
- //PU 17 Girl name 3 TEXT
- ACOW.makeLabel("No Girl", hoopX, hoopY + (hoopYSpacing * 3) - 20, nameWidth, nameHeight, popItems, popStage);
- popItems[popItems.length - 1].visible = true;
- //PU 18 Girl name 4 TEXT
- ACOW.makeLabel("No Girl", hoopX, hoopY + (hoopYSpacing * 4) - 20, nameWidth, nameHeight, popItems, popStage);
- popItems[popItems.length - 1].visible = true;
- //PU 19 Top TEXT
- ACOW.makeLabel("<font size='18'>This is the top string giving the quest information", hoopX - 15, hoopY - 40, 600, nameHeight + 15, popItems, popStage);
- popItems[popItems.length - 1].visible = true;
- ACOW.makeLabel("<font size='12'>Some Text",cycleX+ (cycleSpace /2 ) + 10, cycleY + questBelowButtonSpace, nameWidth, nameHeight, popItems, popStage);
- popItems[popItems.length - 1].visible = true;
- ACOW.makeLabel("<font size='12'>Required Check:",cycleX, hoopY + (hoopYSpacing * 2) - 20, nameWidth, nameHeight, popItems, popStage);
- popItems[popItems.length - 1].visible = true;
- ACOW.makeLabel("<font size='12'>check text",cycleX, hoopY + (hoopYSpacing * 2), nameWidth, nameHeight, popItems, popStage);
- popItems[popItems.length - 1].visible = true;
- ACOW.makeLabel("<font size='12'>check text",cycleX, hoopY + (hoopYSpacing * 2) + 20, nameWidth, nameHeight, popItems, popStage);
- popItems[popItems.length - 1].visible = true;
- ACOW.makeLabel("<font size='12'>Other Requirments:",cycleX, hoopY + (hoopYSpacing * 3) - 20, nameWidth, nameHeight, popItems, popStage);
- popItems[popItems.length - 1].visible = true;
- ACOW.makeLabel("<font size='12'>check text",cycleX, hoopY + (hoopYSpacing * 3), nameWidth, nameHeight, popItems, popStage);
- popItems[popItems.length - 1].visible = true;
- ACOW.makeLabel("<font size='12'>check text",cycleX, hoopY + (hoopYSpacing * 3) + 20, nameWidth, nameHeight, popItems, popStage);
- popItems[popItems.length - 1].visible = true;
- ACOW.makeLabel("<font size = '18'>You will keep the girls equipped items.",cycleX - 30, hoopY + (hoopYSpacing * 4) - 20, 300, nameHeight, popItems, popStage);
- popItems[popItems.length - 1].visible = true;
- ACOW.makeLabel("<font size='12'>Effect or Item Required",cycleX + 150, hoopY + (hoopYSpacing * 2) - 20, nameWidth, nameHeight, popItems, popStage);
- popItems[popItems.length - 1].visible = true;
- ACOW.makeLabel("<font size='12'>Effect or Item Checked",cycleX + 150, hoopY + (hoopYSpacing * 2), nameWidth, nameHeight, popItems, popStage);
- popItems[popItems.length - 1].visible = true;
- ACOW.makeLabel("<font size='12'>Effect or Item Checked",cycleX + 150, hoopY + (hoopYSpacing * 2) + 20, nameWidth, nameHeight, popItems, popStage);
- popItems[popItems.length - 1].visible = true;
- ACOW.makeLabel("<font size='12'>Effect or Item Checked",cycleX + 150, hoopY + (hoopYSpacing * 2) + 40, nameWidth, nameHeight, popItems, popStage);
- popItems[popItems.length - 1].visible = true;
- ACOW.makeLabel("<font size='12'>Effect or Item Checked",cycleX + 150, hoopY + (hoopYSpacing * 2) + 60, nameWidth, nameHeight, popItems, popStage);
- popItems[popItems.length - 1].visible = true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement