Hi all.
Can anyone tell me if there is a way to fully reset a flex application programmatically? My problem is this. I'm using states to manage my apps logging in/out But, when a user logs out, then back in again all of the components have already been initialized during the first log in, so not all creationComplete Events are being triggered on the users second visit (without leaving the browser and closing the application) What i want to know is this. Is there a way to clear all the objects that are not displayed when on the LOGGEDOFF State Or can I trigger the application to reset itself (like play for a flash swf) so that everything is cleared properly? I only noticed this problem just. After using a PopUpButton and setting the .popUp=foo property to a menu I create on the creationComplete event of the PopUpButton. It's all working ok, until the users logs off (and the state is set to LOGGEDOFF) then logs back in again. I need to be able to reinitialize all components to their 'first run' values then the user logs back in. Any ideas? Hope I'm making sense here. Glenn Williams <tinylion:dev/> 10 Print "glenn " 20 Goto 10 30 Rem " was that really 1982? it seems like only yesterday " http://twitter.com/tinylion
<<image001.jpg>>
Glenn Williams.vcf
Description: Binary data