any help here would be greatly appreciated..thanks
Juan José Díaz wrote:
Hello Wise List , PROBLEM: when RAPIDLY clicking the BACK & FWD browser buttons to load different Views ( via SwfAddress ) 1 component fails to initialize properly. This is how my app works: its an app were the MAIN swf loads different swfs as components which are grouped together as a views, so it loads 1 view at a time. Then the swfAddress sets new parameters , based on that it loads a new view. that process goes like this: 1) set the new view 2) ask for differences between last view and new 3) set to load only new components , if i have one that i need i don remove 4) destroy and clean old components 5) call to load new ones 6) onload of the components handles init() and addChild(). up to here everything works fine, but.... when i stress-click with history buttons of my browser , then the component breaks , because im setting something to the components when its already changed or im using a procedure that may be conflictive. my questions: how can i implement this scenario in a best way? what are the best practices? im using pureMVC framework internally for the components, or maybe i need another extra pattern like state machine to handle this situation? or can i just tweak my current pattern? thanxs a lot!! :) Juan. _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders