Can I create custom LoginBox?

Everything about the SmartFoxBits UI Components for SmartFoxServer 2X. Post your questions, suggestions and bug reports.

Moderators: Bax, Lapo

Can I create custom LoginBox?

Postby astronaute » 01 Dec 2011, 18:19


Sorry if this is stupid question, I'm new to SFS and just trying to understand the concepts.

I see that lot of people use the "Bits" but can I develop my own version of the UI and not use your SWC ?

If yes, where to find basic documentation on how to for example, implement my own LoginBox ?

Posts: 1
Joined: 01 Dec 2011, 18:06

Postby rjgtav » 01 Dec 2011, 20:03


Yes you can use whatever you want :-)

You may want to check the SimpleChat example (yes it is from SFS1x, but you'll be able to see how easy it is to implement your own way), which uses just a simple TextField for the login. You can find it under [SFS Installation Folder]\Examples\AS2\02_simpleChat.

Basically, you just need an input Textfield and a movieclip/button. Then, when you press that button, you just call the loadConfig() method.

You can also check this example, which explains how to build a simple flash application that connects to the server.
Skills: SFS Pro/Basic, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS
SFS Tutorials: - I no longer update it nor visit it. Some examples may be bugged.
If I take too long to reply, feel free to PM me
User avatar
Posts: 2811
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Return to SmartFoxBits for SFS 2X

Who is online

Users browsing this forum: No registered users and 1 guest