views:

18

answers:

1

When retrieving external variables from the server URLVariables my Flash get stuck on first compilation values. Whenever I update server values flash compiles the first old values. Only after i restart CS4 IDE values are updated. Is there an internal cache?

There is nothing wrong with my code, because it works fine on my mac, but not on pc.

+2  A: 

This is purely a guess, but I suspect that Flash is making the request through the OS, and the results are being cached somewhere else. Either way, one common way of working around problems like this is to append a meaningless variable to your request - like loading data from server.com/script.php?random=209327, where the number is of course randomized. This way the URL of each request doesn't match any of the previous requests, and you don't get a cached result.

fenomas
I love this random variable idea.
dd