Curious - net play

Sorry, but I’m blanking on the words. Is it possible for like, two people on different computers to join in 1 swf file over the internet. Like a chat room? Or an online game? Thanks.