View Full Version : New experiment: LocalConnection
ahmed
June 28th, 2003, 06:42 PM
i made this very simple thing.. just thought i'd share it :)
http://24.141.60.208/lc.html
source files:
http://24.141.60.208/localConnectionsA.fla
http://24.141.60.208/localConnectionsB.fla
have fun!
ahmed =)
turkey
June 28th, 2003, 06:43 PM
wow
DariusMonsef
June 28th, 2003, 07:26 PM
Ahmed.
Very impressive! Would you mind explaining how you did it?
*Edit. Ok, I re-read and saw you included the source files, but for posterity and to bask in my own stupidity I will leave my above question.*
DariusMonsef
June 28th, 2003, 07:38 PM
could you have it write the information to a file, and have another window on another computer pull the info.. If you did that and allowed the info to go both ways you could have to people drawing and the other seing it, maybe have two colors.
[m]
June 28th, 2003, 07:47 PM
Downloaded it. ;) Always wondered how that LocalConnection thingy worked. Thanks!
eyeinfinitude
June 28th, 2003, 08:07 PM
That's impressive ahmed, good job. =)
morse
June 28th, 2003, 08:14 PM
cool!
nobody
June 28th, 2003, 09:05 PM
very nice you psycho genius you
SOAP
June 28th, 2003, 09:22 PM
psycho genius indeed!:crazy:
nobody
June 28th, 2003, 09:40 PM
SOAP - Nice footer, I really like it
sorry everyone.. just had to get that out.. back to ahmy-dahmy
asphaltcowboy
June 28th, 2003, 09:43 PM
wow, that's really cool ahmed! :thumb:
ahmed
June 28th, 2003, 10:00 PM
lol :beam:
yup, LocalConnections are pretty cool and useful :), i made that file just to test them. Basically, you define function in the reciever file, and call it from the sender file. The hardest part really was to get the javascript to pop-up two windows :-P (i used lost's ever-so-famous pop-up script)
a LocalConnection work on the same machine. To connect swfs over different machines togerther, you would use a NetConnection, and that requires FlashComm hosting and stuff, not as simple :)
Jubba
June 28th, 2003, 10:03 PM
ohhhhhhh ok, now I see. I have a pop-up killer. I had no idea what everyone was talking about! lol that is killer ahmed :P ;) :thumb:
ahmed
June 28th, 2003, 10:06 PM
LOL :beam: i hate pop-up killers..
Would anyone be interesting in a little tutorial about them? :)
λ
June 29th, 2003, 09:45 AM
Or, to connect other machines together you could use XMLSocket, but that requires advanced server-side java and other stuff...
thought this game might interest you >>iSketch<< (http://www.isketch.net)
mdipi
June 29th, 2003, 10:11 AM
Originally posted by ahmed
LOL :beam: i hate pop-up killers..
Would anyone be interesting in a little tutorial about them? :)
why? i love mine (same one as jubba) but it makes a little noise when it blocks one, so when it blocked one of yours i just turned it off. so it was easy.
but that was amazing! a tut you say? yeah! :A+: man
Voetsjoeba
June 29th, 2003, 01:13 PM
**** ahmed ! How do you keep doing that !? :P Great work man !! :thumb:
lostinbeta
June 29th, 2003, 01:28 PM
Excellent work man, I told ya you were a server-side flash genius!
I didn't download the files, but I can tell you right now I know how it was done, just never thought about doing it :)
Smart :thumb:
ahmed
June 29th, 2003, 01:30 PM
lol :beam:
Originally posted by njs12345
to connect other machines together you could use XMLSocket
thought this game might interest you >>iSketch<< (http://www.isketch.net)
yeah, actually i've been experimenting with socket servers too lately :)
iSketch's pretty cool :beam:
andr.in
June 29th, 2003, 02:10 PM
pretty cool! I'd love to see the tute man !
Millad
June 29th, 2003, 03:01 PM
nice work ahmed
salam :thumb:
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.