Be the first to write a review
No-database Flash-PHP chat. Part III: Security and Usability features (continued)
In this tutorial we will implement the Logout functionality for the Flash-PHP chat application we have being working on in the two previous articles of the series: Creating Basic Chat Functionality and Security and Usability features.
Before implementing the actual Logout procedure we will quickly cover another important topic: maintaining the visible List of Users, the interface element allowing each user to see the list of all the chat participants. For this purpose we will utilise the Flash MX 2004 … List Component which will be refreshed every time someone logs-in or logs-out.
As most of functionality required for this feature is already in place (we built it in the previous article while working on the on the Log-in procedure), it would only be wise to implement it now as the feature will require only minor code modification in order to work for the Logout method.
Select the Interface layer, then simply drag and drop the List Component from Components Panel to the stage, place it where you think it makes sense, label it and resize to your liking. Name the instance Users_lst.
Alex July
Alex July is a Vancouver-based (Canada, British Columbia) Web Developer/ Graphic Artist who has an extensive experience in both creative realms.
He is also a host of Linecraft.com where he is showcasing his skills and sharing experience with the developers community. For the past 3 years Alex has been focusing on the development of Rich Internet Applications using Macromedia Flash technology.
When away from the computer Alex is practicing Martial Arts, playing guitar and enjoying time with his wonderful family.