diff --git a/videoWindow.mxml b/videoWindow.mxml index bc09f9e..b8dbca1 100644 --- a/videoWindow.mxml +++ b/videoWindow.mxml @@ -42,6 +42,7 @@ uArgs.skey = vidSearch.text; tvMaster.gateway.call("tuve.getVideos",new Responder(gotVideos,tvMaster.onFault),uArgs); uArgs = null; + this.enabled = false; } public function getArtists():void { @@ -61,6 +62,7 @@ } private function gotVideos(result:Array):void { + this.enabled = true; if (result != null) { if (videoList != null) videoList = null; @@ -75,15 +77,17 @@ private function gotVideo(result:Array):void { var i:Number; if (result != null) { - vidStatus.text = "Data Retrieved"; vidInfo = new ArrayCollection(result); + vidStatus.text = "Data Retrieved For: " + vidInfo[0].title; vidArtist.text = vidInfo[0].artist; vidTitle.text = vidInfo[0].title; vidGenre.text = vidInfo[0].genre; vidLength.text = vidInfo[0].length; //vidFile.text = vidInfo[0].file; - vidDesc.htmlText = " "; - vidDesc.htmlText = vidInfo[0].description; + if (vidInfo[0].description == "") + vidDesc.htmlText = " "; + else + vidDesc.htmlText = vidInfo[0].description; vidRes.text = vidInfo[0].width + "X" + vidInfo[0].height; genTime.text = vidInfo[0].thumbFrame; vidThumb.source = "http://www.ubixonline.com/images/" + vidInfo[0].thumb;