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
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.
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.
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
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.
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
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.
Don't see what you're looking for? Try a search.
|