when creating anything with flash i started to try and click buttons as fast as i could to see if i could break it. this lead me to some underlining issues.
I found some small problems with the way i constructed my project. I used actionScript to connect to php the back again. This gathered the number the messages and created the movieClips to hold the data. These movieClips was then used as a source point for the scroller. The scroller works by targeting an instance name and inserting it within its body to be scrolled by the user. These was essential in flash for making lists with an unknown length.
The problem i had was that when a user, clicked on the “Messages Tab” it would run this whole process. Then if the user pressed another tab to quickly the movieClips would be added to the stage bet the scoller would no longer be there to target the source. This meant that the movieClips was stuck onscreen. I thought of a solution to solve this problem. I created a “timer” so when a user clicked the button the EventListeners was removed then a timer would start, then when finished would add the listeners back on screen. This worked for me now but i would have concern if this would grow to have thousands of users. Because the time could take longer, this is what i would like to overlook or set limitations to friends and messages to allow a better loading time.
I feel that i need to research the understanding of the loading function better and apply it throught out me application.