Topic: SharedObject functionality possibly doesn't work on the chumby classic
My new weather application will only be probing XML feeds for updated data every fifteen minutes. This is because some of the weather providers threaten to block IP addresses that make too many requests.
For this reason, I've decided to cache the downloaded XML weather data locally between sessions. Doing so remotely would cause more of a delay each time the application is reloaded on my chumby classic.
I don't care if the data is lost when the chumby loses power. For these reasons, the 'SharedObject' functionality looks to be the ideal solution. The following code works in Flash Player 8, but not on my chumby.
I've removed this code fragment to avoid any confusion. I fixed the two problems and reposted the correct code below.
When I run this in Flash Player 8, I only see "Updating online weather data ..." the first time or when the minutes are divisible by fifteen. I realise the last part of this isn't ideal, but it'll do for now.
When I run this code on my chumby classic, I always see "Updating online weather data ...". I know SharedObject is saving the data locally, as it exists in a subdirectory below "/tmp/pdata/" afterwards.
This means that it's the retrieval side of SharedObject that's failing on my chumby. BTW, I never see "Made it into soInitHandler" in Flash Player 8 nor on my chumby. The application was written in ActionScript v2.
Is there something else I need to be doing in order to get this code working on my chumby classic? If it's an internal chumby bug, how long will it take to fix? Is there another way that I can cache the data locally?