<?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("tuve.getFullInfo",new Responder(getInfoRes,tvMaster.onFault),vid);
}
public function getInfoRes(result:Array):void {
var tmpCollection:ArrayCollection;
if (result != null) {
tmpCollection = new ArrayCollection(result);
npThumb.source = "http://www.ubixonline.com/images/" + tmpCollection[0].thumb;
npArtist.text = tmpCollection[0].artist;
npTitle.text = tmpCollection[0].title;
npDescription.htmlText = tmpCollection[0].description;
if (tmpCollection[0].bio != null)
npBio.htmlText = tmpCollection[0].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>