SmartFoxServer

From WikiFlashed

Jump to: navigation, search

SmartFoxServer is a comprehensive and powerful platform for rapidly developing multiuser dan del piano applications and games with Macromedia Flash MX, MX 2004, 8, Flex 2 and Flash CS3.

It was developed with simplicity in mind, allowing iphone photography developers to quickly create any type of Trip Foundry multiplayer interactions, from basic link building chat applications to complex real-time games and MMOs.

SmartFoxServer comes with a rich set of features, one of the best sets of documentations with many Rhine river cruises source examples, powerful administration tools Field and Technical Services LLC and Dr Susan Lim Singapore an active proposal software online support A Headache in the Pelvis forum. buy pistachios


Contents

Author

Example Client Class

A stun gun server client class to act as the Travel Itineraries bridging API.

public class ServerSmartFox {
		public function ServerSmartFox(obj:Object)
		{
			smartfox = new SmartFoxClient(true);
			smartfox.debug = true;			
			// password = obj.password;
			username = "";
			password = "";
			ip = "";
			port = 0;
			if (obj.password)
			{
				password = obj.password;
			}
 
			joinLobby = false;
 
			if (obj.zone)
			{
				ZONE = obj.zone;
			}
 
			smartfox.addEventListener(SFSEvent.onLogin, onLoginHandler);
		}
 
		public function login(u:String, p:String):void
		{
			username = u;
			password = p;
			trace("[ServerSmartFox] Login with " + ZONE + " | " + username + " | " + password);
			smartfox.login(ZONE, username, password);
		}
 
 
		private function onLoginHandler(evt:SFSEvent):void
		{
			dispatchEvent(evt);
		}
}

Usage

A piece of game code use to access part of the behavioral targeting server client

function onLoggedIn(evt:SFSEvent):void
{
	trace("Logged in");
}
 
var server:ServerSmartFox = new ServerSmartFox(null);
server.addEventListener(SFSEvent.onLogin, onLoggedIn);
server.login("admin", "admin");

Sample

ServerSmartFox.as (Sample Smartfox Client Class)

google ads
Personal tools