diff --git a/src/Master.as b/src/Master.as
index 234d5c0..2d3826b 100644
--- a/src/Master.as
+++ b/src/Master.as
@@ -13,7 +13,7 @@
import flash.events.SecurityErrorEvent;
import flash.events.TimerEvent;
import flash.filters.DropShadowFilter;
- import flash.media.*;
+ import flash.media.SoundTransform;
import flash.net.NetConnection;
import flash.net.NetStream;
import flash.net.ObjectEncoding;
@@ -30,8 +30,6 @@
import mx.core.UIComponent;
import mx.events.FlexEvent;
import mx.formatters.DateFormatter;
- import mx.managers.BrowserManager;
- import mx.managers.IBrowserManager;
import mx.managers.PopUpManager;
public class Master {
@@ -99,15 +97,14 @@
tvNetwork = new tuveNetwork();
tvNetwork.tvMaster = this;
-
-
+
/* Set up sync stream */
tvSyncNC = new NetConnection;
tvSyncNC.addEventListener(NetStatusEvent.NET_STATUS, tvNetStatus);
tvSyncNC.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
tvSyncNC.client = this;
tvSyncNC.objectEncoding = ObjectEncoding.AMF3;
- tvSyncNC.connect("rtmp://monkey.ubixos.com/oflaDemo");
+ tvSyncNC.connect("rtmp://rtmp.ubixonline.com/oflaDemo");
tvSO = SharedObject.getLocal("ubChattinINFO");
@@ -115,22 +112,22 @@
tvSO.data.myID = new Date().getTime();
imWins = new Array();
-
+
myTimer.addEventListener(TimerEvent.TIMER,doCount);
-
ncTimer.addEventListener(TimerEvent.TIMER_COMPLETE,doReconnect);
return(true);
} /* End init */
private function doReconnect(e:TimerEvent):void {
- tvSyncNC.connect("rtmp://monkey.ubixos.com/oflaDemo");
+ tvSyncNC.connect("rtmp://rtmp.ubixonline.com/oflaDemo");
ncTimer.reset();
}
public function tuveGetChans():void {
gateway.call("tuve.getChans",new Responder(getChansRes,onFault),null);
}
+
private function getChansRes(result:Array):void {
if (result) {
chanList = new ArrayCollection(result);
@@ -183,7 +180,6 @@
tvSyncNS = new NetStream(tvSyncNC);
tvSyncNS.receiveVideo(false);
tvSyncNS.client = this;
- //tvSyncVid.attachNetStream(tvSyncNS);
tvSyncNS.close();
tvSyncST = tvSyncNS.soundTransform;
tvSyncNS.addEventListener(NetStatusEvent.NET_STATUS, tvNetStatus,false,0,true);
@@ -490,7 +486,7 @@
public function authSuccess():void {
PopUpManager.removePopUp(login);
login = null;
- //masterObject.updateVolume();
+ masterObject.updateVolume();
} /* End authSuccess() */
/* End Authentication Functions */
diff --git a/src/ubChattin.mxml b/src/ubChattin.mxml
index 5faeacc..c50e1a9 100644
--- a/src/ubChattin.mxml
+++ b/src/ubChattin.mxml
@@ -134,5 +134,5 @@
-
+