Page 1 of 1

Can I create custom LoginBox?

Posted: 01 Dec 2011, 18:19
by astronaute
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

Posted: 01 Dec 2011, 20:03
by rjgtav
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.