diff --git a/.actionScriptProperties b/.actionScriptProperties index 8d401ac..8bb57c6 100644 --- a/.actionScriptProperties +++ b/.actionScriptProperties @@ -1,24 +1,30 @@ - - + + - - - - - - - - + + + + + + + + + + + + - - - + + + + + diff --git a/.flexProperties b/.flexProperties index baf7241..fb54894 100644 --- a/.flexProperties +++ b/.flexProperties @@ -1,2 +1,2 @@ - + diff --git a/.settings/com.adobe.flexbuilder.project.prefs b/.settings/com.adobe.flexbuilder.project.prefs new file mode 100644 index 0000000..1094943 --- /dev/null +++ b/.settings/com.adobe.flexbuilder.project.prefs @@ -0,0 +1,3 @@ +#Sun Dec 09 15:29:38 EST 2007 +eclipse.preferences.version=1 +upgradeSDK/fb3= diff --git a/Master.as b/Master.as index c0049ed..c2cee32 100644 --- a/Master.as +++ b/Master.as @@ -11,13 +11,8 @@ package { import flash.net.NetConnection; - //import flash.net.NetStream; - //import mx.collections.ArrayCollection; - //import flash.net.Responder; - //import mx.controls.Alert; - //import mx.controls.Image; - //import flash.utils.Timer; - //import flash.events.TimerEvent; + + import mx.collections.ArrayCollection; import mx.events.FlexEvent; //import flash.media.*; //import mx.core.UIComponent; @@ -71,10 +66,13 @@ [Bindable] private var metaData:Object = {duration:0}; + public var userInfo:ArrayCollection; + /* Pop Up Windows */ private var tuveVW:videoWindow; private var tuveBW:bioWindow; private var tuveNBW:newBio; + private var tuveUW:uploadWindow; /* Initialization Routine */ @@ -158,6 +156,24 @@ tuveNBW = null; } } /* End tuveCloseLW */ + + public function tuveShowUW():void { + if (tuveUW == null) { + tuveUW = new uploadWindow(); + tuveUW.tvMaster = this; + tuveUW.x = ((masterObject.width - tuveUW.width) / 2); + tuveUW.y = ((masterObject.height - tuveUW.height) /2 ) + 12; + tuveUW.addEventListener("closeWindow",tuveCloseUW,false,0,true); + masterObject.addChild(tuveUW); + } + } /* End tuveShowNBW() */ + + public function tuveCloseUW(event:FlexEvent):void { + if (tuveUW != null) { + masterObject.removeChild(tuveUW); + tuveUW = 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 f30d789..917405b 100644 --- a/SuperTUve.mxml +++ b/SuperTUve.mxml @@ -2,6 +2,7 @@ + + + + + \ No newline at end of file