Results 1 to 8 of 8
Thread: No reaction of devolper
- 02-11-2013, 11:08 PM #1
Member
- Join Date
- Feb 2013
- Posts
- 3
- Rep Power
- 0
No reaction of devolper
So i payd a Java scriptor to make a chat and now i cant get any answer of him.
Can someone explain wat this script does ??
Java Code://class ChatSocket package { import flash.display.*; import flash.events.*; import flash.external.*; import flash.net.*; import flash.utils.*; public class ChatSocket extends flash.display.Sprite { public function ChatSocket() { super(); flash.external.ExternalInterface.marshallExceptions = true; this.socket = new flash.net.XMLSocket(); this.socket.addEventListener(flash.events.Event.CONNECT, this.onConnect); this.socket.addEventListener(flash.events.Event.CLOSE, this.onClose); this.socket.addEventListener(flash.events.IOErrorEvent.IO_ERROR, this.onError); this.socket.addEventListener(flash.events.SecurityErrorEvent.SECURITY_ERROR, this.onSecurityError); this.socket.addEventListener(flash.events.DataEvent.DATA, this.onData); flash.external.ExternalInterface.addCallback("connect", this.connect); flash.external.ExternalInterface.addCallback("disconnect", this.close); flash.external.ExternalInterface.addCallback("send", this.sendCommand); flash.external.ExternalInterface.call("setTimeout", "Chat.init()", 0); return; } public function connect(arg1:String, arg2:int, arg3:int=20000):void { this.socket.timeout = arg3; this.socket.connect(arg1, arg2); return; } public function close():void { if (this.socket.connected) { this.socket.close(); } return; } public function sendCommand(arg1:String):void { if (this.socket.connected) { this.socket.send(arg1); } return; } private function onConnect(arg1:flash.events.Event):void { flash.external.ExternalInterface.call("setTimeout", "Chat.onConnect()", 0); return; } private function onError(arg1:flash.events.IOErrorEvent):void { flash.external.ExternalInterface.call("setTimeout", "Chat.onSocketError(\'" + arg1.text + "\')", 0); return; } private function onSecurityError(arg1:flash.events.SecurityErrorEvent):void { flash.external.ExternalInterface.call("setTimeout", "Chat.onSecurityError(\'" + arg1.text + "\')", 0); return; } private function onClose(arg1:flash.events.Event):void { flash.external.ExternalInterface.call("setTimeout", "Chat.onSocketClose()", 0); return; } private function onData(arg1:flash.events.DataEvent):void { var loc1:*=new flash.utils.ByteArray(); loc1.writeUTFBytes(arg1.data); var loc2:*=Base64.encode(loc1); flash.external.ExternalInterface.call("setTimeout", "Chat.onSocketData(\'" + loc2 + "\')", 0); return; } private var socket:flash.net.XMLSocket; } }
-
Re: No reaction of devolper
- What language is it because it is certainly not Java? Is it Javascript? If so, you'll want to Google for a Javascript forum to ask this question.
- I sure hope that you didn't pay him much.
- 02-11-2013, 11:54 PM #3
Member
- Join Date
- Feb 2013
- Posts
- 3
- Rep Power
- 0
Re: No reaction of devolper
I thought it was java LOL
and yes it has cost me a lot
- 02-12-2013, 12:23 AM #4
Senior Member
- Join Date
- Oct 2011
- Location
- Sweden
- Posts
- 123
- Rep Power
- 0
Re: No reaction of devolper
That is ActionScript. Google and find a nice forum as Fubarable said!
- 02-12-2013, 01:07 AM #5
Member
- Join Date
- Feb 2013
- Posts
- 3
- Rep Power
- 0
- 02-12-2013, 03:21 AM #6
Re: No reaction of devolper
Moved from New to Java
dbWhy do they call it rush hour when nothing moves? - Robin Williams
-
Re: No reaction of devolper
- 02-12-2013, 06:26 AM #8
Member
- Join Date
- Jun 2012
- Location
- Remscheid, Germany
- Posts
- 57
- Rep Power
- 0
Similar Threads
-
Help needed on reaction time programm
By young2link in forum New To JavaReplies: 6Last Post: 10-15-2012, 02:22 AM -
My Java games! MasterMind, Othello/Reversi, Reaction Timer & Random Number Game
By cawthorne in forum Reviews / AdvertisingReplies: 1Last Post: 01-15-2012, 02:50 PM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks