Documentation Slip Up

You think you've found a bug? Please report it here.

Moderators: Lapo, Bax

Post Reply
Tubutas
Posts: 4
Joined: 27 Jul 2009, 01:28
Contact:

Documentation Slip Up

Post by Tubutas »

This appears both on the online version of the documentation and the one installed on my computer

http://www.smartfoxserver.com/docs/docP ... html#login

Code: Select all

smartFox.addEventListener(SFSEvent.onLogin, onLoginHandler)

smartFox.login("simpleChat", "jack")

function onLoginHandler(evt:SFSEvent):void
{
    if (evt.params.success)
        trace("Successfully logged in as " + evt.params.name)
    else
        trace("Zone login error; the following error occurred: " + evt.params.error)
}
Scene 1, Layer {Code},Frame 1, Line 2 1136: Incorrect number of arguments. Expected 3.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Hello,
thanks for spotting the problem.

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