This content has been marked as final. Show 5 replies
Have you tried to to this.
<mx:Button id="logoutButton" click="navigateToURL(new URLRequest('index.html'),'_self')"/>
where index.html is the name of the html file
Thanks SWiit. While your suggestion does indeed work for me, it has the load of downloading the entire SWF again. In my case, owing to my own programming naivete, my SWF has gotten quite big and I am trying to shave off a second or two. Thanks again. I appreciate your response. Cheers
what is the size of swf file?
(if thats not a secret)
It is right now 1MB and it is expected to go to about 3-4MB.
Actually, the SWF file is cached on the users machine and is not downloaded in subsequent calls.
Try it, the difference is noticable.
This is the best way to refresh an app, unless you have built that functionality in from the beginning.