PDA

View Full Version : Netconnect and IP Address


compsci
05-15-2008, 07:47 PM
Hello all,

I apologise if my question is nooby, but I am a noob when it comes to Flash. The question is "is the following possible?":

I want to make a snazzy flash player for my site users. I want them to download the SWF and keep it (they can put it in their site too). But for it to work, they need to connect to my IP, using netconnect:

// USES ACTIONSCRIPT 3.0 TO CONNECT TO FMS
var rtmpNow:String = "rtmp:/***.***.***.***/devapp2";
var nc:NetConnection = new NetConnection();

Do i need to put in my IP (of my server) like the above for it to work for the flash player?

Thanks all

bowljoman
05-17-2008, 10:01 PM
"rtmp://myip/my_app"

Correct.
Also handy for organization to add 'scope'
"rtmp://myip/my_app/Happy Place"

compsci
05-19-2008, 05:34 PM
Also handy for organization to add 'scope'
"rtmp://myip/my_app/Happy Place"
Thank you very much bowljoman. Can i ask, what you mean by 'scope'. I am a noob, sorry. :)

bowljoman
05-23-2008, 04:10 PM
scope is how you divide up your clients on the server.

I keep clients on different topics in different scopes.
I stream related videos in the same scope.
I separate chat rooms by scope.
Scope is akin to room.