diff --git a/Master.as b/Master.as
index c0e9d60..c0049ed 100644
--- a/Master.as
+++ b/Master.as
@@ -73,6 +73,8 @@
/* Pop Up Windows */
private var tuveVW:videoWindow;
+ private var tuveBW:bioWindow;
+ private var tuveNBW:newBio;
/* Initialization Routine */
@@ -102,7 +104,7 @@
tuveVW = new videoWindow();
tuveVW.tvMaster = this;
tuveVW.x = ((masterObject.width - tuveVW.width) / 2);
- tuveVW.y = ((masterObject.height - tuveVW.height) /2 );
+ tuveVW.y = ((masterObject.height - tuveVW.height) /2 ) + 12;
tuveVW.addEventListener("closeWindow",tuveCloseVW,false,0,true);
masterObject.addChild(tuveVW);
}
@@ -116,6 +118,46 @@
}
} /* End tuveCloseLW */
/* End Video Window Functions */
+
+ /* This function opens up the bio window */
+ public function tuveShowBW(artist:String):void {
+ if (tuveBW == null) {
+ tuveBW = new bioWindow();
+ tuveBW.tvMaster = this;
+ tuveBW.bioData = artist;
+ tuveBW.x = ((masterObject.width - tuveBW.width) / 2);
+ tuveBW.y = ((masterObject.height - tuveBW.height) /2 ) + 12;
+ tuveBW.addEventListener("closeWindow",tuveCloseBW,false,0,true);
+ masterObject.addChild(tuveBW);
+ }
+ } /* End tuveShowBW() */
+
+ /* This function closes the channel list window */
+ public function tuveCloseBW(event:FlexEvent):void {
+ if (tuveBW != null) {
+ masterObject.removeChild(tuveBW);
+ tuveBW = null;
+ }
+ } /* End tuveCloseLW */
+ /* End bio Window Functions */
+
+ public function tuveShowNBW():void {
+ if (tuveNBW == null) {
+ tuveNBW = new newBio();
+ tuveNBW.tvMaster = this;
+ tuveNBW.x = ((masterObject.width - tuveNBW.width) / 2);
+ tuveNBW.y = ((masterObject.height - tuveNBW.height) /2 ) + 12;
+
+ masterObject.addChild(tuveNBW);
+ }
+ } /* End tuveShowNBW() */
+
+ public function tuveCloseNBW():void {
+ if (tuveNBW != null) {
+ masterObject.removeChild(tuveNBW);
+ tuveNBW = null;
+ }
+ } /* End tuveCloseLW */
public function validateNick(str:String):Boolean {
var pattern:RegExp = /^[a-zA-Z0-9]*$/;
diff --git a/SuperTUve.mxml b/SuperTUve.mxml
index 7b252d9..f30d789 100644
--- a/SuperTUve.mxml
+++ b/SuperTUve.mxml
@@ -18,7 +18,11 @@
-
+
+
+
+
+
@@ -67,7 +71,13 @@
switch (Number(event.item.@data)) {
case 1:
tvMaster.tuveShowVW();
- break;
+ break;
+ case 6:
+ tvMaster.tuveShowBW(null);
+ break;
+ case 7:
+ tvMaster.tuveShowNBW();
+ break;
default:
break;
}
diff --git a/bioWindow.mxml b/bioWindow.mxml
new file mode 100644
index 0000000..039bdf2
--- /dev/null
+++ b/bioWindow.mxml
@@ -0,0 +1,118 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/newBio.mxml b/newBio.mxml
new file mode 100644
index 0000000..2a31bd3
--- /dev/null
+++ b/newBio.mxml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/videoWindow.mxml b/videoWindow.mxml
index 70e8f18..45c0a2d 100644
--- a/videoWindow.mxml
+++ b/videoWindow.mxml
@@ -1,5 +1,5 @@
-
+
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -140,14 +163,19 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+