Groups | Blog | Home
all groups > macromedia flash flashcom > november 2005 >

macromedia flash flashcom : Flash com server : local connection


martin_godart
11/28/2005 12:41:33 PM
Hi all

Sorry for my english , i am french but i can explain my problem.

I have instal the flash com server and i try (that is the problem) to create a
share application betewen two computer. I have already find how to make It with
a netconnection but I try with a local one. And I try a lot of ways but It
doesn't work.
So if somebody can help because I can't find an exemple on internet.

thancks


dejayfx
11/28/2005 3:09:12 PM
martin_godart
11/28/2005 3:17:07 PM
Thanck for your reply.

in fact I already use a local connection but its for the adress i have a
problem.
i try diferrent adress like rtmp://localhost/myappl/game
or rtmp://myServerName/myAppl/game
etc

but it never found my file.


dejayfx
11/28/2005 3:25:31 PM
ok, here's the macromedia page on local connections:
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_16243

maybe ineed glasses but i dont see anything regarding rtmp over there, for
starters :)

are you sure you're not talking about netConnection?

dejayfx
11/28/2005 3:28:23 PM
oh wait, you are talking about net connections.

the only problem then might be that you have a firewall blocking requests from
your outside ip address, or a router not forwarding 1935, or maybe the least
possible one, fms not configured to listen to the routable ip.
martin_godart
11/28/2005 3:38:14 PM
Thanck again for your quick reply

I will explain since the begining and i hope you forgive me for my english.

So i developpe a game in director, and i use a flash swf files as a box to
communicate betwen two computer ( we can just play alone or with two people).

I have already make a box who work when my server is on the web.
But when i want to put in a local connection i replace netConnection by
localConnection. It doesn't work because I thinck the main problem it is the
path of the file. I thinck the appl can't find the server.

I try many path like i explain before but i don't know if it' s the real
problem

thanck again to reply me i am very gratefull
dejayfx
11/28/2005 3:43:36 PM
ok. its still a netConnection, only connecting to a local ip, not a local
connection.

from the link above you can see that a localConnection can only be used to
connect various swf's/instances running on the _same_ pc.

so, to sum up. keep using netConnection, just change the rtmp from
rtmp://public_address/path/ to rtmp://local_address/path/


regards

ps: if that still doesnt help try posting the code you use to connect here, so
we can make direct sugestions.
martin_godart
11/28/2005 3:51:13 PM
thanck for the advice

I haven't the code with me now, because i am in my school.
but as soon as i can i put it

thanck again
martin_godart
11/30/2005 1:21:15 PM
Hi dejayfx

I resolve my problem. I change the adress name by my IP adress
and i shut down my window's fire wall like you advice.
And It works.

So for this Help, I'm very gratefull

I have another problem now ( bloody french) =)

I want to share my variable or global but i don't find how to do this.

So If you have time and if you know a path, thanks to answers.
but I repeat im very happy that you help me.
AddThis Social Bookmark Button