Well I have a video chat script I need to change the interface but it is not exporting right.

I also need to add a show jpeg if video stream ends if someone could help ill send a tip on paypal.

infamouskiller2@hotmail.com

can anyone help on how to compile a live video console script

has a action script file not sure if its not reading right when I compile.

I just want to add a layer for banners and such and have it compile correctly.

not sure what im doing wrong is there export setting im doing wrong need some help.


Javascript Command File Code:

var sId = fid;
var nMoney = fmoney;
var sUser = fuser;
var sModel = fmodel;
var nFav = favorite;
var freetime = freetime;
var connection = connection;
var cpm = cpm;
ncConnection = new NetConnection();
ncConnection.connect((connection + sModel), sUser, nMoney);
ncConnection["onStatus"] = function (info){
if(info.code == "NetConnection.Connect.Success"){
txConnect.text = "Coonection established";
gotoAndStop(2);
} else if(info.code == "NetConnection.Connect.Closed"){
txConnect.text += "\r>>The connection was closed successfully";
} else if(info.code == "NetConnection.Call.Failed"){
gotoAndStop(1);
txConnect.text += "\r>>The NetConnection.call method was not able to invoke the server-side method or command.";
txConnect.text += ("\r" + info.description);
} else if(info.code == "NetConnection.Connect.Failed"){
gotoAndStop(1);
txConnect.text += "\r>>The connection attempt failed.";
} else if(info.code == "NetConnection.Connect.InvalidApp"){
gotoAndStop(1);
txConnect.text += "\r>>The application name specified during the connection attempt was not found on the server.";
} else if(info.code == "NetConnection.Connect.Rejected"){
gotoAndStop(1);
txConnect.text += "\r>>The client does not have permission to connect to the application, or the application expected different parameters from those that were passed.";
} else if(info.code == "NetConnection.Connect.AppShutdown"){
gotoAndStop(1);
txConnect.text += "\r>>The application has been shut down (for example, if the application is out of memory resources and must shut down to prevent the server from crashing) or the server has shut down.";
} else if(info.code = "NetConnection.call.BadVersion"){
gotoAndStop(1);
txConnect.text += "\r>>The URI specified in the NetConnection.connect method did not specify \'rtmp\' as the protocol. \'rtmp\' must be specified when connecting to Flash Communication Server.";
}
}
stop();
var myListener = new Object();
myListener["onKeyDown"] = function (){
trace(Selection.getFocus());
if(Key.isDown(13) && Selection.getFocus() == "_level0.txSend"){
_root.doSend();
trace("bubu");
}
}
Key.addListener(myListener);



Actionscript file:

var sId = fid;
var nMoney = fmoney;
var sUser = fuser;
var sModel = fmodel;
var nFav = favorite;
var freetime = freetime;
var connection = connection;
var cpm = cpm;
ncConnection = new NetConnection();
ncConnection.connect((connection + sModel), sUser, nMoney);
ncConnection["onStatus"] = function (info){
if(info.code == "NetConnection.Connect.Success"){
txConnect.text = "Coonection established";
gotoAndStop(2);
} else if(info.code == "NetConnection.Connect.Closed"){
txConnect.text += "\r>>The connection was closed successfully";
} else if(info.code == "NetConnection.Call.Failed"){
gotoAndStop(1);
txConnect.text += "\r>>The NetConnection.call method was not able to invoke the server-side method or command.";
txConnect.text += ("\r" + info.description);
} else if(info.code == "NetConnection.Connect.Failed"){
gotoAndStop(1);
txConnect.text += "\r>>The connection attempt failed.";
} else if(info.code == "NetConnection.Connect.InvalidApp"){
gotoAndStop(1);
txConnect.text += "\r>>The application name specified during the connection attempt was not found on the server.";
} else if(info.code == "NetConnection.Connect.Rejected"){
gotoAndStop(1);
txConnect.text += "\r>>The client does not have permission to connect to the application, or the application expected different parameters from those that were passed.";
} else if(info.code == "NetConnection.Connect.AppShutdown"){
gotoAndStop(1);
txConnect.text += "\r>>The application has been shut down (for example, if the application is out of memory resources and must shut down to prevent the server from crashing) or the server has shut down.";
} else if(info.code = "NetConnection.call.BadVersion"){
gotoAndStop(1);
txConnect.text += "\r>>The URI specified in the NetConnection.connect method did not specify \'rtmp\' as the protocol. \'rtmp\' must be specified when connecting to Flash Communication Server.";
}
}
stop();
var myListener = new Object();
myListener["onKeyDown"] = function (){
trace(Selection.getFocus());
if(Key.isDown(13) && Selection.getFocus() == "_level0.txSend"){
_root.doSend();
trace("bubu");
}
}
Key.addListener(myListener);