Room and extensions

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
eyal
Posts: 35
Joined: 29 Nov 2009, 11:18

Room and extensions

Post by eyal »

Hi,
I wonder how a room knows which extesion conducts the activities within it.
For example:
How the following code(mazeGame)

Code: Select all

		<Zone name="mazeGame">
			<Rooms>
				<Room name="The Entrance" maxUsers="50" isPrivate="false" isTemp="false" autoJoin="true" />
			</Rooms>
		</Zone>
"Knows" to load the mazeGame.as as an extension that manage the activities with in the room.
Thanks,
Eyal.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

It doesn't :D
Really. In the case of the specific example you have mentioned it is the client that specifies which extension should be attached to the Game Rooms.
Take a look at the client side code and you will notice that the extension details are passed to the create room request.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply