Copy link to clipboard
Copied
Hi all im runing FMS 4 on windows server 2008
so im trying to duplicate a function called
application.onAppStart = function (){
code goes here
}
into the main.asc
so i would like to know how to duplicated it, im new into flash and action script
Feel free to ask anything A big S.O.S i need to solve this
Copy link to clipboard
Copied
40 views and no reply
Copy link to clipboard
Copied
Hello,
1. You attached more tags to this post than the actual question.
2. Show us some basic code you are trying to duplicate.
Copy link to clipboard
Copied
Sorry for that, so here's the code:
application.onAppStart = function (){
nc = new NetConnection();
myStream = Stream.get("localstream");
nc.onStatus = function(info){
if(info.code == "NetConnection.Connect.Success" ){
myStream.play("remotestream", -1, -1, true, nc);
}
}
nc.connect("rtmp://remoteip:1935/remoteapp");
}
so i would like to use it more then once in the file main.asc
Ty
Copy link to clipboard
Copied
up up up
Copy link to clipboard
Copied
Ok i got it now it works so how can i parse PageUrl and SwfUrl??
Copy link to clipboard
Copied
None have an Answer
Copy link to clipboard
Copied
??