How set animate "false" in loginScreen.close?

In the documentation say:

loginScreen.close(animate) Close login screen.
Where animate - boolean (by default true) - defines whether it should be closed with animation,

then i use:

app.loginScreen.close(animate:false, "my_login_screen");

but it not work


Try this if you are using V2:

app.loginScreen.close("my_login_screen", false);

Thanks!!, it work!! thanks for share