<?xml version="1.0" encoding="utf-8"?> <!-- Copyright 2008 Christopher Olsen <cwolsen@domainatlantic.com> $Id$ --> <tvWindow xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" layout="absolute" cornerRadius="7" title="Information:" width="450" height="450" creationComplete="focusManager.setFocus(npBio);" borderThicknessBottom="0" borderThicknessLeft="0" borderThicknessRight="0" borderThicknessTop="0" horizontalScrollPolicy="off" verticalScrollPolicy="off"> <mx:Script> <![CDATA[ import mx.collections.ArrayCollection; public var tvMaster:Master; public function getInfo(vid:Number):void { tvMaster.gateway.call("tuveAdmin.getFullInfo",new Responder(getInfoRes,tvMaster.onFault),vid); } public function getInfoRes(result:Object):void { if (result != null) { npThumb.source = result.thumb; npArtist.text = result.artist; npTitle.text = result.title; npDescription.htmlText = result.description; if (result.bio != null) npBio.htmlText = result.bio; } } ]]> </mx:Script> <mx:Image id="npThumb" source="http://www.ubixonline.com/images/none.gif" width="87" height="65" scaleContent="true" x="10" y="10"/> <mx:Label text="Artist: " x="118" y="10" fontWeight="bold" color="#000000"/> <mx:Label id="npArtist" x="168" y="10" width="350" text="NA" /> <mx:Label text="Title:" x="118" y="36" color="#000000" fontWeight="bold"/> <mx:Label id="npTitle" x="168" y="36" width="350" text="NA"/> <mx:VBox verticalGap="1" right="10" left="10" bottom="5" top="80"> <mx:HRule width="100%"/> <mx:Label text="Biography:" fontWeight="bold" fontSize="10"/> <mx:TextArea width="100%" height="100%" id="npBio" focusAlpha="0" editable="false" wordWrap="true" borderThickness="0"/> <mx:HRule width="430"/> <mx:Label text="Description:" fontWeight="bold" fontSize="10"/> <mx:TextArea id="npDescription" width="100%" height="100%" focusAlpha="0" wordWrap="true" editable="false" borderThickness="0"/> </mx:VBox> </tvWindow>