Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fork with several improvements #3

Open
chatziko opened this issue Jan 21, 2016 · 10 comments
Open

fork with several improvements #3

chatziko opened this issue Jan 21, 2016 · 10 comments

Comments

@chatziko
Copy link

Just wanted to let you know that I've been working on several improvements over your FlashSocket.IO version (thanks a lot for the great work!), which I made available in my fork. I didn't send a PR cause it's a lot of stuff and not easily separatable, but of course feel free to pull anything.

@redannick
Copy link
Owner

Hi @chatziko nice work!

I've not had reason to use socket.io with flash for a good long while now, hence why my fork is so out of date. Great to see you giving it some attention. I'll probably go with your fork next time I need to. Thank you for letting me know about it :)

The only thing I would mention, after a very quick glance, is that I had FlashSocket implement IEventDispatcher rather than extending it so that I could (optionally) use the shared EventDispatcher here with Robotlegs and so hook up commands directly from events coming through the socket.

@dogslife
Copy link

Hi @chatziko.. looks like a great contribution... If only I could get it to work. I know that I'm less than an average coder with little experience with Flash AS3 but I'd really like to get this working. I keep getting
1120: Access of undefined property JSON -- str += JSON.stringify(obj.data);
I appreciate that the fault is almost certainly mine but I'd really appreciate help if you have the time.
I'll happily write a dummys guide for idots like myself once I have it working
Thanks in advance

@redannick
Copy link
Owner

Hi @dogslife are you running this in flash player 10 by any chance? (before the JSON API was available). You should probably make a new issue for this btw, so that its' easy for others with the same issue to find the conversation.

@dogslife
Copy link

Hi @redannick - Thanks for the reply.
is this the part where I start blushing with embaressement when I say Yes, I am using FlashPlayer 10 or 10.2...
I've raised an issue as requested. I've been at this for 5 days now and have little hair left.... So what are my options?

@mikecann
Copy link

@chatziko @redannick Hey guys, could you provide a super simple gist of how this should look on the backend with node and frontend so I can get going. Just getting random IO errors at the moment.

P.S. Big robotlegs fan too :)

@redannick
Copy link
Owner

Hi Mike, long time no see! I'm not really up and running with this stuff at the moment and haven't tried @chatziko 's fork yet. Presumably the setup on the server side is the same as the example code from http://socket.io though. If I get a minute I'll try to put together a working sample project.

@mikecann
Copy link

Hi @redannick :) Ye I would love a working example. I have run through the Socket.IO getting started but cant seem to get it to connect, so would love a simple example either with @chatziko's for or yours, anything that will work with AIR & Flash Web :)

@chatziko
Copy link
Author

I just added a simple client and server in my fork.
Instructions are here.

@mikecann
Copy link

Awesome! Thanks ill be sure to check this out next week!

Mike

On 21 February 2016 at 05:00, Kostas Chatzikokolakis <
[email protected]> wrote:

I just added a simple client and server in my fork.
Instructions are here
https://github.com/chatziko/FlashSocket.IO#sample-client-and-server.


Reply to this email directly or view it on GitHub
#3 (comment)
.

Mike Cann
http://www.mikecann.co.uk/
@MikeySee http://www.twitter.com/mikeysee

@dogslife
Copy link

@chatziko.. Fantastic. Really appreciate this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants