Forum ActionScript 3.0 [fixed]Function after successful connection not working?

Problems and discussions relating to ActionScript 3.0 here.

[fixed]Function after successful connection not working?

Postby igli1 » July 15th, 2013, 7:18 pm

Code: Select all
TheClient.multiplayer.createJoinRoom(
                  gameRoom,                        //Room id. If se
                  "Game",                     //The game type started on the server
                  true,                        //Should the room be visible in the lobby?
                  {},                           //Room data. Thi
                  {},                           //User join data
                  gameJoined,                     //Function e
                  handleerror                     //Function executed if we got a join error
               );
            }
            function gameJoined(connection:Connection):void{
                                // do sth
}

The function gameJoined is never called, even tho i join the room -.-
Last edited by igli1 on July 17th, 2013, 8:24 am, edited 1 time in total.
igli1
 
Posts: 38
Joined: June 29th, 2013, 1:12 pm

Re: Function after successful connection not working?

Postby Henrik » July 16th, 2013, 11:19 pm

Is the error handler called?

What happens if you trace the room-id, or try to send message to the room?
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm


Return to ActionScript 3.0



cron