Can I create custom LoginBox?

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

Moderators: Lapo, Bax

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

Can I create custom LoginBox?

Postby astronaute » 01 Dec 2011, 18:19

Hello,

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 ?

TIA
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Postby rjgtav » 01 Dec 2011, 20:03

Hi.

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, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.

Return to “SmartFoxBits for SFS 2X”

Who is online

Users browsing this forum: No registered users and 1 guest