[Beta] Local Flash Connection
[img:left]http://mmf.nijumi.de/extensions/LocalFlashConnection.jpg[/img] Here my next extension.
The Local-Flash-Extension can get and/or received messages from other "local" multiple SWFs [color:#666666](you can communicate with other swfs on the same domain)[/color].
[color:#666666]See the Example for more informations :)[/color]
[color:#3366FF]Example:[/color]
Start the Example
[color:#006600]Download:[/color]
Download the Local-Flash-Extension
[color:#CC0000]Please Donate for more Extensions:[/color]
Please Donate !!
The extension is global across the frames.
Re: [Beta] Local Flash Connection
Haha, that's pretty cool. I'm sure this'll be really nice for self-published games, thanks Pharanygitis. It's an idea I would never have thought up, and it's neat.
Re: [Beta] Local Flash Connection
Re: [Beta] Local Flash Connection
Pharanygitis, this is neat. I couldn't believe my eyes.
Marv
Re: [Beta] Local Flash Connection
Re: [Beta] Local Flash Connection
Wow this is really cool! Thanx Pharanygitis
Re: [Beta] Local Flash Connection
This is fantastic, thank you - will have a play with this later :)
Re: [Beta] Local Flash Connection
Awesome extension!
But is there a way to actually send text to all opened channels at once? For instance, if someone (ok, me), would want to create a simple, in-game chat window, would it be possible to send text to every other connected user without sending each one the same text separately? (and for that, I would need each user "channel" ID, which is problematic since there's no way to know how many users are connected, nor their "channel" ID)...
I'm willing to support development of this extension (donate) if a new version that allows sending text to all opened channels gets done. (If it can already do this, please let me know how, I'll donate anyway!) :)
Re: [Beta] Local Flash Connection
You can set the "channelname" on - Start local connection - in "connection name". See the example :)
Re: [Beta] Local Flash Connection
Quote:
Originally Posted by Pharanygitis
You can set the "channelname" on - Start local connection - in "connection name". See the example :)
Yes. That I know. But there can't be more than one "instance" of the application running on a single channel. I tested it yesterday, and even in your example, one has to select channel 1, and the other, channel 2. If both select the same channel, the first one can send messages, but the other can't. The application can't even get the domain name for the second user if on the same channel.
My goal would be to create a simple, in-app, little chat window that any user can go into and send messages to anyone else connected a that time. But for that, either all users need to be on the same channel, or we would need a way to send text to all openned channels at the same time, in a single command, without having to specify the name of each channel.
Either way would work, as I could send a bunch of information in a string (like username, message, and anything else that might be "application-related") and use a string tokenizer to separate all the data, and then use that data to post a message in the application.
This object is great, really, but while I'm not an expert in Flash or C++ (and thus don't know what can or can't be done), this object would be really AWESOME if sending text to all opened channels at once was possible (or having more than one person on the same channel so everyone also receives messages).
Is this something possible or is there a technical limitation somewhere that would prevent such a thing? I'm just curious, because like I said, if that was possible, that object would allow the creation of not only cool chat clients, but would also allow the creation on simple flash games that could support online multiplayer without having any kind of server or additionnal need for complex connection management. That would be the BEST OBJECT EVER for Flash development in my mind. :)