diff --git a/src/TUvod.mxml b/src/TUvod.mxml
index 762cd48..299b5c4 100644
--- a/src/TUvod.mxml
+++ b/src/TUvod.mxml
@@ -13,6 +13,29 @@
public var playList:ArrayCollection;
public var tvVid:Video;
+
+ /* Data */
+ [Bindable]
+ public var tvRating:XMLList =
+ <>
+
+
+
+
+
+ >;
+
+ [Bindable]
+ public var tvClass:XMLList =
+ <>
+
+
+
+
+
+
+
+ >;
/* Streams */
public var tvNC:NetConnection; // NetConnection For Sync Video
@@ -39,14 +62,16 @@
playList = new ArrayCollection();
+ vClass.selectedIndex = 0;
+ vRating.selectedIndex = 2;
findSong(true);
}
public function findSong(ia:Boolean):void {
var searchOptV:Object = new Object();
- searchOptV.skey = ""; //searchBox.text;
- searchOptV.sclass = 1; //Number(tvMaster.tvClass[selC.selectedIndex].@data);
- searchOptV.srating = 4; //Number(tvMaster.tvRating[selR.selectedIndex].@data);
+ searchOptV.skey = searchBox.text;
+ searchOptV.sclass = Number(tvClass[vClass.selectedIndex].@data);
+ searchOptV.srating = Number(tvRating[vRating.selectedIndex].@data);
searchOptV.exclusive = 0; //tvMaster.chanExclusive;
searchOptV.stime = 0; //tvTime.text;
if (ia == true)
@@ -76,17 +101,20 @@
}
public function onMetaData(info:Object):void {
-/*
- tvVid.width = info.width;
- tvVid.height = info.height;
+ tvVid.width = info.width;
+ tvVid.height = info.height;
- if ((300 - info.height) > 0) {
- tvSyncVid.y = ((300 - info.height)/2);
- }
- else {
- tvVid.y = 0;
- }
- */
+ if ((300 - info.height) > 0) {
+ tvVid.y = ((300 - info.height)/2);
+ }
+ else {
+ tvVid.y = 0;
+ }
+
+
+
+
+
//tvOverlay.y = tvSyncVid.y + (tvSyncVid.height - 29);
/*
if ((400 - info.width) > 0) {
@@ -153,24 +181,43 @@
if (playList.length >= 1)
tvNS.play(playList[0].file,0);
}
+
+ public function updateVolume():void {
+ var st:SoundTransform = tvNS.soundTransform;
+ st.volume = (volume.value) * .01;
+ tvNS.soundTransform = st;
+ //tvMaster.tvSO.data.volume = volume.value;
+ } /* End updateVolume */
]]>
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/src/assets/audio-volume-high 16x16.png b/src/assets/audio-volume-high 16x16.png
new file mode 100644
index 0000000..ec8f00b
--- /dev/null
+++ b/src/assets/audio-volume-high 16x16.png
Binary files differ