Search found 9 matches
- Fri May 09, 2014 7:23 pm
- Forum: General Development
- Topic: Please help getting node.js working with AS3
- Replies: -1
- Views: 4175
Re: Please help getting node.js working with AS3
Glad you have gotten it sorted-out! You could try taking a look at MongoDB, which is a really simple database system and works great with Node.js. Although I would understand after all this if you wanted something you were familiar with :) Too right lol though i will take a look at MongoDB, i have ...
- Fri May 09, 2014 10:31 am
- Forum: General Development
- Topic: Please help getting node.js working with AS3
- Replies: -1
- Views: 4175
Re: Please help getting node.js working with AS3
First of all thank you so much for the help. I've finally got it working using a solution found on this page http://stackoverflow.com/questions/16363419/how-to-get-binary-string-from-arraybuffer I've still go no idea why the other ways didn't work but i can now read the array/strings and work from t...
- Thu May 08, 2014 11:38 pm
- Forum: General Development
- Topic: Please help getting node.js working with AS3
- Replies: -1
- Views: 4175
Re: Please help getting node.js working with AS3
The buftoJSON ended up sending this back (only included part of it as its so long, about 5 pages worth) 35,"5786":32,"5787":87,"5788":104,"5789":97,"5790":116,"5791":58,"5792":32,"5793 ":77,"5794":97,"5795...
- Thu May 08, 2014 9:13 pm
- Forum: General Development
- Topic: Please help getting node.js working with AS3
- Replies: -1
- Views: 4175
Re: Please help getting node.js working with AS3
Silly really because that line works in cs5. var msg = ["onNew", "bas"]; var jsonData = com.adobe.serialization.json.JSON.encode(msg); trace (jsonData); socket.send(jsonData); On the app.js i have tried loads of different things, all found on google tbh. I have some code below, m...
- Wed May 07, 2014 10:14 am
- Forum: General Development
- Topic: Please help getting node.js working with AS3
- Replies: -1
- Views: 4175
Re: Please help getting node.js working with AS3
Yes, told you i was new to this lol, didn't have a clue and in my defense i only started learning node.js/js late last week. Flash was easy to pick up, javascript and node.js not quite as easy. As it happens once i've got that done i've found a way to call functions from a string in js using the win...
- Tue May 06, 2014 10:20 pm
- Forum: General Development
- Topic: Please help getting node.js working with AS3
- Replies: -1
- Views: 4175
Re: Please help getting node.js working with AS3
@Halls, sorry, my mistake, i totally misunderstood the clientname concept. I thought it was the connection name. I sort of thought of it as me connecting under the name bas, changing it while on and the connection name changing. Still not explaining it well, sort of like joining on port 80, changing...
- Tue May 06, 2014 7:38 pm
- Forum: General Development
- Topic: Please help getting node.js working with AS3
- Replies: -1
- Views: 4175
Re: Please help getting node.js working with AS3
Thanks Halls, it could be the ID. I tried using the same method as the tutorial on here but when i used gameName i kept getting errors saying it wasn't defined. I've kind of decided to try and get it working now by sending an array. The array will contain all the things i need to send plus a string ...
- Tue May 06, 2014 6:51 pm
- Forum: General Development
- Topic: Please help getting node.js working with AS3
- Replies: -1
- Views: 4175
Re: Please help getting node.js working with AS3
Thanks for the reply Jackolantern. I've been through those links, must admit the dispatcher one went so far above my head i couldn't even see it lol. I have used JSON before for one of my games so i can use that and the link you sent to communicate with flex, i'd already used that before. It kind of...
- Tue May 06, 2014 5:53 pm
- Forum: General Development
- Topic: Please help getting node.js working with AS3
- Replies: -1
- Views: 4175
Please help getting node.js working with AS3
Hi, i've been testing various ways to get node.js working with AS3 but i'm hitting some serious problems (probably syntax related) in getting them to communicate with each other. Bypassed a few minor problems such as the cross domain thing by just adding my swf/html file directly to my global settin...