[flexcoders] Re: clear the cache

2008-12-03 Thread oneworld95
I've used the random querystring solution as a workaround to the caching issue. It can be something as simple as this, var date:Date = new Date(); service.url = http://myserver.com/whatever?dt=; + date.toTimeString(); -Alex --- In flexcoders@yahoogroups.com, Guy Morton [EMAIL PROTECTED] wrote:

[flexcoders] Re: clear the cache

2007-10-30 Thread meteatamel
Couldn't you call creationComplete method yourself from the logoff method? -Mete --- In flexcoders@yahoogroups.com, Aditya Kumar [EMAIL PROTECTED] wrote: Hi, I want to clear the cache so that after I logoff from the Flex Application and then login back again without closing the browser, I

Re: [flexcoders] Re: clear the cache

2007-10-30 Thread Aditya Kumar
Since I have many forms I will have to call creationComplete for each of them when i login once again. To avoid this is there anyway to clear the cache so that Flex will call the creationComplete upon relogin. Couldn't you call creationComplete method yourself from the logoff method? -Mete

Re: [flexcoders] Re: clear the cache

2007-10-30 Thread Guido
You could try using another event, instead of creationComplete, like add or added. Or, you could, via AS, destroy your previous components and have new instances of them instead. It's a problem I've encountered before, when I want Flex to make new components every time and it would just keep